Jump to ratings and reviews
Rate this book

iOS and OS X Network Programming Cookbook

Rate this book
This book follows a recipe-based approach that will heavily focus on the code and how to integrate the samples with the reader s projects.Each recipe consists of one or more methods that you can put directly into your app and use. This book is ideal for developers that want to create network applications for the Apple OS X or iOS platforms. All examples are written in Objective-C using XCode as the IDE. Knowledge of Objective-C and X-Code is essential.

300 pages, Paperback

First published January 1, 2014

1 person is currently reading
14 people want to read

About the author

Jon Hoffman

29 books3 followers

Ratings & Reviews

What do you think?
Rate this book

Friends & Following

Create a free account to discover what your friends think of this book!

Community Reviews

5 stars
6 (40%)
4 stars
6 (40%)
3 stars
2 (13%)
2 stars
1 (6%)
1 star
0 (0%)
Displaying 1 - 7 of 7 reviews
10 reviews3 followers
May 2, 2014
The book certainly is a good refresher on networking basics tcp/ip udp, posix and how it fits in with osx and ios. There is loads plenty of nice beginner stuff like building echo servers and constructing ping packets so readers with no networking knowledge at all can be broken in gently.

There is a comprehensive chapter on Libnet that starts with a refresher on network layers and steadily builds in complexity, again making it suitable for all skill levels. It's hard to exaggerate the thrill of sending yourself messages even if it is just across the living room. It is just so much fun being Vint Cerf just for an hour or two.

Perhaps the book could have had even more in it. I loved working through the tutorials, especially as I had never done anything remotely network orientated on Mac before. But the book weighs in over 270 pages so it would be unfair to criticise really.

Overall the information was extremely compelling and definitely a candidate for cookbook 2 .
4 reviews
April 9, 2014
The author starts with the BSD socket library to build up to Apple's CFNetworking and continues on to Apple's high level networking API such NSXMLParser, NSURL and NSData.

The book covers open source libraries as well such as AFNetworking, MKNetworkKit,
libnet and Libpcap, thus providing the reader with a full arsenal of networking
knowledge for Mac OS X and iOS.

The recipes included were well written and extensive. My favorites are the Peer to Peer Bluetooth and Bonjour recipes. You can choose to read the book by picking a section that is of interest or simply start at the beginning and go cover to cover. While the book is a "cookbook" there is continuity between the chapters unlike many other cookbooks on the market.

Profile Image for Shahin Katebi.
1 review3 followers
April 17, 2014
I was one of the technical reviewers of this book. It is a great handy cookbook for everyone from newbie to advanced iOS and OSX developers who want to create applications with networking functionalities, from using RESTful web APIs to advanced socket programming and persistent connections.

This book covers many major networking libraries. some from original iOS/OSX SDKs, and also many great 3rd. party libraries you find out there.

One of the greatest advantages of this book is it's great examples and sample codes for every library. they are covered from scratch and they're 100% working, well explained, without any unclear parts.

I recommend this book to every iOS/OSX developer with or without experience using networking features in applications.
2 reviews
May 2, 2014
This is an excellent book to have for all the iOS and OS X Enterprise and AppStore developers. The author has covered almost everything related to network programming for iOS and OS X.

He has explained the concepts crisp and clear with good examples. BSD socket libraries , high level and low level networking , Bonjour , AFNetworking are some of the concepts that the author covers which comes very handy while programming.

A good book to have.
4 reviews
April 9, 2014
The author starts with the BSD socket library to build up to Apple's CFNetworking and continues on to Apple's high level networking API such NSXMLParser, NSURL and NSData.

The book covers open source libraries as well such as AFNetworking, MKNetworkKit,
libnet and Libpcap, thus providing the reader with a full arsenal of networking
knowledge for Mac OS X and iOS.

The recipes included were well written and extensive. My favorites are the Peer to Peer Bluetooth and Bonjour recipes. You can choose to read the book by picking a section that is of interest or simply start at the beginning and go cover to cover. While the book is a "cookbook" there is continuity between the chapters unlike many other cookbooks on the market.

1 review
August 1, 2014
I just read this book for iOS and OS X programming i.e "iOS and OS X network programming cookbook".

I have always liked cookbooks and this one is not an exception. Author has covered all the topics with practical examples. I have gone through few iOS books and this one is best so far.
All in all, this is a cookbook I'm happy to have added to my collection.

Here is the packtpub library link for the book

http://www.packtpub.com/ios-and-os-x-...
2 reviews1 follower
April 7, 2014
This book is great, very useful. It talks about everything about networking from the low level (function in C) to top level with popular framework as AFNetworking. Specially great for clarifying concepts. The example code is very useful to bring ideas to the land.
Displaying 1 - 7 of 7 reviews

Can't find what you're looking for?

Get help and learn more about the design.