“I think everybody in this country should learn to program a computer. Learn a computer language. Because it teaches you how to think” – Steve Jobs
Hello, dear readers!
In this post I would like to introduce you into the world of iOS. You will read about the history of the operating system and about the basic programming requirements.
iOS (originally iPhone OS) is a mobile operating system created and developed by Apple Inc. and distributed exclusively for Apple hardware. It is the operating system that presently powers many of the company’s mobile devices, including the iPhone, iPad, and iPod touch. It is the second most popular mobile operating system in the world by sales, after Android.
Originally unveiled in 2007, for the iPhone, it has been extended to support other Apple devices such as the iPod Touch (September 2007), iPad (January 2010) and iPad Mini (November 2012).
The SDK was first released on March 6, 2008, and allows developers to make applications for the iPhone and iPod Touch, as well as test them in an “iPhone simulator”.
In iOS, there are four abstraction layers: the Core OS layer, the Core Services layer, the Media layer, and the Cocoa Touch layer.
Core Foundation (also called CF) is a C application programming interface (API) in Mac OS X & iOS, and is a mix of low-level routines and wrapper functions. Internally, Core Foundation forms the base of the types in the Objective-C runtime as well.
The Foundation Kit, or just Foundation for short, is an Objective-C framework in the OpenStep specification. It provides basic classes such as wrapper classes and data structure classes. This framework uses the prefix NS (for NeXTSTEP, or NeXT/Sun). The Foundation Kit is in the Cocoa Touch API.
Cocoa Touch is a UI framework for building software programs to run on iOS, WatchOS, and tvOS. This framework provides an abstraction layer of iOS, the operating system for the iPhone, iPod Touch, and iPad. Cocoa Touch is based on the Mac OS X Cocoa API toolset and, like it, is primarily written in the Objective-C language. Cocoa Touch allows the use of hardware and features that are not found in Mac OS X computers and are thus unique to the iOS range of devices. Just like Cocoa, Cocoa Touch follows a Model-View-Controller (MVC) software architecture. Cocoa Touch contains a different set of graphical control elements to Cocoa. Tools for developing applications based on Cocoa Touch are included in the iOS SDK. Defines the basic application infrastructure and support for key technologies.
In order to create easily iOS apps, you have to download the Xcode from the Mac App Store. Xcode is an integrated development environment (IDE) containing a suite of software development tools developed by Apple for developing software for OS X, iOS, WatchOS and tvOS.
Xcode supports source code for the programming languages C, C++, Objective-C, Objective-C++, Java, AppleScript, Python, Ruby, ResEdit (Rez), and Swift.
In the upcoming period we are going to use this IDE for our sample projects. In the next post, we are going to see how can we create a simple hello world application for the iPhone.
Till then you may check the goodies that we have prepared for you: 6 Free Mobile Development Book that you must read.
Also don’t forget to subscribe to be the first to get all the important information we publish in our journal.
P.s: We don’t like spam too. 🙂