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

With Early Release ebooks, you get books in their earliest form—the author's raw and unedited content as he or she writes—so you can take advantage of these technologies long before the official release of these titles. You'll also receive updates when significant changes are made, new chapters as they're written, and the final ebook bundle.

This practical guide teaches programmers (of even a very basic level) how to build applications for OS X and iOS 8, using the Cocoa Framework, the new Xcode IDE, and Swift—Apple’s new programming language. You’ll quickly learn the basics for building Mac, iPhone, and iPad apps.

  • Write programs using Swift within the Cocoa Framework
  • Learn the similarities and differences between OS X and iOS
  • Get real-world applications of advanced Cocoa and Cocoa Touch features
Table of Contents
Product Details
About the Author
Recommended for You
Customer Reviews

REVIEW SNAPSHOT®

by PowerReviews
oreillySwift Development with Cocoa
 
4.4

(based on 7 reviews)

Ratings Distribution

  • 5 Stars

     

    (4)

  • 4 Stars

     

    (2)

  • 3 Stars

     

    (1)

  • 2 Stars

     

    (0)

  • 1 Stars

     

    (0)

86%

of respondents would recommend this to a friend.

Pros

  • Concise (5)
  • Accurate (4)
  • Easy to understand (4)
  • Well-written (4)

Cons

    Best Uses

    • Intermediate (7)
    • Novice (3)
      • Reviewer Profile:
      • Developer (6)

    Reviewed by 7 customers

    Sort by

    Displaying reviews 1-7

    Back to top

    (1 of 1 customers found this review helpful)

     
    5.0

    Excellent resource for existing programm

    By Dameon

    from France

    About Me Developer

    Verified Reviewer

    Pros

    • Accurate
    • Concise
    • Easy to understand

    Cons

    • Concise

    Best Uses

    • Expert
    • Intermediate

    Comments about oreilly Swift Development with Cocoa:

    I've been programming C++ and Java for over 20 years. I picked up this book with the hopes that it would assist me in branching out to developing iPhone software, and perhaps later on software for the Macintosh.

    I've been pleasantly surprised by the breadth of subjects covered by this book. As some other reviewers have suggested, this book is concise. I find this pleasing, because it allows it to cover a huge amount of material.

    I'm not familiar with Xcode but the book provided adequate (even excellent) guidance throughout. In general I think this book is well suited to those are already programmers and want to figure out how to use Apple's developer tools and languages.

    Highlights of the book included the excellent "Programming with Swift" chapter, the chapter on "Closures and Operation Queues", as well as the comprehensive overviews of SpriteKit and SceneKit.

    (1 of 5 customers found this review helpful)

     
    3.0

    Useful but lacking in details

    By Etienne

    from Ottawa, Canada

    About Me Developer

    Verified Reviewer

    Pros

    • Concise

    Cons

    • Difficult to understand
    • Incorrect Terminology
    • Not comprehensive enough

    Best Uses

    • Intermediate

    Comments about oreilly Swift Development with Cocoa:

    You have to commend this book for its terseness, but in doing so, it although skips a lot of important information. This is evidenced in the description of the Self keyword when compared to the one in Apple's Swift Guide:

    ---

    O'Reilly:

    Code that's in a method is able to access the properties of a class by using the self keyword, which refers to the object that's currently running the code.

    ---

    Apple:

    Every instance of a type has an implicit property called self, which is exactly equivalent to the instance itself. You use the self property to refer to the current instance within its own instance methods.

    In practice, you don't need to write self in your code very often. If you don't explicitly write self, Swift assumes that you are referring to a property or method of the current instance whenever you use a known property or method name within a method. This assumption is demonstrated by the use of count (rather than self.count) inside the three instance methods for Counter.

    The main exception to this rule occurs when a parameter name for an instance method has the same name as a property of that instance. In this situation, the parameter name takes precedence, and it becomes necessary to refer to the property in a more qualified way. You use the self property to distinguish between the parameter name and the property name.

    ---

    As you can see, there is a wealth of really important information here which is completely missed.

    The terseness also makes it difficult to understand certain concepts like Closures, notwithstanding the fact that the book actually doesn't employ the correct technical Swift terms in many cases.

    For instance, there's nary a mention of nested functions and function return types, even though the examples clearly make use of them.

    As for the more visual aspects of Cocoa, I would highly recommend video training instead. This book's explanations are missing visual references in such a way that you could only really understand them if you've programmed in Xcode before. They're not actually useful for anyone trying to learn this for the first time.

    (4 of 5 customers found this review helpful)

     
    5.0

    it's excellent ebook!

    By iNachox

    from Rosario,AR

    About Me Developer

    Pros

    • Concise
    • Easy

    Cons

      Best Uses

      • Intermediate

      Comments about oreilly Swift Development with Cocoa:

      This is excellent swift ebook!!!

      (4 of 4 customers found this review helpful)

       
      4.0

      Great Book

      By Wayne

      from Madison, AL

      About Me Developer

      Verified Buyer

      Pros

      • Easy to understand
      • Well-written

      Cons

        Best Uses

        • Intermediate

        Comments about oreilly Swift Development with Cocoa:

        As a disclaimer, I have not finished reading the book cover to cover yet. The parts I have finished have been really good. I'm much more familiar with iOS than OS X and the book does a good job of pointing out where things differ between the platforms.

        (5 of 5 customers found this review helpful)

         
        4.0

        Broad and deep!

        By Tricia

        from Denver

        About Me Developer

        Verified Reviewer

        Pros

        • Accurate
        • Broad
        • Deep
        • Helpful examples
        • Well-written

        Cons

          Best Uses

          • Intermediate
          • Novice

          Comments about oreilly Swift Development with Cocoa:

          This is an excellent new book from O'Reilly and covers a lot of ground on the new Swift languag as well as using it with Cocoa for Mac and iPhone development. I enjoyed the authors coverage of the new language interwined with the Cocoa frameworks. I particularly like that it covers so many of the features of iPhone/Mac development, as this really gave me a feel for what I need to develop actual apps with this platform.

          The coverage of Mac and iPhone is mixed together, if that bothers you.

          Found the code on Github and that was very useful.

          (7 of 7 customers found this review helpful)

           
          5.0

          Good overview of Swift and Cocoa feature

          By Samantha

          from Russian Federation

          About Me Developer

          Pros

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

          Cons

            Best Uses

            • Intermediate
            • Novice

            Comments about oreilly Swift Development with Cocoa:

            I am trying to learn Swift after a few months of programming with ObjectiveC. This book has been a helpful guide so far and appears to present the topics I am interested in.

            The code samples are very solid and diverse. I was pleased that they were available on Git Hub as well.

            The chapter ordering seems to be strange, but I feel that is an artifact of the early release.

            Recommended book for those looking to understand Swift development for iOS or Mac.

            (12 of 12 customers found this review helpful)

             
            5.0

            Detailed and useful!

            By roger

            from melbourne australia

            About Me Maker, Sys Admin

            Pros

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

            Cons

              Best Uses

              • Expert
              • Intermediate
              • Novice
              • Student

              Comments about oreilly Swift Development with Cocoa:

              This is another great Day 1 book from o'Reilly for Apples new language. Very happy with the wide coverage of topics and the discussion of the subject matter. Looking forward to the final release.

              Covers everything I wanted to know about iOS and Mac development with Swift, and explains Swift really well.

              Displaying reviews 1-7

              Back to top

               
              Buy 2 Get 1 Free Free Shipping Guarantee
              Buying Options
              Immediate Access - Go Digital what's this?
              Pre-Order  Print: $39.99
              December 2014 (est.)