Other B4i v3.00 BETA has been released

Discussion in 'iOS Questions' started by Erel, Oct 9, 2016.

  1. Erel

    Erel Administrator Staff Member Licensed User

    B4i v3.00 BETA is now available for download.

    This update includes many IDE improvements as well as other improvements related to iOS 10 and Xcode 8.

    • The docking and layout features are based on a new and improved framework. Floating code editors behave as regular windows.
    • Documentation tool tips while hovering over code elements:

      test.gif

    • Copy links in the tool tips that allow copying code examples.
    • Support for bookmarks:

      [​IMG]

    • New themes.
    • Builder support for Mac Sierra (fix for keychain dialogs).
    • URLs in comments and strings are ctrl-clickable.
    • Unused libraries warning.
    • Custom views support "nullable colors". The default value of such fields looks like:

      [​IMG]

    • #Entitlement attribute. Adds a declaration to the entitlement file. This is a new requirement. For example if your app supports push notifications then you need to add this line (assuming that you are using the distribution key, which you should):
      Code:
      #Entitlement: <key>aps-environment</key><string>production</string>
      Push notifications will not work on iOS 10 without this declaration.
    • #AdditionalLib - Similar to B4A #AdditionalJar attribute. Adds a reference to an external library. Note that third party libraries should be in the builder Libs folder.
    • iAdMob - Support for mediation and rewarded video ads.
      Mediation: https://www.b4x.com/android/forum/threads/admob-ads-mediation-with-inmobi.71837/
      Rewarded video ads: https://www.b4x.com/android/forum/threads/admob-rewarded-video-ads.71839/

    • Bug fixes and other minor improvements
    Developers who are eligible for a free upgrade will receive an email with upgrade instructions.
     
    Last edited: Oct 16, 2016
  2. narek adonts

    narek adonts Well-Known Member Licensed User

    For me the most important addon was AdditionLib. How it will work with the hosted builder?
     
  3. Erel

    Erel Administrator Staff Member Licensed User

    Many of the frameworks are already available on the hosted builders. If you are missing any framework then make a post or send an email to support@basic4ppc.com.
     
  4. narek adonts

    narek adonts Well-Known Member Licensed User

    I mean if for exemple I want to add a 3rd party lib and use it with inline OBJC how can I achieve this. cAn I put the lib in Files/Special folder and it will be uploaded to the builder with the rest of files?
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    No. If you are using a local Mac then you need to copy it to the Mac Libs folder. If you are using the hosted builder then send us an email with the zip file or a link to the framework and we will upload it.
     
    ilan likes this.
  6. ilan

    ilan Expert Licensed User

    Can the 3rd party lib be written in oblective c or swift and i can use them in my project?
     
  7. Haris Hafeez

    Haris Hafeez Active Member Licensed User

    I think that is one of the wishes on the B4i 'wish list' but I have now come to think that there isn't that much of a benefit in going with Swift as Obj C is good enough and one can be quite productive in it in a reasonably short period of time.
     
  8. Erel

    Erel Administrator Staff Member Licensed User

    You need to create a wrapper in order to directly access a library. However you can use NativeObject or inline OBJC to access unwrapped objective C libraries.
     
  9. ilan

    ilan Expert Licensed User

    how? if i put the library to the library folder it will not show up in the library list, correct?
    how can i include a 3rd party objective c library in my project and use OBJC inline code to use that library?

    thanks, ilan
     
  10. Computersmith64

    Computersmith64 Well-Known Member Licensed User

    As someone who started developing iOS apps in Objective-C & now using Swift (3.0) - in both cases "teaching myself" - I think Swift is much quicker & easier to develop in. Swift is definitely less complex syntactically than Obj-C & the way it handles things like initialization, strings & type casting is much easier to deal with.

    I've written 4 iOS apps in Obj-C, 2 in Swift (2.0) & am currently developing my latest app in Swift 3.0. Except for updates to existing Obj-C apps, I won't be using Obj-C again.

    Of course, if you're developing iOS apps with B4i, the above comments are probably not relevant - unless you want to write wrappers for unsupported iOS frameworks.

    - Colin.
     
  11. Erel

    Erel Administrator Staff Member Licensed User

    Yes.

    Please start a new thread for this question (check this B4A tutorial: https://www.b4x.com/android/forum/threads/40904/#content).
     
  12. Erel

    Erel Administrator Staff Member Licensed User

    I've uploaded a new version of the builder (v3.01). It is in the same link as before.
    It should solve the issue with Mac Sierra where some builds require a manual approval.

    Please try it if you are using a local builder.
     
  13. MikeH

    MikeH Well-Known Member Licensed User

    I downloaded using the same link but got v3.00
     
  14. Erel

    Erel Administrator Staff Member Licensed User

    Are you checking the version printed in the builder output?

    The IDE version is still 3.00.
     
    MikeH likes this.
  15. MikeH

    MikeH Well-Known Member Licensed User

    My mistake sorry, (blame the excitement). It is working properly now, no requester.
     
    Erel likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice