iOS Tutorial iUI8 library

Discussion in 'iOS Tutorials' started by Erel, Feb 1, 2016.

  1. Erel

    Erel Administrator Staff Member Licensed User

    (this library is part of B4i v2.50)
    The iUI8 library includes several UI features that are only supported by iOS 8+.
    The following line should be added when using this library:
    Code:
    #MinVersion: 8.0
    Currently (Feb 2016), 93% of the devices run iOS 8+.

    The controls in this library are implemented as custom views. This means that they should be added with the visual designer. Custom views are made of a base panel and the actual custom view. You can get this panel with the BaseView property.

    The following views are included:

    - WKWebView - An improved implementation of WebView with better performance. The API is similar to WebView (with more functionality).
    - VisualEffectView - A simple view that creates a blur effect:

    [​IMG]

    - TableView - TableView from iTableView2 library has moved to this library. It is now implemented as a custom view. This library replaces iTableView2 library.

    - NavControlExtra - Collection of properties that allow hiding the navigation controller bars with a swipe, a tap, landscape or when the keyboard appears.
     
    luke2012, MikeH, Ohanian and 4 others like this.
  2. Alberto Iglesias

    Alberto Iglesias Well-Known Member Licensed User

    Erel, Can you post some example of VisualEffectView?

    Thanks
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    An example is attached.

    @mcGeorge please start a new thread for this in the questions forum.
     

    Attached Files:

    Alberto Iglesias likes this.
  4. tufanv

    tufanv Well-Known Member Licensed User

    Altough the library is moved to this library , when i try to add tableview to my project i get class not found error. What i did is i enabled this libraryu. From designer added customview of tableview. and used below code:

    Code:
    Dim ColoredTitle As AttributedString
          
            TableView1.AddSingleLine(
    "Amerikan Doları")
            
    Dim tc As TableCell = TableView1.AddSingleLine(""'the second line will be soon added
            tc.Bitmap = imgusa
            ColoredTitle.Initialize(usd,
    Font.CreateNew(15), Colors.RGB(66,122,68))
            tc.text = ColoredTitle
    what am i oding wrong here ? Do i also need to add the class again i could not understand.

    edit: Interesting thing is i enabled the old tableview2 library and disabled again and it sarted working ?
     
    Last edited: Mar 10, 2016
  5. Erel

    Erel Administrator Staff Member Licensed User

    Have you added #MinVersion: 8.0 ?
     
  6. tufanv

    tufanv Well-Known Member Licensed User

    Yes.
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    Is it working now?
     
  8. tufanv

    tufanv Well-Known Member Licensed User

    I had added the line before posting the error here so i think that is not the solution. As I said , I enabled the old itableview2 and tried to build it. It gave me a very long error. So i disabled again and tried to build again and it started working .
     
Loading...