05.08.2020»»среда

Swift Os X Programming For Absolute Beginners By Wallace Wang

05.08.2020
Swift Os X Programming For Absolute Beginners By Wallace Wang Average ratng: 7,2/10 495 votes

Recently on Google+, someone recommended Wallace Wang’s Swift OS X Programming for Absolute Beginners. Well, I’m not a beginner anymore, but the book sounded fun, so I gave it a spin. And I’m quite impressed. That’s why you read the review here.

In short, Swift OS X Programming for Absolute Beginners (or SOXPAB as I would like to call it to save myself from typing that much) is the best programming book to teach the reader about user interface programming. I can’t honestly judge how well this textbook will actually work for non-programmers. But that’s because I can’t fathom learning to code from a book anyway. If you know programming, or the Cocoa APIs already, this should work for you.

When Cookie the Chef leaves Flo's Diner to pursue a career on apopular reality cooking TV show, there is a shortage of chefs inDinerTown.Every week, Cookie invitesa different chef to appear as a guest star and Flo must fill in whilethat Chef is away!Finally, Cookie asks Flo toguest star on the Hollywood set of Flo's Diner, and the two of them puton one unforgettable show. It's a fast-paced frenzy with plenty ofDinerTown drama in Cooking Dash!Free Version Download - 22 MB file. Flo can cook,too! Cooking dash dinertown studios full version free download.

The thing that makes SOXPAB so great is the structure of the book and its chapters. Wallace Wang’s guiding principle is this:

Swift OS X Programming for Absolute Beginners is your step-by-step guide to learning how to code using Swift, Apple's hottest new programming language. This book will not only teach complete programming novices how to write OS X programs, but it can also help experienced programmers moving to the Macintosh for the first time. You will learn to understand the principles of programming, how to use Swift and Xcode, and how to combine your knowledge into writing OS X programs.

  1. Introduce the relevance of a topic
  2. Show how this is coded
  3. Show how to use this in a controller object plus Interface Builder

I don’t particularly enjoy reading how to make decisions with branches anymore (if and switch mostly). Most textbooks do a very bad job at keeping this stuff interesting. (What’s interesting or fun about boolean operators and scoping variables? Especially once you’ve learned this in the past already?) But Wallace Wang is clever and continues the chapter with building a simple Cocoa AppKit app to see code branching in a real-world application.

This is his main selling point, and it’s a good one.

Discount prices on books by Wallace Wang, including titles like Pro iPhone Development with Swift 4. Mac OS X for Absolute Beginners. Author: Wallace Wang. Paperback Jun 2016. List Price: $39.99. Compare Prices. Swift OS X Programming for Absolute Beginners. Author: Wallace Wang. Paperback May 2015. List Price: $54.99. Compare Prices. Swift OS X Programming for Absolute Beginners by Wallace Wang Get Swift OS X Programming for Absolute Beginners now with O’Reilly online learning. O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.

The book should stress the “OS X Programming for Absolute Beginners” instead of “Swift”, but then again “Swift” sells better, I guess.

Contents

Here’s the chapter headings of the 540+ pages book:

  1. Understanding Programming
  2. Getting to Know Xcode
  3. The Basics of Creating a Mac Program
  4. Getting Help
  5. Learning Swift
  6. Manipulating Numbers and Strings
  7. Making Decisions with Branches
  8. Repeating Code with Loops
  9. Arrays and Dictionaries
  10. Tuples, Sets, and Structures
  11. Creating Classes and Objects
  12. Inheritance, Polymorphism, and Extending Classes
  13. Creating a User Interface
  14. Working with Views and Storyboards
  15. Choosing Commands with Buttons
  16. Making Choices with Radio Buttons, Check Boxes, Date Pickers, and Sliders
  17. Using Text with Labels, Text Fields, and Combo Boxes
  18. Using Alerts and Panels
  19. Creating Pull-Down Menus
  20. Protocol-Oriented Programming
  21. Defensive Programming
  22. Simplifying User Interface Design
  23. Debugging Your Programs
  24. Planning a Program before and After Coding
Swift Os X Programming For Absolute Beginners By Wallace Wang

The first 6 chapters are instructive and probably serve as a reference later on if the still new concepts are put to use. As I said above, in chapter 7 Wallace Wang already shows how to create a basic user interface and make it work with branches, loops, etc.

I wouldn’t have thought that section headings like “Using Dictionaries in an OS X Program” exist, but there you are, every chapter from 7 to 12 applies basic programming principles to user interface programming. And with each example you’ll repeat how to set up a Cocoa app and wire the widgets to their controller object.

Chapters 20 and 21 are probably rather quick additions for Swift 2 since the book was released around or even before Swift 2’s public release. Doesn’t do them any harm, though. As of today, the sample code is still valid.

