Tutorial: The Complete Understanding of Swift Delegate and Data Source!

If you are new to Swift development, understanding the delegation pattern can be a difficult topic to wrap your head around. Delegate and Datasource patterns are used quite liberally in Swift especially if you are using components like TableViews and CollectionViews and hence it’s imperative that you master the topic. 

Check out the tutorial linked below to get you started on the subject:

Source: The Complete Understanding of Swift Delegate and Data Source

iOS 11: Stack View Custom Spacing!

When Apple introduced StackViews in iOS 9 it quickly became everyone’s favorite control because it was easy to use and also due to the fact that it required fewer constraints to get it going. But for all its power there was one piece missing which was the ability to set a variable spacing between arranged subviews. All this is changing with iOS 11 which introduces a small tweak to allow variable spacing among its arranged subviews. The only caveat is that it can only be done programmatically and not through interface builder.

Read on at this tutorial link below to learn how to implement one:

Source: Stack View Custom Spacing

Swift 4: Ultimate Guide to JSON Parsing!

With Swift 4 came built in support for JSON parsing with a refreshingly easy to use API. There have been a number of great libraries for JSON parsing in the past but now that Swift 4 has built-in support for it, the use of 3rd party libraries has become questionable. The new JSON parsing API is super easy to adopt and also provides the customization required to encode and decode complex scenarios.

Check out this linked article below to learn more:

Source: Ultimate Guide to JSON Parsing with Swift 4 – Ben Scheirman

Tutorial: Getting Started with Vision on iOS 11!

Apple introduced Core ML the new machine learning framework at WWDC 2017 and included with it is a new vision framework providing high-performance computer vision features for tasks such as image and face detection.

Check out this starter tutorial from Jeffrey Bergier who shows you how to get started with the Vision framework and perform object detection on a live video feed.

Source: GitHub – jeffreybergier/Blog-Getting-Started-with-VisionS 11

Tutorial: Getting Started with URLSession!

The URLSession class provides an API for downloading content via HTTP by offering a rich set of delegate methods to support authentication & to give your apps the ability to perform tasks in the background. If you have been using URLConnection in the past or have been using a third party library like Alamofire, then you should take a second look at the much improved URLSession class.

Check out this excellent tutorial written by the folks at Raywenderlich to find out more about URLSession.

Source: URLSession Tutorial: Getting Started

How to open Deep Links, Notifications, and Shortcuts!

Deep Linking is becoming quite prevalent in apps these days and it’s important for developers to have an understanding of it. Deep linking consists of using a hyperlink that links to a specific piece of content within an app. The specific content could be a page, view, or a certain tab. You can deep link from another app or even from a website to your app. Check out this excellent article by Stan Ostrovskiy who explains the concept with some easy to understand sample code:

Source: iOS: How to open Deep Links, Notifications and Shortcuts

Port: Your iOS App to macOS!

If you are an iOS developer and are thinking about developing apps for macOS but felt daunted, then its time to think again. Your iOS development skills will come to great use when you are developing apps for macOS and the best part is that you can reuse a significant amount of the code between the 2 platforms and only having to rewrite the portions that are platform-specific.

Check out the article linked below that takes you through the process in detail:

Source: Porting Your iOS App to macOS

Tutorial: Core Machine Learning for iOS Developers!

Machine learning is a technology that’s been there since 1950’s but it’s all the rage today. It’s being increasing adopted in many industries, not just at tech companies. Many people have heard about it, but only a few know what it is. Apple has made available a ton of great resources covering Cover ML including their in-depth documentation along with 2 WWDC sessions – Introducing Core MLCore ML in depth.

If you are looking for a starter tutorial to get you going with Core ML, then check out this article linked below.

Source: Core Machine Learning For iOS Developers – Towards Data Science – Medium

Xcode: Demystifying iOS Provisioning & Certificates!

If you have recently started developing apps for iOS then you must have found the topic of provisioning profiles & certificates the most confusing. It’s essential as a iOS developer, to know about these 2 important topics and understand why they are needed in development. If you don’t have the patience or time to read through the Apple Docs, then this article linked below is for you.

Source: Demystifying iOS Provisioning – Cary Bohon@Martian Craft

ARKit: Getting Started Building an AR App!

It’s been just a week since Apple introduced augmented reality with iOS 11 and developers around the world are pretty stoked with the possibilities. You can find a collection of great demos that developers have already created at this link. If you are also psyched with the creative possibilities of ARKit but don’t know how to begin, then check out the link below to learn how to create a simple ARKit application.

Source: ARKit 101: Get Started Building AR Apps

Swift: UIKit Global Functions!

As an iOS developer, you will find yourself using UIKit framework the most while developing applications. It defines the core components of an iOS application, from labels and buttons to table views and navigation controllers.

It’s refreshing when someone does the deep digging and finds some hidden gems so that the rest of the developer can benefit. One such article(linked below) was written by Jordan Morgan who provides some really great shortcuts and code snippets that will save you a bunch of time while using UIKit Framework.

Source: UIKit Global Functions – The Traveled iOS Developer’s Guide – Medium

Try Swift 4.0 today: Easy starter playground!

Swift 4.0 is probably a couple of weeks away from an official announcement at WWDC 2017, but that doesn’t mean you have to wait that long to give it a test run. All you need is XCode 8.3 and the latest Swift 4.0 snapshot from swift.org to try out some code. But want it even easy? There is now a Swift playground written by Ole Begemann to get you started, check out the link below:

Source: GitHub – ole/whats-new-in-swift-4