iOS

NSAttributedString Enhancements in iOS 11

Attributed strings can be a pain to configure the way you want them. The attributes dictionary has always been a dictionary comprised of String-Any pairs. There have been some nice enhancments in iOS 11, though.

Large Titles For Navigation Bars In iOS 11

If you have played with iOS 11 either on a simulator or on a real device, you have probably noticed that most of the first party apps, such as Mail and Settings, use large titles in the navigation bar. We are going to look at how to implement the same navigation bar behavior in our apps.

Changing your iOS App Icon programatically

When iOS 10.3 was released, Apple opened up an API to allow developers to change the app icon for their app programatically. Of course this doesn’t mean you can change it every second like the Clock app, or even every day like the Calendar app. What you can do is change the app icon when … Read More

Handling Keyboard Shortcuts In iOS

The keyboard is an enormously important piece of hardware. The keyboard lets us increase efficiency while using an app by typing faster. It also gives iOS apps the ability to support shortcuts, which increases productivity even more. Common tasks for apps would be greatly benefited by allowing shortcuts, especially on an iPad, by allowing the user to keep their hands on the keyboard.

Layout Anchors

This screencast demonstrates how to use Layout Anchors. Layout Anchors are a way of creating NSLayoutConstraints in code that are simpler and easier to read than creating NSLayoutConstraints directly. In this screencast a simple screen that is completely laid out in code is updated to use Layout Anchors.

Enabling Siri Integration With SiriKit

SiriKit was created for developers in iOS 10. However, there were, and still are, a limited number of intent domains with which you can integrate an app. An intent domain is simply a category of app that can take advantage of Siri. With the release of iOS 11, a few new domains are being made available. This tutorial will walk through implementing SiriKit with the “Lists and Notes” domain, although, the core concepts can be applied to any domain.

Implementing Drag and Drop in iOS 11 Part 2 – Handling The Drag

At WWDC Apple announced that iOS 11 will now support Drag and Drop. This works not only within an app, but also from one app to another. Dragging between apps is only supported on iPads. This tutorial will walk through how to implement exporting data via Drag and Drop.

Implementing Drag and Drop in iOS 11 Part 1 – Handling The Drop

At WWDC Apple announced that iOS 11 will now support Drag and Drop. This works not only within an app, but also from one app to another. Dragging between apps is only supported on iPads. This tutorial will walk through how to implement receiving data from Drag and Drop.

Implementing Handoff In iOS and macOS

Handoff is a neat feature that was introduced in iOS 8 and macOS (then OS X) v10.10. This capability allows an app to pass data across macOS and iOS devices so that a task started on one device can be completed on another device. In this tutorial we will implement Handoff on both iOS and macOS platforms.

Philly ETE 2016 #32 – Daniel Steinberg – The World of Swift 3

When Apple open sourced Swift late last year, they invited the community into the discussion of where Swift should go and why. Instead of us having to imagine what the Swift language and library stewards and architects are thinking, we can read their words on the Swift evolution mailing list. In this talk we’ll look at what idiomatic Swift will look like soon when Swift 3 is soon released and talk about the reasoning behind some of the choices.