Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

App store question

I've seen tracks on how to make an IOS app and how to put it on the app store, and also android apps and i was wondering if there was any possible way of making an app and publishing it on to both platforms? Or do we have to remaster it with the coding language that is required?

2 Answers

There are several ways to make an app for the app stores on both iOS and Android, though I don't think Treehouse has any tracks for that path.

PhoneGap (aka Cordova) (JavaScript), Xamarin (C#), Unity (for games) (also C#), and AIR (ActionScript) are 4 examples of cross-platform development frameworks (with the primary programming language used for development in each in parentheses). They each let you develop for both iOS and Android, and sometimes other platforms like Windows Phone or web browsers.

Sometimes people argue that it's best to develop for each platform in one of its native languages, like Swift for iOS and Java for Android. Depending on what you want to do and how skilled you are, that can be true. In any case, it's certainly possible to have a single main codebase used across both iOS and Android for an app that goes to both stores.

So since i'm only learning the programming language Swift, does that mean that I am limited to publish my future Apps on the App store on iOS platforms only?

Depends on what you mean. Swift can't publish for Android or Windows, but it can publish for the Mac App Store on OS X.

Apple may eventually release the source code for Swift, which would mean people could port it to target platforms like Android, but that's just speculative.

Thanks for your help! :D