iOS 4编程Cookbook(英文影印版)
基本信息
- 原书名: iOS 4 Programming Cookbook: Solutions & Examples for iPhone, iPad, and iPod touch Apps
- 原出版社: O'Reilly Media
- 作者: Vandad Nahavandipoor [作译者介绍]
- 丛书名: 东南大学出版社O'Reilly系列
- 出版社:东南大学出版社
- ISBN:9787564126858
- 上架时间:2011-7-20
- 出版日期:2011 年5月
- 开本:16开
- 页码:617
- 版次:1-1
- 所属分类:
计算机 > 软件与程序设计 > 汇编语言/编译原理 > 汇编语言程序设计
内容简介回到顶部↑
你能够在ios平台上创建各种令人赞叹的应用——而且每一种应用都解决了不同的问题。通过《ios 4编程cookbook(英文影印版)》的案例,你将不再停留在理论阶段,而是着手解决各种你在为iphone、ipad和ipod touch编写应用时很有可能面临的令人烦恼的现实问题。每个案例都提供了清晰的解决方案和你可以直接使用的示例代码。
你将会在《ios 4编程cookbook(英文影印版)》中找到如何使用ios sdk 4的开发框架和诸如cocoa、obiective-c、xcode和 intei-face builder等技术。无论你对ios开发的了解有多少,你都会从本书找到你在开发过程中每个阶段——从初始的构思阶段到项目完成——所希望获得的帮助。
·使用objective-c类、对象,属性、代理和内存管理
·使用手势识别器构造用户接口
·使用map kit和core location api开发位置感知应用
·创建能够播放音频和视频、管理日历和事件、访问联系人和群组或者面向照片库的应用
·使用core motion框架访问加速度计和陀螺仪
·使用core data框架维护ios应用的持久存储
·创建多任务应用,用户可以离开和回到这个应用而不会丢失他们的位置信息
你将会在《ios 4编程cookbook(英文影印版)》中找到如何使用ios sdk 4的开发框架和诸如cocoa、obiective-c、xcode和 intei-face builder等技术。无论你对ios开发的了解有多少,你都会从本书找到你在开发过程中每个阶段——从初始的构思阶段到项目完成——所希望获得的帮助。
·使用objective-c类、对象,属性、代理和内存管理
·使用手势识别器构造用户接口
·使用map kit和core location api开发位置感知应用
·创建能够播放音频和视频、管理日历和事件、访问联系人和群组或者面向照片库的应用
·使用core motion框架访问加速度计和陀螺仪
·使用core data框架维护ios应用的持久存储
·创建多任务应用,用户可以离开和回到这个应用而不会丢失他们的位置信息
作译者回到顶部↑
本书提供作译者介绍
Vandad Nahavandipoor是伦敦的一家具有全球领先的移动支付解决方案公司的工作人员。他与世界最大的几家品牌(包括Visa和US银行)一起合作过客户服务移动应用。Vandad已经有多年用Cocoa、CocoaTouch、Assembly、Delphi和.NET开发软件的经验。
.. << 查看详细
.. << 查看详细
目录回到顶部↑
《ios 4编程cookbook(英文影印版)》
preface
1. working with objects
1.1 implementing and using custom objects
1.2 allocating and initializing objects
1.3 defining two or more methods with the same name in an object
1.4 defining and accessing properties
1.5 managing properties manually
1.6 reusing a block of code
1.7 communicating with objects
1.8 invoking the selectors of an object dynamically
1.9 managing memory with the ios sdk
1.10 managing untyped objects
2. implementing controllers and views
2.1 getting and using the application delegate
2.2 managing the views in your application
2.3 creating your application's gui
2.4 making your view controller available at runtime
2.5 using a view in your application's gui
2.6 managing master-detail views
preface
1. working with objects
1.1 implementing and using custom objects
1.2 allocating and initializing objects
1.3 defining two or more methods with the same name in an object
1.4 defining and accessing properties
1.5 managing properties manually
1.6 reusing a block of code
1.7 communicating with objects
1.8 invoking the selectors of an object dynamically
1.9 managing memory with the ios sdk
1.10 managing untyped objects
2. implementing controllers and views
2.1 getting and using the application delegate
2.2 managing the views in your application
2.3 creating your application's gui
2.4 making your view controller available at runtime
2.5 using a view in your application's gui
2.6 managing master-detail views
前言回到顶部↑
I started developing iPhone applications in late 2007. Between then and now, I have worked on various iPhone OS applications for different companies across the globe. As you might have already guessed, iOS is my favorite platform and Objective-C is my favorite programming language. I find that Objective-C helps programmers write clean code and iOS helps developers write user-friendly and useful applications.
I have coded in other programming languages such as Assembly (using NASM and TASM) and Delphi/Pascal for many years, and I still find myself going through disassembled Objective-C code to find out which method of doing a certain thing or accomplishing a certain result in Objective-C is better optimized on a certain device and/or operating system.
After becoming comfortable with the iOS SDK, I gradually built up a thirst to write a book about the iOS SDK, and with the help of wonderful people at O'Reilly, you are now reading the result of the several hundred hours that have been put into writing new material for lOS 3 and lOS 4, editing, reviewing, revising, and publishing.
So, please go ahead and start exploring the recipes. I hope you'll find that they are easy to cook and digest!
Audience
I assume you are comfortable with the iOS development environment and know how to create an app for the iPhone or iPad. This book does not get novice programmers started, but presents useful ways to get things done for intermediate to expert lOS programmers.
Organization of This Book
In this book, we will discuss frameworks and classes that are available in lOS 3 and iOS 4. In some recipes, you will find code that runs only on iOS 4 and later; in those recipes, I note that you will need the iOS 4 SDK or later to compile the example code.
Here is a concise breakdown of the material each chapter covers:
Chapter 1, Working with Objects
Explains how Objective-C classes are structured and how objects can be instantiated. The chapter talks about properties and delegates as well as memory management in Objective-C. Even if you are competent in Objective-C, I strongly suggest that you go through this chapter, even if you are skimming through it, to understand the basic material that is used in the rest of the chapters.
Chapter 2, Implementing Controllers and Views
Describes various approaches to constructing your iOS application's user interface by taking advantage of different tools the SDK provides. This chapter also introduces you to features that are only available on the iPad, such as the popover and split view controllers.
Chapter 3, Constructing and Using Table Views
Shows how you can work with table views to create professional-looking iOS applications. Table views are very dynamic in nature, and as a result, programmers sometimes have difficulty understanding how they should work with them. By reading this chapter and having a look at and trying out the example code, you will gain the knowledge that is required to comfortably work with table views.
Chapter 4, Core Location and Maps
Describes how you should use Map Kit and Core Location APIs to develop location-aware iOS applications. First you will learn about maps, and then you will learn how to detect a device's location and tailor your maps with custom annotations. You will also learn about geocoding and reverse geocoding, as well as some of the methods of the Core Location framework, which are only available in the iOS 4 SDK and later.
Chapter 5, Implementing Gesture Recognizers
Demonstrates how to use gesture recognizers, which enable your users to easily and intuitively manipulate the graphical interface of your iOS applications. In this chapter, you will learn how to use all available gesture recognizers in the iOS SDK,with working examples tested on iOS 3 and iOS 4 on different devices such as the iPhone 3GS, iPhone 4, and iPad.
Chapter 6, Networking and XML
I have coded in other programming languages such as Assembly (using NASM and TASM) and Delphi/Pascal for many years, and I still find myself going through disassembled Objective-C code to find out which method of doing a certain thing or accomplishing a certain result in Objective-C is better optimized on a certain device and/or operating system.
After becoming comfortable with the iOS SDK, I gradually built up a thirst to write a book about the iOS SDK, and with the help of wonderful people at O'Reilly, you are now reading the result of the several hundred hours that have been put into writing new material for lOS 3 and lOS 4, editing, reviewing, revising, and publishing.
So, please go ahead and start exploring the recipes. I hope you'll find that they are easy to cook and digest!
Audience
I assume you are comfortable with the iOS development environment and know how to create an app for the iPhone or iPad. This book does not get novice programmers started, but presents useful ways to get things done for intermediate to expert lOS programmers.
Organization of This Book
In this book, we will discuss frameworks and classes that are available in lOS 3 and iOS 4. In some recipes, you will find code that runs only on iOS 4 and later; in those recipes, I note that you will need the iOS 4 SDK or later to compile the example code.
Here is a concise breakdown of the material each chapter covers:
Chapter 1, Working with Objects
Explains how Objective-C classes are structured and how objects can be instantiated. The chapter talks about properties and delegates as well as memory management in Objective-C. Even if you are competent in Objective-C, I strongly suggest that you go through this chapter, even if you are skimming through it, to understand the basic material that is used in the rest of the chapters.
Chapter 2, Implementing Controllers and Views
Describes various approaches to constructing your iOS application's user interface by taking advantage of different tools the SDK provides. This chapter also introduces you to features that are only available on the iPad, such as the popover and split view controllers.
Chapter 3, Constructing and Using Table Views
Shows how you can work with table views to create professional-looking iOS applications. Table views are very dynamic in nature, and as a result, programmers sometimes have difficulty understanding how they should work with them. By reading this chapter and having a look at and trying out the example code, you will gain the knowledge that is required to comfortably work with table views.
Chapter 4, Core Location and Maps
Describes how you should use Map Kit and Core Location APIs to develop location-aware iOS applications. First you will learn about maps, and then you will learn how to detect a device's location and tailor your maps with custom annotations. You will also learn about geocoding and reverse geocoding, as well as some of the methods of the Core Location framework, which are only available in the iOS 4 SDK and later.
Chapter 5, Implementing Gesture Recognizers
Demonstrates how to use gesture recognizers, which enable your users to easily and intuitively manipulate the graphical interface of your iOS applications. In this chapter, you will learn how to use all available gesture recognizers in the iOS SDK,with working examples tested on iOS 3 and iOS 4 on different devices such as the iPhone 3GS, iPhone 4, and iPad.
Chapter 6, Networking and XML
媒体评论回到顶部↑
“这是为那些严格的iOS编程员准备的终极工具,它将变革你如何基于Objective-C编程。”
———Sushil Shirke iOS开发人员,Monitise plc
———Sushil Shirke iOS开发人员,Monitise plc







点击看大图
加载中...

