Oreilly - Xcode and Instruments Fundamentals: Build and Optimize Apps for iOS and OS X
by | Released January 2013 | ISBN: 0133400409
Xcode and Instruments Fundamentals LiveLessons covers how to develop and debug applications with the Xcode IDE and how to use Instruments to perform sophisticated debugging and performance analysis.Brandon Alexander, developer and author, covers how to use the iOS development toolkit. The first four lessons cover Xcode by showing viewers how to navigate the basic interface, create a new project and use various editors, understand how Xcode organizes the build settings, debug their application with LLDB, and customize Xcode for their workflow. Lessons 5-10 focus on Instruments by showing viewers how to navigate the interface and profile their application, analyze memory leaks and break retain cycles, analyze general performance and make the application responsive, analyze Core Data performance, analyze power consumption of the application, and use Instruments to drive the application.About the Author:Brandon Alexander is a developer, author, and speaker. Having worked in multiple industries writing various types of software, Brandon has found his calling as an iOS developer. After entering the world of iOS development, he began speaking at conferences and authored the book Pro iOS 5 Tools (Apress). Brandon is an iOS developer at Black Pixel, which is an interdisciplinary team of senior designers, developers, and artists working together to create beautiful and well-architected applications for Apple hardware. www.blackpixel.com. Show and hide more
- Introduction
- Introduction to Xcode and Instruments Fundamentals LiveLessons 00:04:18
- Lesson 1: Welcome to Xcode
- Learning objectives 00:00:35
- 1.1 Tour the Xcode interface 00:20:28
- 1.2 Navigate Xcode 00:18:50
- Lesson 2: Editing Your Project’s Files
- Learning objectives 00:01:13
- 2.1 Edit source files 00:11:54
- 2.2 Edit Interface Builder files 00:06:25
- 2.3 Create Storyboards 00:04:08
- 2.4 Edit Core Data models 00:05:03
- Lesson 3: Inside Your Project’s Build Settings
- Learning objectives 00:00:35
- 3.1 Edit your project’s build configuration 00:08:06
- 3.2 Conquer Targets and Schemes 00:09:07
- 3.3 Create sub-projects and static libraries 00:02:29
- Lesson 4: Advanced Xcode
- Learning objectives 00:00:36
- 4.1 Prepare for debugging on the device 00:03:20
- 4.2 Debug with LLDB 00:10:47
- 4.3 Customize Xcode 00:06:58
- Lesson 5: Welcome to Instruments
- Learning objectives 00:00:33
- 5.1 Prepare for performance tuning and look at the Instruments interface 00:10:37
- 5.2 Tour the available Instruments 00:05:22
- Lesson 6: Debugging Memory Issues
- Learning objectives 00:00:26
- 6.1 Fix memory leaks and retain cycles 00:04:47
- 6.2 Detect and remove NSZombies 00:04:46
- 6.3 Analyze overall memory performance 00:06:08
- Lesson 7: General Performance Analysis and Tuning
- Learning objectives 00:00:32
- 7.1 Use the Time Profiler: Discover inefficient algorithms 00:04:15
- 7.2 Use the Time Profiler: Un-block the main thread 00:08:35
- 7.3 Improve graphics performance: Analyze blended layers 00:04:21
- 7.4 Improve graphics performance: Discover offscreen rendered images 00:05:21
- 7.5 Improve graphics performance: Find misaligned images 00:04:05
- Lesson 8: Tuning Core Data
- Learning objectives 00:00:35
- 8.1 Analyze fetches 00:05:00
- 8.2 Look at the cache system 00:05:21
- 8.3 Analyze save times and frequency 00:02:45
- Lesson 9: Power Management
- Learning objectives 00:00:35
- 9.1 Gather power usage data 00:01:32
- 9.2 Analyze power usage data 00:08:05
- Lesson 10: Automation with Instruments
- Learning objectives 00:00:25
- 10.1 Automate UI testing 00:05:53
- 10.2 Combine automation with other Instruments 00:02:34
- Summary
- Summary of Xcode and Instruments Fundamentals LiveLessons 00:02:46
Show and hide more