Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Objective-C at CocoaHeadsGDL
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Juan Pablo Ortiz Aréchiga
March 24, 2012
Programming
130
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Objective-C at CocoaHeadsGDL
Introduction of Objective-C
Juan Pablo Ortiz Aréchiga
March 24, 2012
More Decks by Juan Pablo Ortiz Aréchiga
See All by Juan Pablo Ortiz Aréchiga
Introduction to programming
pablasso
1
86
Objective-C Introduction part2
pablasso
3
160
Objective-C Introduction part1
pablasso
5
180
Other Decks in Programming
See All in Programming
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
380
AIに “答え“を書かせるのを やめてみた
___akari11
0
130
Kotlinの15年とServer-Side Kotlin
n_takehata
1
160
Performance Optimization With LLMs
xleitix
0
200
Web Framework Benchmark Battle 2026, Any%
a_matsuda
3
2.8k
FactoryBotをやめればRSpecは速くなるのか?
yuta_onishi_97
0
1.1k
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
450
npm との違いを手がかりにGo の依存管理を理解したい
optim
0
1k
JIS keyboard support in Omarchy
lef237
0
160
コードで差別化できない時代の ソフトウェアエンジニアリング / Software Engineering in an Era Where Code Doesn’t Differentiate
kishida
2
190
Lambda durable functionsでHuman in the Loopを楽に…楽に……
har1101
1
190
SalesForceを内製化!? ~ HR事業を支える顧客管理基盤のインフラを大公開 ~
oku053
0
190
Featured
See All Featured
How to optimise 3,500 product descriptions for ecommerce in one day using ChatGPT
katarinadahlin
PRO
3
3.9k
How to Align SEO within the Product Triangle To Get Buy-In & Support - #RIMC
aleyda
2
1.8k
The Art of Programming - Codeland 2020
erikaheidi
57
14k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
450
The SEO identity crisis: Don't let AI make you average
varn
0
590
Have SEOs Ruined the Internet? - User Awareness of SEO in 2025
akashhashmi
0
530
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.6k
We Have a Design System, Now What?
morganepeng
55
8.4k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.7k
Winning Ecommerce Organic Search in an AI Era - #searchnstuff2025
aleyda
2
2.2k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.6k
Transcript
Objective-C y el desarrollo según Papá Jobs CocoaHeadsGDL viernes 23
de marzo de 12
Un poco de historia • En los 80’s por Brad
Cox y Tom Love • Pre-procesador de C • C + Smalltalk = Obj-C • No muy popular viernes 23 de marzo de 12
¡NeXT al rescate! viernes 23 de marzo de 12
• NeXT al final fue un fracaso • GNU implementó
un compilador libre en los 90’s • Apple compra NeXT, impulsa el lenguaje y sus herramientas. viernes 23 de marzo de 12
Curiosidades de Objective-C • Se puede mezclar con C; puedes
declarar variables primitivas. • Su POO la hereda de Smalltalk • Lenguaje dinámico: runtime detecta tipos de variables • Se maneja con interfaz (.h) e implementación (.m) viernes 23 de marzo de 12
Métodos viernes 23 de marzo de 12
Al estilo de Objective-C: viernes 23 de marzo de 12
Métodos multiparámetros viernes 23 de marzo de 12
Accessors Propiedades y dot syntax al rescate: viernes 23 de
marzo de 12
Creando objetos Autorelease es tu amigo Es tu responsabilidad liberar
la memoria. viernes 23 de marzo de 12
Manejo de memoria viernes 23 de marzo de 12
La interfaz 1 2 3 viernes 23 de marzo de
12
La implementación Los getters viernes 23 de marzo de 12
La implementación Los setters viernes 23 de marzo de 12
La implementación Dealloc es imprescindible en iOS viernes 23 de
marzo de 12
Manejo de memoria reference counting viernes 23 de marzo de
12
Manejo de memoria SIEMPRE que hagas alloc, haz release. viernes
23 de marzo de 12
Debug con NSLog mismas reglas que printf() viernes 23 de
marzo de 12
Propiedades en lugar de esto... viernes 23 de marzo de
12
Propiedades .. esto se manejan en automático por ti viernes
23 de marzo de 12
Propiedades utiliza synthesize en la implementación evita llenar todo de
métodos get y set viernes 23 de marzo de 12
nil es tu amigo siempre cuida la memoria por ti
mismo, pero con nil puedes asegurarte de no tener bloqueos. viernes 23 de marzo de 12
Categorías agrega métodos a una clase existente sin necesidad de
hacer una subclase viernes 23 de marzo de 12
Categorías una vez que importaste la categoría la puedes usar
en cualquier NSString viernes 23 de marzo de 12
Referencias • Google: • “Cocoa Dev Central” • “Stanford iTunes
U” • Aaron Hillegas, Big nerd ranch, Cocoa, viernes 23 de marzo de 12
Gracias twitter.com/pablasso Juan Pablo Ortiz Aréchiga pablasso.com viernes 23 de
marzo de 12