Authors: Bryan Lew
Reviewers: Chester Sng, Jiang Chunhui, Yu Pei, Henry
iOS is the mobile operating system that runs on Apple's mobile devices, most notably the iPhone and the iPad. Applications that run on iOS can be downloaded officially from the App Store, and developers of iOS applications can submit their own applications to the App Store to share it with the rest of the world.
2 operating systems dominate the whole market share: iOS and Android. While more devices are running Android compared to iOS, given below are some areas in which iOS outshines Android:
iOS applications are specific to the Apple devices of the iPhone and iPad line, whereas Android runs across numerous different types of devices, including phones, tablets, watches, and more. The large variation of devices poses a compatibility problem from a developer's standpoint, because now applications have to be tested and working across all these different devices, and also regularly maintained this way. Each hardware device may possibly be running their own version of Android or will only support up to a particular version, thus Android developers will have to ensure that their application is also compatible across different versions of Android.
With less devices to target, iOS developers have more control over their application and are able to customise the application to a greater extent, because there are less variations (in terms of device compatibility) to worry about. OS versioning in iOS is also more structured, with better backwards-compatability across their devices. Users of iOS devices (oldest supported is iPhone 5S, as of March 2019) are always immediately prompted whenever a new version of iOS is available for download. This means that as developers, we have to worry less about compatability issues, and focus more on the application itself.
While Android has higher market share of devices, iOS applications generate nearly double the revenue compared to Android, largely due to the fact that users of iOS devices are generally more likely to spend on apps.
As an independent iOS developer, this means that your iOS application could bring in more revenue for you as compared to an Android one, assuming you choose to monetize it.
More app revenue for iOS applications also means companies will look to tackle the iOS platform more so than Android, thus the demand for iOS developers will be high. This in turn results in higher salary for iOS developers compared to their Android counterparts.
The Apple App Store subjects the apps to higher quality control (as compared to Android Play Store) before they are allowed to be published. This means that applications on the App Store are more robust, and of higher quality in general.
Mobile applications that run on the iOS platform can be written both natively and using cross-platform solutions. Native iOS applications are written using Objective-C or Swift on the Xcode IDE that you can download if you are running a MacOS. Cross-platform solutions are tools that allow you to write code once and develop applications for more than 1 platform. Some examples include React Native, Xamarin, and Ionic. Both methods have their own pros and cons, and these factors not only affect the app developers, but also the users to some extent.
The main attraction to developing mobile applications using cross-platform solutions is development time. Cross-platform solutions allow you to write code once, but push it out to more than one OS, usually iOS and Android being two of these platforms. This means that essentially, your development time is cut by half, because you are only writing code once for 2 separate applications. While this may sound like an attractive deal, there are a bunch of caveats to consider that can potentially be a deal breaker, performance and compatability issues being the frontrunners.
If you are coming from a web development background, you might want to consider starting with React Native. React Native as a cross-platform mobile development framework will give you a mobile development environment that is very similar to a web development one (especially if you are familiar with ReactJS), using the same JavaScript structure as ReactJS, and also uses props
, state
, and all the standard React component lifecycle methods. It will allow you to learn about mobile development while on familiar ground.
If you are a complete beginner to programming or do not have much software engineering experience, native iOS development with Swift might be a better choice to start with. Given that Swift is a statically typed language, more errors will be caught earlier, and you will be forced to be more structured and disciplined in your code. With Swift being a fast and readable language, it is not a bad language to start learning programming with or to pick up general software engineering skills with.
To get started with native iOS development, we have to first get some of the basic tools set up:
(Image from Dice Insights)
Native iOS applications can be written in Objective-C or Swift. Swift is a relatively newer language, introduced only in 2014, while Objective-C is more of an old school programming language. If you are just starting out on iOS development, you should strongly consider using Swift. The main reason being that many of the documentations and help on the internet are written for iOS development in Swift, hence it will be easier to look for resources that target Swift instead of Objective-C. Furthermore, Apple mostly regards Swift as the main language for iOS programming now, and Objective-C support is now more of a backward-compatability.
If you are new to Swift, you may want to read up on our Swift article: Introduction to Swift
If you are ready to begin developing your first iOS application, you will want to check out these iOS development tutorials and articles meant for first-timers:
Some useful iOS development resources: