iOS Question Building Swift B4i Libraries

Discussion in 'iOS Questions' started by sgt, Mar 26, 2019.

Tags:
  1. sgt

    sgt Member Licensed User

    Hi Erel

    I am wanting to integrate Googles ML Kit into an application on both Android and iOS. I have managed to do this on Android using Eclipse to build the wrapper library and integrate it into B4A application that works as excepted. I am now trying to do the same thing for B4i application using Xcode to build a wrapper library around Googles ML Kit. I have managed to install all google dependencies and build a swift wrapper library, but I have a few questions.
    1. If I am using the hosted mac build service how do I include any new libraries that I have built?
    2. If I should really be using the local mac builder how to I get it / upgrade to it from the hosted service?
    3. How does B4i supports swift libraries directly.
    4. I have been going through the forum and YouTube videos, but is there any tutorials for integrating swift or native iOS libraries or building custom libraries with events etc. Much like the Android ones using Eclipse.

    Thanks
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    This is a community forum, you shouldn't limit your questions to a single member.

    Creating B4i libraries: [Objective C] Writing libraries for B4i
    You can read more about Swift libraries: Swift libraries

    I recommend to avoid using Swift frameworks if possible. In this case the framework is an Objective C framework so there is no reason to create a Swift wrapper.
     
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