Table Of ContentChapter 1: Understanding Programming Chapter 2: Getting to Know Xcode 8 Chapter 3: The Basics of Creating a Mac Program Chapter 4: Getting Help Chapter 5: Learning Swift with Playgrounds Chapter 6: Manipulating Numbers and Strings Chapter 7: Making Decisions with Branches Chapter 8: Repeating Code with Loops Chapter 9: Storing Code in Functions Chapter 10: Arrays and Dictionaries Chapter 11: Tuples, Sets, and Structures Chapter 12: Defining Custom Types Chapter 13: Creating Classes and Objects Chapter 14: Inheritance, Polymorphism, and Extending Classes Chapter 15: Creating a User Interface Chapter 16: Working with Views and Storyboards Chapter 17: Choosing Commands with Buttons Chapter 18: Making Choices with Radio Buttons, Check Boxes, Date Pickers, and Sliders Chapter 19: Using Text with Labels, Text Fields, and Combo Boxes Chapter 20: Designing a User Interface with Constraints Chapter 21: Using Alerts and Panels Chapter 22: Creating Pull-down Menus Chapter 23: Programming the Touch Bar Chapter 24: Protocol-Oriented Programming Chapter 25: Defensive Programming Chapter 26: Simplifying User Interface Design Chapter 27: Debugging Your Programs Chapter 28: Planning a Program Before and After Coding
SynopsisLearn how to code for the iMac, Mac mini, Mac Pro, and MacBook using Swift, Apple's hottest programming language. Fully updated to cover the new MacBook Touch Bar, macOS Programming for Absolute Beginners will not only teach complete programming novices how to write macOS programs, but it can also help experienced programmers moving to the Mac for the first time. You will learn the principles of programming, how to use Swift and Xcode, and how to combine your knowledge into writing macOS programs. If you've always wanted to learn coding but felt stymied by the limitation of simplistic programming languages or intimidated by professional but complicated programming languages, then you'll want to learn Swift. Swift is your gateway to both Mac and iOS app development while being powerful and easy to learn at the same time, and macOS Programming for Absolute Beginners is the perfect place to start - add it to your library today. What You'll Learn Master the basic principles of object-oriented programming Use Xcode, the main programming tool used for both macOS and iOS development See what makes Swift unique and powerful as a programming language and why you should learn it Create macOS programs using Swift and Xcode Apply interface principles that follow Apple's Human Interface Guidelines Take advantage of the new Touch Bar Who This Book Is For People who want to learn programming for the first time and for experienced programmers wanting to learn Xcode and the Mac for the first time.