With the release of iOS 11, for the first time third-party developers are able to use the NFC reader on devices iPhone 7 and higher. This could be used for passing along identification information and a whole host of other data exchange applications from door locks to subway passes. The technology used on iOS 11…
Category: iPhone Development
Tutorials and news about the iPhone Development world
Core ML for iOS Apps in iOS 11
Core ML, announced at WWDC 2017 is a new set of APIs built by Apple for use with iOS 11 or higher devices. With Core ML, developers can incorporate machine learning models in to their mobile apps, and have the inference accelerated using the Metal APIs. This means the processing of models will be significantly…
Caffe2 on iOS – Deep Learning Tutorial
Caffe2 in an iOS App Deep Learning Tutorial At this years’s F8 conference, Facebook’s annual developer event, Facebook announced Caffe2 in collaboration with Nvidia. This framework gives developers yet another tool for building deep learning networks for machine learning. But I am super pumped about this one, because it is specifically designed to operate on…
Designing Animations with UIViewPropertyAnimator in iOS 10 and Swift 3
Designing Animations with UIViewPropertyAnimator in iOS 10 and Swift 3 This is part of a series of tutorials introducing new features in iOS 10, the Swift programming language, and the new XCode 8 beta, which were just announced at WWDC 16 UIKit in iOS 10 now has “new object-based, fully interactive and interruptible animation support…
Being Swifty with Collection View and Table View Cells
Here’s a common scenario: You have a table view or collection view that has a variety of different types of content. You want to display varying cells based on these types of content, and they’re all mixed within a single section. Pardon the stand-in art, but it looks roughly like this: In the Objective-C world,…
Swift 2 – What’s new
Monday Apple announced Swift 2, and just about everything announced is an extremely welcome change. This post is a summary of Chris Lattner’s discussion in the WWDC video “What’s new in Swift”. Now, let’s run through them… Fundamentals enums can now be printed to the console and show the actually value instead of just (enum…
Functional Programming in Swift
Thoughts on Functional Programming in Swift Like most of you, I have to use Objective-C at my day job. I could only craft my Swift skills at night. Swift is not a purely functional language. It can be use imperatively because all frameworks from Apple are written in Objective-C at the time of writing. However,…
Local Notifications in iOS 10 with Swift (Part 1)
This post has been updated for compatibility with XCode 8 and iOS 10 Local notifications are a simple way to display information to your user even when your app is in the background. They allow you to display an alert, play a sound or badge your app’s icon. Local notifications can be triggered at a scheduled time…
Local Notifications in iOS 9+ with Swift (Part 2)
This post has been updated for compatibility with XCode 8 and iOS 10 In part 1 of this series, we created a simple to-do list application that used local notifications to alert users when to-do items were overdue. This time, we’re going to build on that the project by enabling application icon badges to display the…
Core Data Migrations Swift Tutorial
In this post we’re going to discuss migrations in Core Data. This is part three of a tutorial series covering the usage of Core Data in Swift to write iOS apps with persistence. While I think you can benefit strictly from reading this post, it may be easier to follow along if you go back…