+ All Categories
Home > Education > Lightning Talk - Introduce to iOS 7

Lightning Talk - Introduce to iOS 7

Date post: 15-Jan-2015
Category:
Upload: rafael-sperling
View: 163 times
Download: 1 times
Share this document with a friend
Description:
Lightning talk to introduce iOS 7 in your life.
Popular Tags:
11
Introduce to iOS Rafael Sperling at ilegra
Transcript
Page 1: Lightning Talk - Introduce to iOS 7

Introduce to iOSRafael Sperling at ilegra

Page 2: Lightning Talk - Introduce to iOS 7

Documentation is your God!

Page 3: Lightning Talk - Introduce to iOS 7

Class Methods

Page 4: Lightning Talk - Introduce to iOS 7

Class Methods (+)Called: [UIView

areAnimationsEnabled];

Page 5: Lightning Talk - Introduce to iOS 7

Class MethodsMethods that do not require object initialized

•Declaration with +

• To using

Page 6: Lightning Talk - Introduce to iOS 7

Instance Methods (-)Called: [[UIView alloc] initWithFrame:frame];

Page 7: Lightning Talk - Introduce to iOS 7

Instance MethodsMethods that require object initialized

•Declaration with -

• To using

Page 8: Lightning Talk - Introduce to iOS 7

Java Objective-CDeclaration:

void myMethod(void) {...}

To call:

myMethod();

Declaration:

-(void)myMethod {...}

To call:

[self myMethod];

Declaration:

void myMethod (int x) {...}

To call:

myMethod(4);

Declaration:

-(void)myMethod:(int)x {...}

To call:

[self myMethod:4];

Declaration:

void sqrt (int base, int exp{...}To call: sqrt(4,5);

Declaration:

-(void)sqrt:(int)base expNumber:(int)exp {...}

To call:

[self sqrt:4 exp:5];

Declaration:

int sqrt (int base, int exp) { return ...; }

To call:

int z = sqrt(4,5);

Declaration:

-(int) sqrt:(int)base expNumber:(int)exp { return ...; }

To call:

int z = [self base:4 expNumber:5];

Page 9: Lightning Talk - Introduce to iOS 7

Controller object

Ref: https://developer.apple.com/library/mac/documentation/general/conceptual/devpedia-cocoacore/ControllerObject.html#//apple_ref/doc/uid/TP40008195-CH11-SW1

Page 10: Lightning Talk - Introduce to iOS 7

Lifecycle of View

Page 11: Lightning Talk - Introduce to iOS 7

Thank you!

Rafael Sperling at ilegra


Recommended