iOS plugins

  1. ‹ Older
  2. last week

    Dave S

    Sep 11 San Diego, California USA

    does "Xojo for iOS" support the equivalent of "IMPORT"?

  3. Norman P

    Sep 11 Pre-Release Testers, Xojo Pro great-white-software.com/blog

    Xojo does not support "import" on any type of project :(

  4. Kevin G

    Sep 11 Pre-Release Testers, Xojo Pro Gatesheed, England

    @Norman P now ? quite possibly I suppose
    at the time iOS was introduced a lot of this wasnt possible and thats where Xojo's iOS support has remained

    they'd need someone on the team to comment about making any forward progress on iOS
    I just dont expect they have it in the schedule at this time but might when API 2.0 work is being done

    Imagine what Xojo could do if the weren't spending their time on white elephants such as the API 2.0 renaming nonsense
    (-:

  5. Dave S

    Sep 11 San Diego, California USA

    @Norman P Xojo does not support "import" on any type of project :(

    then that might make it difficult to "import" 3rd party frameworks I would guess.

    And my opinion... there is a LOT more that should be done to "Xojo for iOS" before they get to something like frameworks

  6. Norman P

    Sep 11 Pre-Release Testers, Xojo Pro great-white-software.com/blog

    I will say what as I worked on Xojo's iOS project I learned a lot and it quite possibly needs a significant rethink as there are some aspects that I would say need to be redone
    maybe that happens when they revisit iOS for API 2.0
    I dont know

  7. Michel B

    Sep 11 Pre-Release Testers, Xojo Pro RubberViews.com

    I do hope Xojo realises that they need to provide more than a basic no frills framework, and let users contend with haphazard declares.

  8. Ivan T

    Sep 11 Pre-Release Testers
    Edited last week

    @Michel B What about that never realised promise of Xojo coded plugins ?

    To tell you the truth, I was amazed at the number and quality of libraries for B4A and B4i. Perhaps the fact that they are based on Java explains it.

    Fact is, I cannot seriously rely on a bunch of half baked volunteer declares to develop professional apps. Either I had to spend an inordinate amount of time painstakingly developing myself all the declares I needed, or I turned to a richer environment.

    Xojo has a formidable asset with MBS, Einhugur, GraffitiSuite and others. That is for a professional almost as important as the language itself. Almost all my apps could not have been created without MBS plugins. They are maintained and Christian's support is outstanding. This kind of asset was sorely missed for iOS.

    I do hope that the upcoming Android will permit plugins, so users won't have to suffer through breakable declares.

    There is a confusion in this thread about pligins, most of them in B4, are not system libs. Are classes that are compiled alogside the app. In android are writen in java, but for ios are in objective C. More than that, there are also those created in pure B4X, compatible with android and ios with a sigle source code.

    Onother thing is that you can use frameworks and code found in github, either creating a simple wraper or with inline C/Java

    Does Xojo support inline C/Swift for ios?

  9. Dave S

    Sep 11 San Diego, California USA
    Does Xojo support inline C/Swift for ios?

    no

  10. Michel B

    Sep 11 Pre-Release Testers, Xojo Pro RubberViews.com
    Edited last week

    I am far from being as competent as Xojo engineers, so please forgive my naiveté, but I read that Objective-C iOS programs can call into dylibs. Why would Xojo programs not be able to do so ?

    PS:@Ivan T - I am not confusing anything with BAi here.

  11. Christian S

    Sep 11 Pre-Release Testers, Xojo Pro, XDC Speakers, Third Party Store Germany

    a few notes:

    • dylibs or frameworks can be used since iOS 8.
    • dlopen/dlsym exists
    • Xojo Inc. did never port the existing plugin interface from desktop to iOS
    • We got a plugin SDK for FileMaker and have a plugin there for years now.

    I can't do anything for iOS via C compilers unless we have a workable way and the best hope currently is the Xojo llvm library stuff (aka plugin in Xojo), which may enable to embed a static library within the library.

    Imaging what we could have for iOS if just half of MBS Plugins would have been ported for iOS!

  12. Norman P

    Sep 11 Pre-Release Testers, Xojo Pro great-white-software.com/blog

    @Ivan T Does Xojo support inline C/Swift for ios?

    no "inline" anything anywhere

  13. Norman P

    Sep 11 Pre-Release Testers, Xojo Pro great-white-software.com/blog

    @ChristianSchmitz * dlopen/dlsym exists

    apple may reject apps that use this
    https://forums.developer.apple.com/thread/96246

    at the time Xojo's iOS support came to be dlopen etc were forbidden
    that meant no plugins would work
    that may have changed over the years

  14. Christian S

    Sep 11 Pre-Release Testers, Xojo Pro, XDC Speakers, Third Party Store Germany

    As of today, the MBS FileMaker Plugin is shipping in an iOS version.
    It is used inside apps who passed to through App Store review.
    And it includes dlsym/dlopen to load dylibs.

    As of today, I would be happy to see a new revision of the iOS framework including the plugin interface to load plugins at runtime.
    Yes, it may be needed to make them frameworks technically and load them via CFBundle APIs.

  15. Norman P

    Sep 11 Pre-Release Testers, Xojo Pro great-white-software.com/blog

    that would be a welcome addition for iOS

  16. Michel B

    Sep 12 Pre-Release Testers, Xojo Pro RubberViews.com

    @ChristianSchmitz As of today, I would be happy to see a new revision of the iOS framework including the plugin interface to load plugins at runtime.
    Yes, it may be needed to make them frameworks technically and load them via CFBundle APIs.

    I believe that without the help of a collection of plugins, API 2 or not, Xojo iOS will remain too limited for most business applications.

  17. 6 days ago

    Douglas H

    Sep 13 Pre-Release Testers, Xojo Pro

    Which might all change when they ship a version which supports iOS Interops -- currently number 5 on the roadmap .

  18. Michel B

    Sep 13 Pre-Release Testers, Xojo Pro RubberViews.com
    Edited 6 days ago

    Interops are an intriguing solution, but yet, they won't provide the same services as plugins.

    As a professional, I don't want to waste considerable time researching the often abstruse Apple documentation, then experiment, sometimes not being lucky. Until I see them in action, to me interops seem like glorified declares.

    With MBS plugins, I have a maintained and reliable service. That's all I need. That is all that was missing in Xojo iOS which prevented me from porting my apps to iOS. It is a shame that Xojo iOS still to this day expects users to dab in declares when they need more than the incomplete properties and events.

  19. Douglas H

    Sep 13 Pre-Release Testers, Xojo Pro

    I don't disagree. I subscribe to many plugins for Xojo desktop because it is vastly more efficient use of my time then developing and maintaining myself.

    But at least with InterOps we'll hopefully be *able* to create many projects that just are not practical now. There is a big difference between a brick wall you can't overcome, and hurdle you have to jump over in your path.

  20. Jeremie L

    Sep 13 Pre-Release Testers, Xojo Pro, XDC Speakers Europe (France) - getpackr.io

    I have difficulty understanding all this fuss about iOS plugins not being available.

    There are currently two solutions that are already available but one would need a proof of concept to validate it.

    Encrypted modules and classes

    Modules and classes enable adding many features from iOS, using declares under the hood. Just like iOSKit (unencrypted) and dtPlugins (encrypted) for iOS.
    The person or team creating a plugin already needs to know about the operating system's functions which are all available here:
    https://developer.apple.com/documentation

    Writing declares for this might take longer time than creating a plugin with a wrapper around C code but it isn't impossible to do. iOSKit has hundreds, maybe thousands of declares and works almost perfectly.

    Dynamic library

    There are many dynamic libraries available and even Xojo compiles one into the app bundle when running the app in the simulator.
    I have successfully used AppLanga, RevealApp and ZipArchive external frameworks (dylib) in the simulator.
    However I haven't done it in a compiled app because I don't know if the framework/dylib needs to be code-signed before adding it to the Xojo project, or at the same time as code-signing the entire app. This is why a proof of concept needs to be done.

    The easiest way to use a dylib is to create a module or set of classes that act as a wrapper for the dylib. This is what I did to use ZipArchive and AppLanga.

  21. 5 days ago

    Michel B

    Sep 14 Pre-Release Testers, Xojo Pro RubberViews.com
    Edited 5 days ago

    iOSKit for all it's qualities is still a work in progress with close to no documentation. DtPlugins are very close to no documentation either, and in spite of Jean-Paul's talent, he now went to other horizons and his code is in an abandoned state. An encrypted abandoned state, which makes it extremely fragile.

    You may have enough talent and free time to entertain declares, but that is not the case of most professional programmers.

    The fuss is, I and many other professional Xojo users don't have time to deal with finicky declares and waste an afternoon or more chasing a feature after reading pages of Apple documentation often just a clear as dungeons and dragons. I rather pay for a set of plugins, or a dylib, or whatever else, and be done with it. I paid for dtPlugins, and was happy until Jean Paul decided to be done with them.

    It is a fact that quite a few Xojo users rely on Christian and his MBS plugins to get more out of the language. NOT declares, NOT MacOSLib. Professional plugins with outstanding support. If instead of half finished sets of declares, a solution from MBS existed, I am convinced quite a few professional Xojo users would gladly try to port their popular applications to iOS with Xojo.

    Let alone because the MAS future is not as bright as it once was, and applications new frontier is mobile.

or Sign Up to reply!