@addamh
this guy
Ruby on Rails
Javascript
Developer
iOS
Slide 3
Slide 3 text
No content
Slide 4
Slide 4 text
web developer?
it’s time to evolve
Slide 5
Slide 5 text
tablet sales to surpass desktop sales by 2015
Slide 6
Slide 6 text
demand
supply
Slide 7
Slide 7 text
demand
supply
profit
Slide 8
Slide 8 text
No content
Slide 9
Slide 9 text
the run down
Slide 10
Slide 10 text
strict superset of C
Objective-C
Slide 11
Slide 11 text
strict superset of C
compiled language
Objective-C
Slide 12
Slide 12 text
strict superset of C
compiled language
object-oriented
Objective-C
Slide 13
Slide 13 text
strict superset of C
compiled language
object-oriented
dynamic
Objective-C
Slide 14
Slide 14 text
strict superset of C
compiled language
object-oriented
dynamic
strictly typed
Objective-C
Slide 15
Slide 15 text
strict superset of C
compiled language
object-oriented
dynamic
strictly typed
smalltalk style messaging
Objective-C
Slide 16
Slide 16 text
strict superset of C
compiled language
object-oriented
dynamic
strictly typed
smalltalk style messaging
very verbose
Objective-C
Slide 17
Slide 17 text
difficulties for
web developers
Slide 18
Slide 18 text
C
bummers
Slide 19
Slide 19 text
C
compiling! so much time!
bummers
Slide 20
Slide 20 text
C
compiling! so much time!
the dynamic-ness. sort of.
bummers
Slide 21
Slide 21 text
C
compiling! so much time!
the dynamic-ness. sort of.
asynchronous/threading
bummers
Slide 22
Slide 22 text
C
compiling! so much time!
the dynamic-ness. sort of.
asynchronous/threading
memory management
bummers
Slide 23
Slide 23 text
C
compiling! so much time!
the dynamic-ness. sort of.
asynchronous/threading
memory management
bummers
Slide 24
Slide 24 text
C
compiling! so much time!
the dynamic-ness. sort of.
asynchronous/threading
memory management
static typing
bummers
Slide 25
Slide 25 text
C
compiling! so much time!
the dynamic-ness. sort of.
asynchronous/threading
memory management
static typing
errors
bummers
Slide 26
Slide 26 text
xcode
Slide 27
Slide 27 text
xcode
Slide 28
Slide 28 text
xcode
Slide 29
Slide 29 text
xcode
Slide 30
Slide 30 text
xcode
Slide 31
Slide 31 text
xcode
Slide 32
Slide 32 text
xcode
Slide 33
Slide 33 text
xcode
Slide 34
Slide 34 text
typing
Slide 35
Slide 35 text
typing
Ruby PHP
Objective-C
$var = 21;
$variable = “This is a string”;
var = 21
variable = “This is a string”
(int) var = 21;
NSString *variable = @“This is a string”;
Slide 36
Slide 36 text
typing
C Primitives Common Classes
char
short
long
unsigned
char
unsigned
int
int
float
double
bool
NSString
NSNumber
NSArray
NSDictionary
NSMutableArray
NSMutableDictionary
UIView
UIButton
id
and 20,000 others..
Slide 37
Slide 37 text
header files
implementation files
wat?
Slide 38
Slide 38 text
headers / implementation
class.h
The public API for the class
@interface Student {
NSNumber *age;
NSString *name;
}
@end
Slide 39
Slide 39 text
headers / implementation
class.h class.m
The public API for the class The instructions for the class
@interface Student {
NSNumber *age;
NSString *name;
}
@end
@implementation Student
- (NSString *) name {
}
@end
Slide 40
Slide 40 text
creating classes
Slide 41
Slide 41 text
classes
Ruby
PHP
class HelloWorld
{
// instance variables go here
// methods go here
public function sayHI()
{
print("Hello World!”);
}
}
class HelloWorld
// instance variables go here
// methods go here
def sayHI
puts "Hello World!”
end
end
Slide 42
Slide 42 text
classes
Objective-C
@interface HelloWorld
{
NSString *statement = @”This is a string”
}
-(void) sayHI;
@end
Slide 43
Slide 43 text
classes
Ruby
PHP
class cat extends animal
{
public function be_cute()
{
print("I am teh cute”);
}
}
class cat < animal
def be_cute
puts "I am teh cute”
end
end