iPhone Life magazine

Kevin McNeish's picture
Kevin McNeish is author of the new book “Learn to Code in Swift” as well as the “iOS App Development for Non-Programmers” book series (www.iOSAppsForNonProgrammers.com), winner of the Publishing Innovation Award. Kevin is also an award-winning app developer, software architect, and conference speaker in the U.S. and abroad. He has spent much of his career making difficult concepts easy to understand. Follow Kevin on Twitter: @kjmcneish.

Swift Programming 101: The Power of Extensions


Extensions are one of Swift's best features. Extensions allow you to add behavior to existing classes, including classes in the Cocoa Touch Framework. Apple can't add every feature you want to their framework classes, but they have provided a tool to allow you to do it yourself! In this article, you will learn practical uses for Swift extensions you can use immediately in your iOS projects.

Swift Programming 101: Enhance Your Apps With External Displays


How would you like to extend the surface area of your app's user interface exponentially? How would your users react if you added multiple display devices to your app, each containing different content? All of this is possible by using an iOS feature many developers are not aware of—external displays.

WatchKit Is Here! Creating Apps for the Apple Watch


As promised, Apple has delivered its first version of WatchKit, which allows you to create apps for the upcoming Apple Watch. In a surprising move, Apple released information regarding its new WatchKit in a web page open to the general public.

Swift Programming 101: Advanced Collections


Swift's advanced collections can help you model more complex objects in your apps and create an API that is easier to understand and use. In this post, I model a chessboard using Swift's subscripts and also cover tuples and multidimensional arrays!

Swift Programming 101: Mastering Protocols and Delegates (Part 2)


In part 2 of this post on Swift's protocols, you will learn practical uses for declaring custom protocols in your own apps, and learn further how they improve the architecture of your apps and make them easier to enhance and extend.

In part 1 of this post, I demonstrated how to implement existing Cocoa Touch protocols in your apps. Now you'll learn how and why to create your very own. First, we need to cover the basic construction of a Swift protocol.

Swift Programming 101: Mastering Protocols and Delegates (Part 1)


Protocols are a powerful, advanced tool that help make your apps easier to design and extend. They define standard behavior in classes that are not necessarily related. Protocols used together with delegates allow you to create classes with a well-balanced load of responsibilities.

Swift Programming 101: Inheritance & Polymorphism


In previous posts I have touched on inheritance in Swift. In this post, I'm going to be diving deeper and giving you a fuller picture of how inheritance works in Swift, and how you can use it to create apps that are easy to extend when you need to add new functionality. Along the way, you will also learn about the important concept of polymorphism and learn how to use Xcode's new playgrounds!

Apple Watch SDK and More Great App Developer News


App developers heard some great news today when Tim Cook announced that WatchKit, the software development kit for building apps for the upcoming Apple Watch will be released next month (November)!

As I discussed previously in my Developing Next-Generation Apps for the Apple Watch post, this provides a great opportunity for app developers to get in the ground floor of a new technology and get noticed.

Swift Programming 101: Generics-A Practical Guide


If you have read Apple's documentation on Generics and were left wondering how you could use this technology in your own projects, this post is for you! You will learn how to take full advantage of generics in your every-day code as well as how to avoid the constant type-casting that usually results from creating generalized code.

Swift Programming 101 - Understanding Access Control


Access Control is one of the late-breaking features added to the Swift language. It allows you to specify the parts of your code you want to make public, and the parts you want to hide. It's an important tool in creating easy-to-use, and easy-to-understand interfaces.

Syndicate content