Swift Development with Cocoa
Developing for the Mac and iOS App Stores
Publisher: O'Reilly Media
Final Release Date: December 2014
Pages: 474

Ready to build apps for iPhone, iPad, and Mac now that Swift has landed? If you’re an experienced programmer who’s never touched Apple developer tools, this hands-on book shows you how to use the Swift language to make incredible iOS and OS X apps, using Cocoa and Cocoa Touch.

Learn how to use Swift in a wide range of real-world situations, with Cocoa features such as Event Kit and Core Animation. You’ll pick up Swift language features and syntax along the way, and understand why using Swift (instead of Objective-C) makes iOS and Mac app development easier, faster, and safer. You’ll also work with several exercises to help you practice as you learn.

  • Learn the OS X and iOS application lifecycle
  • Use storyboards to design adaptive interfaces
  • Explore graphics systems, including the built-in 2D and 3D game frameworks
  • Display video and audio with AVFoundation
  • Store data locally with the file system, or on the network with iCloud
  • Display lists or collections of data with table views and collection views
  • Build apps that let users create, edit, and work with documents
  • Use MapKit, Core Location, and Core Motion to interact with the world
Table of Contents
Product Details
About the Author
Colophon
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillySwift Development with Cocoa
 
4.3

(based on 15 reviews)

Ratings Distribution

  • 5 Stars

     

    (9)

  • 4 Stars

     

    (3)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (2)

  • 1 Stars

     

    (0)

80%

of respondents would recommend this to a friend.

Pros

  • Concise (10)
  • Accurate (8)
  • Helpful examples (8)
  • Well-written (8)
  • Easy to understand (6)

