From VB6 (Windows) to iPhone

Discussion in 'iOS Programming' started by PSB136, Oct 28, 2014.

  1. PSB136 macrumors member

    Oct 26, 2014
    I come from a Visual Basic 6 coding background and am mildly curious into coding for the iPhone. I know I need a real Mac to do it, but is there a coding language similar to VB6 for iPhone? Thanks.
  2. Mark FX macrumors regular

    Mark FX

    Nov 18, 2011
    West Sussex, UK
    The nearest thing to VB6 for the Mac is "Xojo", it used to be called "Real basic", but they decided to rebrand themselves in order to loose the "Basic" label.
    It's language and syntax is similar to VB6, and it's IDE is similar to "Visual Studio".

    As of now "Xojo" compiles for Mac OSX, Windows, and Linux, although they have announced the release of their iOS framework for early 2015, but you will have to watch their web page space for updates on that.

    I've used it on occasions in the past, but their annual licence fees are expensive, and they seem to be in a constant state of debugging and update work, so their package is always being updated, requiring frequent downloaded updates to your system, and also frequent licence renewals in order to be able to update your system.

    Personaly if your serious about developing iOS apps now, I would learn Objective-C and Swift, it's the only real native solution for iOS development, and especially given the fact that the Cocoa Touch framework will be redeveloped over the next few years away from Objective-C, and to be probably more Swift friendly.
    Something that will probably cause more update problems for the hard working team at Xojo, and always leave them playing catch up.

    Hope this helps.

    Regards Mark
  3. 1458279 Suspended


    May 1, 2010
    Having done both VB6 and ObjC, I have to tell you that you really need to get into ObjC or Swift.

    It's not so much because it's native or different, but it's because programming mobile is different. It's actually more about the APIs than the language, but it's different.

    Having a programming background, you've got a big head start on either Swift or ObjC.

    Swift is about to become solid so I'd have a close look at that. ObjC is different and takes more time to get a handle on.
  4. EnderTW macrumors 6502

    Jun 30, 2007
    Coming from JS and Python, Swift is much easier to read and write code. I've gone much further than I have with ObjC. I think I'll finally be able to make the transition!
  5. PSB136 thread starter macrumors member

    Oct 26, 2014
    Thanks for all replies. Sounds like Swift is what I need to look into.

    However, before I do, one last question: can you write apps directly on the iPhone itself, instead of needing a real Mac? Because I also used to write Psion palmtop apps where you could code on those marvelous little devices directly; and that would be awesome to do on an iPhone (or iPad).
  6. firewood macrumors 604

    Jul 29, 2003
    Silicon Valley
    The NSB/AppStudio product seems to allow one to build iOS apps using a updated form of BASIC.

    And there seem to be almost a dozen apps in the App store which allow one to program in BASIC on an iOS device itself: techBasic, HotPaw Basic, orbBasic, iBasic, smartBasic, nanoBasic, Hand Basic,
  7. SolarShane macrumors 6502

    Mar 7, 2014
    There's also the upcoming Basic4iOS from Anywhere Software, which has also created Basic4android and B4J. (B4J = Basic4Java but isn't officially known as that)

    The only downside is that it's Windows-only. However, I love the ability to hot-swap the code even while your app is running.
  8. PSB136 thread starter macrumors member

    Oct 26, 2014
    Now THIS is what I want! And Windows-only is NOT a downside at all. :D

    [Edit] Actually, the first page on the official B4i thread says:

    In order to develop with B4i you will need an iOS device, an Apple developer account and a Mac computer."

    What the?
  9. SolarShane macrumors 6502

    Mar 7, 2014
    They'll also have a Mac build service in which you won't need a Mac at all. The only thing you'll need is MacInCloud to actually submit the app to Apple.
  10. PSB136 thread starter macrumors member

    Oct 26, 2014
    Hmm... from what I can tell, that means I can develop solely on my PC, but only pay for the MacInCloud service when submitting a finished app to Apple?
  11. SolarShane macrumors 6502

    Mar 7, 2014
    Correct. The only recurring expenses:

    * The Mac Builder service from Anywhere Software. (Looking like $5/month. No pricing announced yet.)

    * MacInCloud (Best go with the hourly pricing. That's all you'll need really)

Share This Page