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
Tips & Tricks for iPhone Application Development
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Adrian Kosmaczewski
August 27, 2009
Technology
0
240
Tips & Tricks for iPhone Application Development
Presentation shown in Copenhagen, Denmark.
Adrian Kosmaczewski
August 27, 2009
Tweet
Share
More Decks by Adrian Kosmaczewski
See All by Adrian Kosmaczewski
What's in your Container? Securing the Software Supply Chain without Slowing Down
akosma
0
18
Managing Fleets of Kubernetes Clusters with GitOps
akosma
4
280
DevOps in Switzerland from 2018 to 2022
akosma
4
360
APPUiO Cloud
akosma
2
780
Introduction to K8up
akosma
0
420
Creating Products through DevOps: The Story of VSHN
akosma
0
290
Everyday Life of an Open-Source Company: The Story of VSHN
akosma
0
370
Creating a Product through DevOps: The Story of APPUiO Cloud
akosma
0
760
Migrating the GitLab–Kubernetes Integration from Certificates to the Agent
akosma
0
610
Other Decks in Technology
See All in Technology
JAWS DAYS 2026 CDP道場 事前説明会 / JAWS DAYS 2026 CDP Dojo briefing document
naospon
0
120
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.4k
競争優位を生み出す戦略的内製開発の実践技法
masuda220
PRO
2
530
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
4k
「ストレッチゾーンに挑戦し続ける」ことって難しくないですか? メンバーの持続的成長を支えるEMの環境設計
sansantech
PRO
1
160
AI Agentにおける評価指標とAgent GPA
tsho
1
280
ヘルシーSRE
tk3fftk
2
230
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3k
脱・コピペ!自分で調べて書くK8sマニフェスト
devops_vtj
0
110
Claude Cowork Plugins を読む - Skills駆動型業務エージェント設計の実像と構造
knishioka
0
240
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
15
95k
社内ワークショップで終わらせない 業務改善AIエージェント開発
lycorptech_jp
PRO
1
450
Featured
See All Featured
A Tale of Four Properties
chriscoyier
162
24k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
67
37k
Bootstrapping a Software Product
garrettdimon
PRO
307
120k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
1
1.9k
Designing for Performance
lara
611
70k
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
How to Talk to Developers About Accessibility
jct
2
140
The browser strikes back
jonoalderson
0
750
Game over? The fight for quality and originality in the time of robots
wayneb77
1
130
Six Lessons from altMBA
skipperchong
29
4.2k
Unsuck your backbone
ammeep
672
58k
So, you think you're a good person
axbom
PRO
2
1.9k
Transcript
tips & tricks for iPhone application development
None
adrian kosmaczewski
akosma software akosma.com akosma.tumblr.com github.com/akosma linkedin.com/in/akosma facebook.com/akosma
@akosma
None
some questions
@perlausten? @supermouse? @williwu?
new to iPhone?
technologies?
J2EE, J2ME, .NET, RoR, others?
programming languages?
C / C++? Java, C#? Ruby, Python, Lua? JavaScript?
None
iPhone dev ≠ web dev
None
Cocoa & Objective-C
born in the 80s
None
None
None
None
Objective-C
Objective-C Java @interface & @implementation class @protocol interface #import //
files! import // classes! categories n/a id n/a
• Thin layer around C • Message-dispatch runtime • Static
and dynamic (you choose) • The “real” father of Java: • http://cs.gmu.edu/~sean/stuff/java-objc.html
• Single inheritance + interfaces (“@protocols”) • @protocols can have
optional methods • Fields protected by default • All methods are virtual and overridable • Methods can be added to existing classes • Full introspection / reflection • Messages can be intercepted and forwarded • à la AOP!
Cocoa Touch
None
None
iPhone Specifics
None
128 or 256 MB RAM
~70 MB for the OS!
no swap file
(no virtual memory)
no garbage collector
(manual memory management)
http://cocoadevcentral.com/d/learn_objectivec/
no automatic objects on the stack (C++)
// C++ // Memory freed when out of scope std::string
name(“Adrian”); std::string *name = NULL; name = new std::string(“Adrian”); delete name;
hygiene
None
memory warnings
None
avoid autorelease
None
None
lazy-loading & reuse
None
custom table cells & reuse
None
override setters properly
None
beware of delegation
None
instruments & static analysis
None
warnings as errors
None
code organization
(cheaper maintenance)
None
iPhone ≠ computer
http://www.flickr.com/photos/oskay/365607662/
http://www.flickr.com/photos/blakespot/2379207825/
http://www.flickr.com/photos/oskay/365607591/
None
books
None
None
None
None
None
None
None
None
None
thanks!
questions?