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
複雑なドメインに挑む.pdf
yukisakai1225
5
1.1k
AIでLINEスタンプを作ってみた
eycjur
1
230
RDoc meets YARD
okuramasafumi
4
170
そのAPI、誰のため? Androidライブラリ設計における利用者目線の実践テクニック
mkeeda
2
250
AIコーディングAgentとの向き合い方
eycjur
0
260
Tool Catalog Agent for Bedrock AgentCore Gateway
licux
6
2.3k
「手軽で便利」に潜む罠。 Popover API を WCAG 2.2の視点で安全に使うには
taitotnk
0
830
🔨 小さなビルドシステムを作る
momeemt
3
670
[FEConf 2025] 모노레포 절망편, 14개 레포로 부활하기까지 걸린 1년
mmmaxkim
0
1.6k
OSS開発者という働き方
andpad
5
1.7k
Improving my own Ruby thereafter
sisshiki1969
1
160
旅行プランAIエージェント開発の裏側
ippo012
2
890
Featured
See All Featured
"I'm Feeling Lucky" - Building Great Search Experiences for Today's Users (#IAC19)
danielanewman
229
22k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Being A Developer After 40
akosma
90
590k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
What's in a price? How to price your products and services
michaelherold
246
12k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
333
22k
Optimising Largest Contentful Paint
csswizardry
37
3.4k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
The Pragmatic Product Professional
lauravandoore
36
6.9k
Imperfection Machines: The Place of Print at Facebook
scottboms
268
13k
Speed Design
sergeychernyshev
32
1.1k
How to train your dragon (web standard)
notwaldorf
96
6.2k
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