SlideShare a Scribd company logo
iOS5
 
 Xcode4 
2012.1.18
  
EungShik
 Kim
WHAT’S
 NEW
 IN
 IOS5
iOS 5 & Xcode 4: ARC, Stroryboards
Xcode Tools 
Instruments
Xcode Tools Language Objective-C 
Instruments
Xcode Tools Language 
Objective-C 
Instruments 
Frameworks 
Foundation 
UIKit 
Core Data 
Core Location 
(etc)
Xcode Tools Language 
Objective-C 
Instruments 
Frameworks Patterns 
Foundation 
UIKit 
Core Data 
Core Location 
(etc) 
MVC 
Delegation 
Target-Action
iOS
 Development
 Process
  
testing
 /
 debugging
 /
 provisioning
 /
 app
 submission 
Xcode Tools Language 
Objective-C 
Instruments 
Frameworks Patterns 
Foundation 
UIKit 
Core Data 
Core Location 
(etc) 
MVC 
Delegation 
Target-Action
iOS
 Development
 Process 
Tools Language 
Frameworks Patterns
iOS
 Development
 Process 
Tools Language 
Frameworks Patterns 
Xcode 4.2 
LLVM 3.0 Compiler 
ARC Support 
Storyboarding
iOS
 Development
 Process 
Tools Language 
Frameworks Patterns 
Enhancements 
for ARC
iOS
 Development
 Process 
Tools Language 
Frameworks Patterns 
Twitter 
Newsstand Kit 
UIKit 
Foundation 
No Siri Support (Jan 2012)
iOS
 Development
 Process 
Tools Language 
Frameworks Patterns
iOS
 Device
 Support
iOS
 Device
 Support 
iPhone 4S 
iPhone 4
iOS
 Device
 Support 
iPhone 4S 
iPhone 4 
iPhone 3GS 
iPod Touch 3G/4G
iOS
 Device
 Support 
iPhone 4S 
iPhone 4 
iPhone 3GS 
iPod Touch 3G/4G 
iPad 
iPad 2
INTRODUCTION
 TO
 ARC
INTRODUCTION
 TO
 ARC 
AUTOMATIC
 REFERENCE
 COUNTING
 
ARC
 Concept
ARC
 Concept 
MyClass *myObj = [[MyClass alloc] init]; 
[myObj someMethod]; // etc. 
[myObj release];
ARC
 Concept
ARC
 Concept 
myObj 
MyClass *myObj = [[MyClass alloc] init]; 
[myObj someMethod]; // etc. 
[myObj release];
ARC
 Concept 
myObj dangling pointer 
MyClass *myObj = [[MyClass alloc] init]; 
[myObj someMethod]; // etc. 
[myObj release];
ARC
 Concept 
myObj dangling pointer 
MyClass *myObj = [[MyClass alloc] init]; 
[myObj someMethod]; // etc. 
[myObj release]; 
[myObj someMethod]; // Boom!
ARC
 Concept 
myObj dangling pointer 
MyClass *myObj = [[MyClass alloc] init]; 
[myObj someMethod]; // etc. 
[myObj release]; 
[myObj someMethod]; // boom!
ARC
 Concept 
myObj dangling pointer 
MyClass *myObj = [[MyClass alloc] init]; 
[myObj someMethod]; // etc. 
[myObj release]; 
[myObj someMethod]; // boom! 
myObj2 
MyClass *myObj2 = [[MyClass alloc] init]; 
[myObj2 someMethod]; // etc. 
!
ARC
 Concept 
myObj dangling pointer 
MyClass *myObj = [[MyClass alloc] init]; 
[myObj someMethod]; // etc. 
[myObj release]; 
[myObj someMethod]; // boom! 
memory leak
ARC
 Concept 
MyClass *myObj = [[MyClass alloc] init]; 
[myObj someMethod]; // etc. 
[myObj release];
WHAT
 ARC
 MANAGE
WHAT
 ARC
 DOES
 AND
 DOESN’T
 MANAGE
WHAT
 ARC
 DOES
 AND
 DOESN’T
 MANAGE 
myObj 
MyClass *myObj = [[MyClass alloc] init];
WHAT
 ARC
 DOES
 AND
 DOESN’T
 MANAGE 
