Đang chuẩn bị liên kết để tải về tài liệu:
Phát triển ứng dụng cho iPhone và iPad - part 3

Đang chuẩn bị nút TẢI XUỐNG, xin hãy chờ

Tham khảo tài liệu 'phát triển ứng dụng cho iphone và ipad - part 3', công nghệ thông tin, kỹ thuật lập trình phục vụ nhu cầu học tập, nghiên cứu và làm việc hiệu quả | CONTENTS Collection Operators 221 Additional Considerations When Using KVC 222 Key-Value Observing 222 Observing Changes to an Object 223 Automatic and Manual Implementations of KVO 224 Key-Value Observing Example 224 Building the User Interface 225 The Counter Data Object 226 Implementing Key-Value Observing 227 Updating Values with Key-Value Coding 229 Using NSPredicate 231 Creating Predicates 231 Using Predicates 232 Sort Descriptors 233 Moving Forward 234 CHAPTER 9 CORE DATA MIGRATION AND PERFORMANCE 235 Model Versioning and Schema Migration 235 Model Versioning 237 Lightweight Migration 239 Generating a Mapping Model 242 Safely Threading with Core Data 246 Designing for Threading 246 Threading and Core Data 247 Threading with NSOperation 248 Core Data Threading Example 249 Blocking the Main Thread 251 Moving the Blocking Call 252 Core Data Performance 257 Faulting 258 Data Store Types 259 Storing Binary Data 259 Entity Inheritance 260 Runtime Performance 260 Managing Changes with the Fetched Results Controller 261 Performance Analysis Using Instruments 264 Starting Instruments 264 The Instruments Interface 266 The Core Data Instruments 267 Moving Forward 268 xix CONTENTS PART III APPLICATION INTEGRATION USING WEB SERVICES CHAPTER 10 WORKING WITH XML ON THE IPHONE 271 iPhone SDK and the Web 271 Web Application Architecture 272 Synchronous Data Retrieval 273 The URL Loading System 273 Web Access Sample 275 Starting the Application 275 Building the Interface 276 Requesting Data from the Server 277 Creating the Request 277 NSURLConnection Delegate Methods 278 Finishing Up 282 XML and the iPhone SDK 282 Brief Overview of XML 282 Parsing XML with NSXML Parser 283 Extending the Example Parsing the XML 285 Starting Out 285 Setting Up to Parse 286 Modifying the Interface 288 Implementing the Parser Delegate Methods 288 Generating XML with libxml 291 XML Generation Sample 292 Moving Forward 300 CHAPTER 11 INTEGRATING WITH WEB SERVICES 301 Network Application .