Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Objective-C Introduction part2
Search
Juan Pablo Ortiz Aréchiga
March 24, 2012
Programming
3
140
Objective-C Introduction part2
Juan Pablo Ortiz Aréchiga
March 24, 2012
Tweet
Share
More Decks by Juan Pablo Ortiz Aréchiga
See All by Juan Pablo Ortiz Aréchiga
Introduction to programming
pablasso
1
74
Objective-C Introduction part1
pablasso
5
170
Objective-C at CocoaHeadsGDL
pablasso
1
120
Other Decks in Programming
See All in Programming
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
280
Introducing ReActionView: A new ActionView-Compatible ERB Engine @ Kaigi on Rails 2025, Tokyo, Japan
marcoroth
3
980
Cursorハンズオン実践!
eltociear
2
910
アメ車でサンノゼを走ってきたよ!
s_shimotori
0
220
Your Perfect Project Setup for Angular @BASTA! 2025 in Mainz
manfredsteyer
PRO
0
160
Django Ninja による API 開発効率化とリプレースの実践
kashewnuts
0
1.2k
CSC509 Lecture 03
javiergs
PRO
0
330
dynamic!
moro
10
7.2k
株式会社 Sun terras カンパニーデック
sunterras
0
270
なぜあの開発者はDevRelに伴走し続けるのか / Why Does That Developer Keep Running Alongside DevRel?
nrslib
3
390
Le côté obscur des IA génératives
pascallemerrer
0
140
Go Conference 2025: Goで体感するMultipath TCP ― Go 1.24 時代の MPTCP Listener を理解する
takehaya
8
1.6k
Featured
See All Featured
KATA
mclloyd
32
15k
GraphQLの誤解/rethinking-graphql
sonatard
73
11k
We Have a Design System, Now What?
morganepeng
53
7.8k
Automating Front-end Workflow
addyosmani
1371
200k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.9k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
657
61k
Statistics for Hackers
jakevdp
799
220k
Building a Modern Day E-commerce SEO Strategy
aleyda
43
7.7k
Into the Great Unknown - MozCon
thekraken
40
2.1k
Testing 201, or: Great Expectations
jmmastey
45
7.7k
Transcript
Objective-C & Cocoa viernes 23 de marzo de 12
Blocks • Typed argument list just like a function •
Can capture state from the lexical scope within which it is defined • Can optionally modify the state of the lexical scope • Can share the potential for modification with other blocks defined within the same viernes 23 de marzo de 12
Blocks viernes 23 de marzo de 12
Blocks viernes 23 de marzo de 12
MVC viernes 23 de marzo de 12
Views • Represent a rectangular area • Draws and handles
events • Hierarchical • Ordered as they’re added viernes 23 de marzo de 12
Views Frame • Rectangle • CGPoint = {0.0f, 0.0f} •
CGSize = {100.0f, 100.0f} • CGRect = {0.0f, 0.0f, 100.0f, 100.0f} viernes 23 de marzo de 12
Views order viernes 23 de marzo de 12
Views transparency • Can do, but is expensive (composites) •
Opaque is your friend viernes 23 de marzo de 12
Views memory management • A parent retains it’s subviews •
Released when removeFromSuperView viernes 23 de marzo de 12
View Controllers • View based applications.. so most of them
• Could use a nib, but not required viernes 23 de marzo de 12
View Controllers viernes 23 de marzo de 12
View Controllers • UINavigationController • UITabBarController • UISplitViewController viernes 23
de marzo de 12
UIGestureRecognizer • Touches! • 1. Assign gesture recognizer to a
view. • 2. Handle event for gesture • 3. Profit viernes 23 de marzo de 12
UIGestureRecognizer viernes 23 de marzo de 12