strong references 
myObj msg 
MyClass *myObj = [[MyClass alloc] init]; 
NSString *msg = [NSString stringWithFormat:@Hello];
WHAT
 ARC
 DOES
 AND
 DOESN’T
 MANAGE 
strong references 
myObj msg 
MyClass *myObj = [[MyClass alloc] init]; 
NSString *msg = [NSString stringWithFormat:@Hello];
WHAT
 ARC
 DOES
 AND
 DOESN’T
 MANAGE 
strong references 
myObj msg 
MyClass *myObj = [[MyClass alloc] init]; 
NSString *msg = [NSString stringWithFormat:@Hello]; 
msg = nil;
WHAT
 ARC
 DOES
 AND
 DOESN’T
 MANAGE 
NSString *msg = [NSString stringWithFormat:@Hello]; 
msg = nil;
ARC
 IS
 NOT
 GABAGE
 COLLECTION

More Related Content

PDF
Modernize your Objective-C
PDF
How DRY impacts JavaScript performance // Faster JavaScript execution for the...
PDF
JavaScript - From Birth To Closure
PDF
Es.next
PDF
TDD with PhpSpec - Lone Star PHP 2016
PDF
Driving Design with PhpSpec
PDF
Dip Your Toes in the Sea of Security (ConFoo YVR 2017)
PDF
TDD with PhpSpec
Modernize your Objective-C
How DRY impacts JavaScript performance // Faster JavaScript execution for the...
JavaScript - From Birth To Closure
Es.next
TDD with PhpSpec - Lone Star PHP 2016
Driving Design with PhpSpec
Dip Your Toes in the Sea of Security (ConFoo YVR 2017)
TDD with PhpSpec

What's hot (20)

PDF
Survive JavaScript - Strategies and Tricks
PDF
Kicking off with Zend Expressive and Doctrine ORM (ConFoo YVR 2017)
PDF
Alloy Tips & Tricks #TiLon
PDF
Crafting Quality PHP Applications (ConFoo YVR 2017)
PDF
TDD with phpspec2
PDF
Objective-C for Java Developers
ODP
Javascript
PDF
JavaScript Patterns
PDF
Ruby 程式語言綜覽簡介
PDF
Modernizes your objective C - Oliviero
PDF
Crafting Quality PHP Applications (PHP Benelux 2018)
KEY
JavaScript Growing Up
PDF
From dot net_to_rails
PDF
Ruby 入門 第一次就上手
PPT
Beginning Object-Oriented JavaScript
KEY
The JavaScript Programming Primer
PPTX
Understanding Object Oriented Javascript - Coffee@DBG June
PPTX
Modern JS with ES6
PPTX
Javascript Best Practices and Intro to Titanium
PPT
Groovy Update - JavaPolis 2007
Survive JavaScript - Strategies and Tricks
Kicking off with Zend Expressive and Doctrine ORM (ConFoo YVR 2017)
Alloy Tips & Tricks #TiLon
Crafting Quality PHP Applications (ConFoo YVR 2017)
TDD with phpspec2
Objective-C for Java Developers
Javascript
JavaScript Patterns
Ruby 程式語言綜覽簡介
Modernizes your objective C - Oliviero
Crafting Quality PHP Applications (PHP Benelux 2018)
JavaScript Growing Up
From dot net_to_rails
Ruby 入門 第一次就上手
Beginning Object-Oriented JavaScript
The JavaScript Programming Primer
Understanding Object Oriented Javascript - Coffee@DBG June
Modern JS with ES6
Javascript Best Practices and Intro to Titanium
Groovy Update - JavaPolis 2007
Ad

Viewers also liked (9)

PPT
PPTX
iOS 5 Kick-Start @ISELTech
PDF
What Google+ Means for Marketers
KEY
Fwt ios 5
PDF
What's new in iOS development: XCode 4.5 and iOS 5 & 6
PDF
Unit 6 Fourth Grade 2012 2013
PPTX
Ios operating system
PDF
What Apple's iOS 5 Means for Marketers
PPTX
Apple iOS
iOS 5 Kick-Start @ISELTech
What Google+ Means for Marketers
Fwt ios 5
What's new in iOS development: XCode 4.5 and iOS 5 & 6
Unit 6 Fourth Grade 2012 2013
Ios operating system
What Apple's iOS 5 Means for Marketers
Apple iOS
Ad

Similar to iOS 5 & Xcode 4: ARC, Stroryboards (20)

