iOS and OS X Network Programming Cookbook
Book Details:
Publisher: | Packt Publishing |
Series: |
Packt , Cookbook
|
Author: | Jon Hoffman |
Edition: | 1 |
ISBN-10: | 1849698082 |
ISBN-13: | 9781849698085 |
Pages: | 300 |
Published: | Jan 22 2014 |
Posted: | Nov 19 2014 |
Language: | English |
Book format: | PDF |
Book size: | 2.92 MB |
Book Description:
Over 50 recipes to develop network applications in both the iOS and OS X environment Overview Use several Apple and third-party APIs to develop both server and client networked applications Shows you how to integrate all of the third-party libraries and APIs with your applications Includes sample projects for both iOS and OS X environments In Detail Darwin, which forms the core set of components for OS X and iOS, is compatible with the Single UNIX Specification Version 3 and POSIX UNIX. Therefore OS X and iOS are UNIX operating systems. While there are numerous books and articles written to teach network development in a UNIX environment there is surprisingly little dedicated to teaching network development specifically in an Apple environment. In this book we will be covering the standard UNIX networking stack with BSD Sockets as well as Apple's frameworks like CFNetworking and Bonjour. "iOS and OS X Network Programming Cookbook" is an enthralling code-focused book on developing client and server applications for the iOS and OS X environments. You will learn how to integrate a number of Unix (BSD Sockets), Apple specific (CFNetworking, NSMutableURLRequest, Bonjour) and third party APIs (AFNetworking, MKNetworking) with your own apps. "iOS and OS X Network Programming Cookbook" begins by showing you how to build both client and server applications using the BSD Socket Library as well as Apple's CFNetworking library. The sample code includes samples for both iOS and OS X. It then covers how to add Bonjour to publish, find, and connect to services. This can be used to create peer-to-peer applications over local networks. Finally it shows how to integrate third-party libraries like Libnet, LibPCAP, AFNetworking, and MKNetworking with the reader's apps. A lot of developers do not realize that iOS is a full UNIX-based operating system that contains a full set of networking APIs. These APIs can be used to create both client- and server-based applications in the iOS environment as well as OS X. Using the Apple's Bonjour library you will learn how to publish, find, and connect the services together without hardcoding the connection information. There are also a number of third-party APIs that can be used to easily connect iOS and OS X applications to web-based services. Finally this book will cover several low level libraries like LibNET and LibPCAP on the OS X environment. "iOS and OS X Network Programming Cookbook" will cover several UNIX, Apple, and third-party libraries and APIs. The book will show the user how to integrate all of these libraries and APIs with their applications. What you will learn from this book Create client- and server-based applications with the BSD socket API Create client- and server-based applications with CFNetworking Publish, find, and connect client applications with servers using Apple's Bonjour library Use the AFNetworking library to connect to web-based services Connect to web-based services using the MKNetworking library Explore the LibNET packet construction library in OS X Get to grips with the LibPCAP packet capture library in OS X Discover Apple's high-level APIs to connect to devices via Bluetooth Connect two devices with a Bluetooth connection
With ARC, Grand Central Dispatch, and Blocks
If you want to develop efficient, smooth-running applications, controlling concurrency and memory are vital.Automatic Reference Counting is Apple's game-changing memory management system, new to Xcode 4.2. Pro Multithreading and Memory Management for iOS and OS X shows you how ARC works and how best to incorporate it into your applications.Grand Central Dispatch (GCD) and blocks are key to developing great apps, allowing you to control threads for maximum performance. If for you, multithreading is an unsolved mystery and ARC is unexplored territory, then this is the book you'll need to make these concepts clear and send you on your way to becoming a master iOS and OS X developer. What are blocks? How are they used with GCD? Multithreading with GC...
A Hands-On Guide to Structuring Data for iOS and OS X
'A great read for iOS developers who want to learn if iCloud is right for their app and dive right in with lots of practical code examples.' -Jon Bell, UXLaunchpad.com Get Hands-On Mastery of iCloud Data Management for iOS 7 and OS X Mavericks As apps rapidly move into business and the cloud, iOS and OS X developers need new data management techniques. In Learning iCloud Data Management, renowned Apple database expert Jesse Feiler shows you how to use Apple's latest APIs and technologies to structure and synchronize all forms of data. Feiler helps you understand the issues, implement efficient solutions, and deliver highly usable apps that seamlessly synchronize during the 'Round Trip' between iOS and OS X and back again. This guide walks...
IOS and OS X Development
Use Xcode 5 to Write Great iOS and OS X Apps! Xcode 5 Start to Finish will help you use the tools in Apple's Xcode 5 to improve productivity, write great code, and leverage the newest iOS 7 and OS X Mavericks features. Drawing on thirty years of experience developing for Apple platforms and helping others do so, Fritz Anderson shows you a complete best-practice Xcode workflow. Through three full sample projects, you'll learn to integrate testing, source control, and other key skills into a high-efficiency process that works. Anderson shows you better ways to storyboard, instrument, build, and compile code, and helps you apply innovations ranging from Quick Look to Preview Assistant. By the time you're finished, you'll have the advanced Xcode...
2007 - 2021 © eBooks-IT.org