Once you’ve completed both parts of this tutorial, you’ll have a fundamental understanding of the following macOS controls: Mad Libs is a word game where you can insert different words in a block of text in order to create a story – which often has hilarious results! In this tutorial, you’ll be creating a simple Mac application like the popular game Mad Libs. You’ll learn about these controls, as well as the methods and properties you’ll need to understand in order to get up and running as a developer! :]
This tutorial will introduce you to some of the more common macOS controls of the user interface – the foundation upon which most Mac apps are built. Gone are UIButton and UITextField – instead there are similar (but slightly different) variants. However, one big difference with macOS development are there are different controls. Many of the Cocoa classes and design patterns you know and love like strings, dictionaries and delegates have direct equivalents in Mac development. If you’re an iOS developer and you’re interested in learning about Mac development, you’re in luck – with your iOS skills, you’ll find it quite easy to learn! Previous updates by Ernesto García, Michael Briscoe. Update Note: Updated for Xcode 11.3 / Swift 5 by Roberto Machorro.