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
66
Objective-C Introduction part1
pablasso
5
160
Objective-C at CocoaHeadsGDL
pablasso
1
110
Other Decks in Programming
See All in Programming
Git Rebase
bkuhlmann
11
1.6k
코틀린으로 멀티플랫폼 만들기
pangmoo
0
140
Semantic search with Django and pgvector
pauloxnet
0
240
二郎系ラーメンのコールで学ぶ AST 解析
memory1994
PRO
7
1.7k
コードレビューで学ぶ!Kotlinオブジェクト指向デザインパターン
akkie76
2
190
StoreKit2によるiOSのアプリ内課金のリニューアル
kangnux
0
110
Amazon SQSコンシューマー疎結合への旅 - 出張! #DevelopersIO IT技術ブログの中の人が語る勉強会 #3
quiver
0
220
見た目から始める生産性向上
ikumatadokoro
7
770
スクラムガイドのスプリントレトロスペクティブを改めて読みかえしてみた / Re-reading the Sprint Retrospective Section in the Scrum Guide
mackey0225
3
400
Tailwind CSSを本気でカスタマイズする方法
fsubal
13
5.1k
ADRを一年運用してみた/adr_after_a_year
hanhan1978
7
2.3k
ゆるい個人開発のススメ
kuroppe1819
10
980
Featured
See All Featured
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
1
1.3k
Creatively Recalculating Your Daily Design Routine
revolveconf
209
11k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
77
42k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
The Straight Up "How To Draw Better" Workshop
denniskardys
227
130k
Docker and Python
trallard
33
2.7k
Designing for Performance
lara
601
67k
How GitHub (no longer) Works
holman
304
140k
In The Pink: A Labor of Love
frogandcode
138
21k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
154
14k
Building Applications with DynamoDB
mza
88
5.6k
The Art of Programming - Codeland 2020
erikaheidi
41
12k
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