Cons

    Best Uses

    • Intermediate (12)
    • Expert (5)
    • Student (4)
    • Novice (3)
      • Reviewer Profile:
      • Developer (15)

    Reviewed by 15 customers

    Sort by

    Displaying reviews 1-10

    Back to top

    Previous | Next »

    (3 of 3 customers found this review helpful)

     
    5.0

    Great all rounder

    By Sam

    from UK

    About Me Developer

    Verified Reviewer

    Pros

    • Accurate
    • Concise
    • Helpful examples

    Cons

      Best Uses

      • Intermediate
      • Novice

      Comments about oreilly Swift Development with Cocoa:

      I purchased all of O'Reilly's Swift books. This was the best one.

      It covers a wide range of things, the examples are not too weird and it doesn't bore you with unnecessary details. Easy to read and refer to when you need it. Good code examples.

      (4 of 4 customers found this review helpful)

       
      5.0

      I would by this again ...

      By Svenne

      from Sweden

      About Me Developer

      Verified Buyer

      Pros

      • Accurate
      • Helpful examples
      • Well-written

      Cons

        Best Uses

        • Intermediate
        • Student

        Comments about oreilly Swift Development with Cocoa:

        I learn Swift

        (8 of 8 customers found this review helpful)

         
        4.0

        Best book on Swift IOS/Cocoa available

        By Senor Castro

        from Caguas, Puerto Rico

        About Me Developer

        Verified Reviewer

        Pros

        • Helpful examples
        • Well-written

        Cons

        • Not comprehensive enough

        Best Uses

        • Intermediate

        Comments about oreilly Swift Development with Cocoa:

        After purchasing a few other books on Swift and IOS, I feel that this book is by far the best currently available. The books covers a vast range of topics, attempting to hit everything from IOS/Cocoa internals, Swift programming, and IOS/Cocoa development. Every chapter has great examples, though in some areas the information is not as concise as I would like it. However, I think overall this is an excellent book and has helped me tremendously.

        (1 of 9 customers found this review helpful)

         
        2.0

        Unprecise instructions.

        By Pavitx

        from Barcelona, Spain

        About Me Developer

        Verified Reviewer

        Pros

          Cons

          • Too basic

          Best Uses

            Comments about oreilly Swift Development with Cocoa:

            The Constraints example in chapter 4 does not work with current version of Xcode 6.1.1 (6A2008a). And it is full of errors, it refers to a table when it tells you to add a text view. Disappointing so far but I still have to read on.

            (11 of 11 customers found this review helpful)

             
            5.0

            Best Cocoa book for existing programmers

            By Krit

            from Colorado

            About Me Developer

            Pros

            • Accurate
            • Concise

            Cons

            • Os X And Ios Coverage

            Best Uses

            • Expert
            • Intermediate
            • Student

            Comments about oreilly Swift Development with Cocoa:

            Happy to read this book. I've spent a long time buying all sorts of Cocoa books back in the Objective-C days and I did not want to buy this one after being burned so many times. I went ahead though and am very happy.

            Clear examples and very concise non nonsense writing style.

            (8 of 8 customers found this review helpful)

             
            5.0

            Indispensible guide for Swift

            By David

            from Netherlands

            About Me Developer

            Pros

            • Accurate
            • Concise
            • Well-written

            Cons

              Best Uses

              • Intermediate

              Comments about oreilly Swift Development with Cocoa:

              I am an old Pascal and C programmer. I enjoyed this book. It covers a lot of good material. Reminds me of the old Hillegass books. Great place to start if you're competent with another language and want to learn Swift.

              (12 of 12 customers found this review helpful)

               
              5.0

              Excellent book for programmers

              By Simon

              from Great Outdoors

              About Me Developer

              Verified Reviewer

              Pros

              • Accurate
              • Concise
              • Easy to understand
              • Helpful examples
              • Well-written

              Cons

                Best Uses

                • Expert
                • Intermediate
                • Novice

                Comments about oreilly Swift Development with Cocoa:

                I've been reading this book over the las 2 weeks and I felt compelled to post a review. I have been a customer of O'Reilly books all the way back to some of the original Perl tomes and I have only been disappointed on a mere handful of occasions. This book "Swift Development With Cocoa" was no exception. A fine book throughout.

                Starting with a thorough introduction to the Cocoa Development Tools, the book moves briskly (and concisely) to the Swift programming language and on to the structure of Macintosh and iPhone apps and then to concurrency, bezier paths, sprite kit (for games), scene kit (for 3D), audio and video playback, iCloud and storing things, documents, networking and beyond.

                I was particularly impressed by the clear and very succinct prose combined with the accessible and easy to read casual style of the writing. I am very happy that this book chooses to cover Macintosh as well as iPhone programming and such uncommon topics as command line applications and preference bars (it is the little things that count).

                I have been a C, C# and C++ programmer for more years than I care to remember. I have never used Xcode or Objective-C before but I felt that I knew my way around after a week with this book. Code on Github was very helpful as well.

                Very highly recommended as an excellent resource to build your knowledge and then keep around as a reference book long after.

                (1 of 11 customers found this review helpful)

                 
                2.0

                Misleading and poor structure

                By Curtmantle

                from United Kingdom

                About Me Developer

                Verified Reviewer

                Pros

                • Includes Os X Development

                Cons

                • Conceptual Errors
                • Poor Structure

                Best Uses

                  Comments about oreilly Swift Development with Cocoa:

                  I am perhaps in the minority but I was disappointed with this book.

                  I lost some confidence in the authors early on when I read the definition of the MVC design pattern which is either misleading or just plain wrong. It defines the model as a data repository and states that the controller contains business logic which is in contrast to the conventional definition of the pattern, including Apple's own definition in its Developer Library. Following the guidance of the authors would negate the whole point of MVC.

                  I also thought the structure of the book was quite unconventional. Most books like this will introduce core concepts in the early stages then have specialised chapters later on in the book. But this book moves very quickly on to graphics, animation and even 3D which are specialised topics. The user only learns how to bind to a controller in Chapter 11 despite the authors describing the MVC pattern as "fundamental". Any developer not interested in graphics might jump immediately to this chapter but would be left wondering what core concepts have been missed in the graphics chapters.

                  I've read better introductions to Swift and I've found it more useful to read existing Objective-C based books on Cocoa to learn the fundamentals of developing OS X applications.

                  Finally, I found the lack of reference to C# conspicuous. There are regular mentions of C, C++ and Java but not a single mention of C#. Even the designers of Swift have noted that C# was an influence and there are some concepts which are identical and even called the same thing, but it's like the authors can't bring themselves to mention the Microsoft created language. Maybe it's innocent... maybe not.

                  (10 of 11 customers found this review helpful)

                   
                  5.0

                  Great book

                  By marko

                  from Beograd

                  About Me Developer

                  Pros

                  • Accurate
                  • Concise
                  • Easy to understand
                  • Helpful examples
                  • Well-written

                  Cons

                    Best Uses

                    • Expert
                    • Intermediate

                    Comments about oreilly Swift Development with Cocoa:

                    I liked this book because it didn't just tell you what to do and how, it explained the reasoning behind it so you really understand the concepts. The example code was very clear and well commented too.

                    (15 of 15 customers found this review helpful)

                     
                    5.0

                    Massive book with a lot of topics

                    By Betsy

                    from Mildura

                    About Me Developer

                    Verified Reviewer

                    Pros

                    • Accurate
                    • Concise
                    • Easy to understand
                    • Helpful examples
                    • Well-written

                    Cons

                    • Broad

                    Best Uses

                    • Expert
                    • Intermediate

                    Comments about oreilly Swift Development with Cocoa:

                    This felt like a cookbook but isn't marketed as one. I am very much enjoying this book though.

                    It jumps between Mac and IOS topics a lot, and covers a huge amount of ground for both Cocoa and Cocoa for iOS as well as Swift itself. It does it in a concise and clear manner and with a fair amount of humour.

                    I recommend this book if you are trying to learn Swift after moving from another programming series. After seeing "Learning Cocoa" videos by the same people (I think) I would enjoy a video series based on this book too.

                    Displaying reviews 1-10

                    Back to top

                    Previous | Next »

                     
                    Buy 2 Get 1 Free Free Shipping Guarantee
                    Buying Options
                    Immediate Access - Go Digital what's this?
                    Ebook: $33.99
                    Formats:  DAISY, ePub, Mobi, PDF
                    Print & Ebook: $43.99
                    Print: $39.99