Book description
Learn how to code for the iMac, Mac mini, Mac Pro, and MacBook using Swift, Apple's hottest programming language.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.
- 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
Table of contents
- Cover
- Frontmatter
- 1. Understanding Programming
- 2. Getting to Know Xcode 8
- 3. The Basics of Creating a Mac Program
- 4. Getting Help
- 5. Learning Swift with Playgrounds
- 6. Manipulating Numbers and Strings
- 7. Making Decisions with Branches
- 8. Repeating Code with Loops
- 9. Arrays and Dictionaries
- 10. Tuples and Sets
- 11. Storing Code in Functions
- 12. Defining Custom Data Types
- 13. Creating Classes and Objects
- 14. Inheritance, Polymorphism, and Extending Classes
- 15. Creating a User Interface
- 16. Working with Storyboards
- 17. Choosing Commands with Buttons
- 18. Making Choices with Radio Buttons, Check Boxes, Date Pickers, and Sliders
- 19. Using Text with Labels, Text Fields, and Combo Boxes
- 20. Designing a User Interface with Constraints
- 21. Using Alerts and Panels
- 22. Creating Pull-Down Menus
- 23. Programming the Touch Bar
- 24. Protocol-Oriented Programming
- 25. Defensive Programming
- 26. Simplifying User Interface Design
- 27. Debugging Your Programs
- 28. Planning a Program Before and After Coding
- Backmatter
Product information
- Title: macOS Programming for Absolute Beginners: Developing Apps Using Swift and Xcode
- Author(s):
- Release date: February 2017
- Publisher(s): Apress
- ISBN: 9781484226629
You might also like
book
Beginning iPhone Development with SwiftUI: Exploring the iOS SDK
Tame the power of Apple’s new user interface toolkit, SwiftUI. Integrate all the interface elements iOS …
book
Mastering Swift Package Manager: Build and Test Modular Apps Using Xcode
Maintaining an iOS project often results in thousands of code files scattered around your folders. Did …
video
A Beginner's Guide to Creating iPhone Apps for iOS 15 Using Swift UI
If you are looking for a course that is fun, for complete beginners, and gets straight …
book
iOS 15 Programming Fundamentals with Swift
Move into iOS development by getting a firm grasp of its fundamentals, including the Xcode 13 …