Skip to main content
  • Book
  • © 2017

macOS Programming for Absolute Beginners

Developing Apps Using Swift and Xcode

Apress

Authors:

  • Covers developing for the new MacBook Touch Bar
  • Learn to code quickly and painlessly using Apple's newest Swift programming language
  • Comprehensive introduction to Xcode and Swift that can also parlay into understanding iOS development

Buy it now

Buying options

eBook USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access

This is a preview of subscription content, log in via an institution to check for access.

Table of contents (28 chapters)

  1. Front Matter

    Pages i-xxvi
  2. Understanding Programming

    • Wallace Wang
    Pages 1-21
  3. Getting to Know Xcode 8

    • Wallace Wang
    Pages 23-47
  4. The Basics of Creating a Mac Program

    • Wallace Wang
    Pages 49-76
  5. Getting Help

    • Wallace Wang
    Pages 77-98
  6. Learning Swift with Playgrounds

    • Wallace Wang
    Pages 99-124
  7. Manipulating Numbers and Strings

    • Wallace Wang
    Pages 125-137
  8. Making Decisions with Branches

    • Wallace Wang
    Pages 139-169
  9. Repeating Code with Loops

    • Wallace Wang
    Pages 171-195
  10. Arrays and Dictionaries

    • Wallace Wang
    Pages 197-219
  11. Tuples and Sets

    • Wallace Wang
    Pages 221-234
  12. Storing Code in Functions

    • Wallace Wang
    Pages 235-248
  13. Defining Custom Data Types

    • Wallace Wang
    Pages 249-266
  14. Creating Classes and Objects

    • Wallace Wang
    Pages 267-293
  15. Creating a User Interface

    • Wallace Wang
    Pages 333-366
  16. Working with Storyboards

    • Wallace Wang
    Pages 367-387
  17. Choosing Commands with Buttons

    • Wallace Wang
    Pages 389-414

About this book

Learn 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.

Authors and Affiliations

  • San Diego, USA

    Wallace Wang

About the author

Wallace Wang is a former Windows enthusiast who took one look at Vista and realized that the future of computing belonged to the Mac. He s written more than 40 computer books, including Microsoft Office for Dummies, Beginning Programming for Dummies, Steal This Computer Book, My New Mac, and My New iPad. In addition to programming the Mac and iPhone/iPad, he also performs stand-up comedy, having appeared on A&E s "Evening at the Improv," and having performed in Las Vegas at the Riviera Comedy Club at the Riviera Hotel & Casino. When he’s not writing computer books or performing stand-up comedy, he also enjoys blogging about screenwriting at his site, The 15 Minute Movie Method, where he shares screenwriting tips with other aspiring screenwriters who all share the goal of breaking into Hollywood.

Bibliographic Information

Buy it now

Buying options

eBook USD 59.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book USD 79.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Other ways to access