KEY
Objective-C Crash Course for Web Developers
PPTX
A Blink Into The Rails Magic
KEY
Intro to iPhone Development
PDF
Pioc
PDF
Free The Enterprise With Ruby & Master Your Own Domain
KEY
iOSDevCamp 2011 - Getting "Test"-y: Test Driven Development & Automated Deplo...
KEY
Rubymotion talk
KEY
RubyMotion
PDF
Automatic Reference Counting
PDF
Automatic Reference Counting
PDF
Lecture 2: ES6 / ES2015 Slide
PDF
Working with Cocoa and Objective-C
PDF
How to Begin to Develop Ruby Core
PDF
MFF UK - Introduction to iOS
PDF
l2-es6-160830040119.pdf
PPTX
Building mobile apps using Phonegap
PDF
Practical JavaScript Programming - Session 8/8
PDF
What Makes Objective C Dynamic?
PPTX
08 - Return Oriented Programming, the chosen one
PDF
iOS 101 - Xcode, Objective-C, iOS APIs
Objective-C Crash Course for Web Developers
A Blink Into The Rails Magic
Intro to iPhone Development
Pioc
Free The Enterprise With Ruby & Master Your Own Domain
iOSDevCamp 2011 - Getting "Test"-y: Test Driven Development & Automated Deplo...
Rubymotion talk
RubyMotion
Automatic Reference Counting
Automatic Reference Counting
Lecture 2: ES6 / ES2015 Slide
Working with Cocoa and Objective-C
How to Begin to Develop Ruby Core
MFF UK - Introduction to iOS
l2-es6-160830040119.pdf
Building mobile apps using Phonegap
Practical JavaScript Programming - Session 8/8
What Makes Objective C Dynamic?
08 - Return Oriented Programming, the chosen one
iOS 101 - Xcode, Objective-C, iOS APIs

More from EungShik (Henry) Kim (12)

PDF
[Apple] 애플 wwdc 2015 중요사항 공유 세미나
PDF
PDF
PDF
[Osx dev] server essential lesson 11. managing with profile manager
PDF
[Osx dev] server essential lesson 10. configuring os x server to provide de...
PDF
How to Develop iDrummer for the 1st time
PDF
How To Distribute iPhone Apps to App Store
PDF
OpenGL ES on iOS
PDF
Osx cocoa study-ch36_nstask
PDF
2D games with iOS or Corona
PDF
What is corona sdk (Korean)
PDF
Smart phone&tv 20101015
[Apple] 애플 wwdc 2015 중요사항 공유 세미나
[Osx dev] server essential lesson 11. managing with profile manager
[Osx dev] server essential lesson 10. configuring os x server to provide de...
How to Develop iDrummer for the 1st time
How To Distribute iPhone Apps to App Store
OpenGL ES on iOS
Osx cocoa study-ch36_nstask
2D games with iOS or Corona
What is corona sdk (Korean)
Smart phone&tv 20101015

Recently uploaded (20)

PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PPTX
CHAPTER 2 - PM Management and IT Context
PDF
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
iTop VPN Free 5.6.0.5262 Crack latest version 2025
PPTX
Introduction to Artificial Intelligence
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Nekopoi APK 2025 free lastest update
PDF
Designing Intelligence for the Shop Floor.pdf
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Which alternative to Crystal Reports is best for small or large businesses.pdf
PDF
PTS Company Brochure 2025 (1).pdf.......
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
Operating system designcfffgfgggggggvggggggggg
Odoo Companies in India – Driving Business Transformation.pdf
Why Generative AI is the Future of Content, Code & Creativity?
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
CHAPTER 2 - PM Management and IT Context
Product Update: Alluxio AI 3.7 Now with Sub-Millisecond Latency
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
iTop VPN Free 5.6.0.5262 Crack latest version 2025
Introduction to Artificial Intelligence
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Navsoft: AI-Powered Business Solutions & Custom Software Development
Design an Analysis of Algorithms II-SECS-1021-03
Nekopoi APK 2025 free lastest update
Designing Intelligence for the Shop Floor.pdf
How to Choose the Right IT Partner for Your Business in Malaysia
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Which alternative to Crystal Reports is best for small or large businesses.pdf
PTS Company Brochure 2025 (1).pdf.......
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
Operating system designcfffgfgggggggvggggggggg

iOS 5 & Xcode 4: ARC, Stroryboards