Introduction In Apple TV, the centre of user interaction is the focus engine. Apple TV does not use the touchscreen like iPhones and iPads, where one taps everything directly on the screen, but uses the remote control to navigate among the elements. This is to say that the usability of your app largely relies on the ease and...
Introduction Ensuring user privacy remains Apple's paramount concern, and it must not be compromised under any circumstances. To reinforce this commitment, Apple has introduced stringent requirements for third-party SDKs. While these SDKs offer valuable functionality for apps, they also have the potential to impinge upon user privacy...
Introduction SPM - Swift Package Manager is a tool for managing the distribution of Reusable Swift code. With the term ‘Distribution’ there comes a question of how to distribute. The answer is Package. It’s nothing new as we are already using some third-party, open-source code or writing our reusable, distributable code with...
This is part 2 of the article series on Concurrency with Swift. The article’s content assumes that the reader understands the Async/Await concept. If you are unfamiliar with the Async/Await concept, please read the first part: Concurrency with Swift: Async/Await. Before we learn Structured Concurrency, it is essential to understand...
In Swift 3.0 C-style for-loops will be removed. This will force developers to use a swift syntax for for-loops. So lets begin with swift for loops : Looping n times [code language="objc"] // output is 0, 1, 2, 3, 4, 5, 6, 7, 8, 9 for i in 0..<10 { print(i) } // or for i in 0...9 { print(i) } [/code] Looping n...
Apple recently unveiled a new programming language Swift, to replace Objective-C for OS X and iOS application development. The advent of Swift marks the transformation from a decade old language to a naive yet effective programming language - Swift. The main purpose of introducing Swift is to provide a new easier, simpler, more flexible...
One year ago, Apple released Swift, a brand new programming language for both iOS and OS X development and now they introduced Swift 2 with Xcode 7 this year. Swift 2 includes some new features such as improved error handling, availability check and , protocol extensions etc. Lets take the overview of new features. Error handling : ...