Also, the last chapter is a bit of a disappointment: instead of focusing on traditional or agile principles of project planning and sketching, Wang says that it’s simply up to you to decide which partition of a car works best: engine, gear, and wheels, or front, back, and top. Well of course it depends, but on what exactly he doesn’t say: the domain you’re modeling. Treating cars as physical objects among other objects will favor the latter structure. Interacting with cars as cars will benefit from an object that’s called “engine” and knows how to accelerate.

In short, talk about object-oriented programming principles and design is a bit short and not very satisfactory. But there are other books for that anyway.

My Recommendation

If you want to get started with OS X programming and would like to have a pragmatic guide which you can follow from beginning to end in a couple of evenings, this book might be for you. Getting to know Swift this way is great: Not too much abstract talking, lots of short samples, and getting practice with Cocoa/AppKit right away.

It’s very cool to visualize inheritance with a simple demo app, for example. I think I’d have liked to learn Cocoa programming this way.

The book is both heavily illustrated and full of lists. I like lists because they’re easy to follow. There’s no point in writing high prose when all you need to convey is to perform 10 simple steps in a specific sequence. So it’s an easy read, and if you follow through the examples, you should be done in a couple of evenings fiddling around with the code.

Since this book is aimed at “absolute beginners”, you won’t learn why the author picks NSAlert.beginWithCompletionHandler instead of the old-fashioned runModal. There’s not a lot of discussion and teaching of the intricacies. But as a beginner, you probably wouldn’t want to know anyway.

But what do you like to know? Best practices presented as the de facto standard are a good starting point. How will you learn to compare the only solution you know from a book with the plethora of different approaches you’ll find on the web once things get hairy and you need new solutions? There should be an additional chapter about thinking as a programmer and teaching yourself new concepts, how to compare their utility and idiosyncratic drawbacks. But this is lacking from every book I know and not just Wang’s fault.

I think Wallace Wang does a very good job at teaching the basics and then showing them to his readers in Swift OS X Programming for Absolute Beginners. That’s a huge win.

Interested? Buy it from this link from amazon to support my writing – amazon gives me a small kickback for referrals.

Computa But I know Computa Tune is also good.I say this as someone who does a lot of gear wrenching myself but needs outside assistance for larger tasks. My personal mechanic is Fisher’s Auto Repair. I’ll change my oil, disk brakes, air filters, replace radiator, install speakers/lights, switches, etc, but for something bigger like maybe the radiator thermostat, I let the pros handle that.I’ve found that a GOOD mechanic is one that doesn’t just do whatever you think so wrong. Stay far away from any chain mechanic (Midas, Firestone, etc)The best are single mechanics that start their own business, or family owned operations.

Receive new .

Swift OS X Programming for Absolute Beginners
Overview -

Swift OS X Programming for Absolute Beginners is your step-by-step guide to learning how to code using Swift, Apple's hottest new programming language. This book will not only teach complete programming novices how to write OS X programs, but it can also help experienced programmers moving to the Macintosh for the first time. You will learn to understand the principles of programming, how to use Swift and Xcode, and how to combine your knowledge into writing OS X 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 Macintosh and iOS app development while being powerful and easy to learn at the same time, and Swift OS X Programming for Absolute Beginners is the perfect place to start - add it to your library today.

Read Full Product Description
local_shippingFor Delivery
In Stock.
FREE Shipping for Club Membershelp
storeBuy Online Pickup At Store
New & Used Marketplace 7 copies from $52.81

More About Swift OS X Programming for Absolute Beginners by Wallace Wang
Overview

Swift OS X Programming for Absolute Beginners is your step-by-step guide to learning how to code using Swift, Apple's hottest new programming language. This book will not only teach complete programming novices how to write OS X programs, but it can also help experienced programmers moving to the Macintosh for the first time. You will learn to understand the principles of programming, how to use Swift and Xcode, and how to combine your knowledge into writing OS X 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 Macintosh and iOS app development while being powerful and easy to learn at the same time, and Swift OS X Programming for Absolute Beginners is the perfect place to start - add it to your library today.

Swift Os X Programming For Absolute Beginners By Wallace Wang Full


This item is Non-Returnable.

  • ISBN-13: 9781484212349
  • ISBN-10: 1484212347
  • Publisher: Apress
  • Publish Date: May 2015
  • Page Count: 544
  • Dimensions: 10 x 7 x 1.16 inches
  • Shipping Weight: 2.16 pounds

Related Categories

Swift Os X Programming For Absolute Beginners By Wallace Wang Music

Books >Computers >Computer Science
Books >Computers >Programming - Macintosh
Books >Computers >Languages - General