Lightning Talk - Introduce to iOS 7
-
Upload
rafael-sperling -
Category
Education
-
view
163 -
download
1
description
Transcript of Lightning Talk - Introduce to iOS 7
![Page 1: Lightning Talk - Introduce to iOS 7](https://reader034.fdocuments.us/reader034/viewer/2022042714/54b7b8414a7959c9688b4748/html5/thumbnails/1.jpg)
Introduce to iOSRafael Sperling at ilegra
![Page 2: Lightning Talk - Introduce to iOS 7](https://reader034.fdocuments.us/reader034/viewer/2022042714/54b7b8414a7959c9688b4748/html5/thumbnails/2.jpg)
Documentation is your God!
![Page 3: Lightning Talk - Introduce to iOS 7](https://reader034.fdocuments.us/reader034/viewer/2022042714/54b7b8414a7959c9688b4748/html5/thumbnails/3.jpg)
Class Methods
![Page 4: Lightning Talk - Introduce to iOS 7](https://reader034.fdocuments.us/reader034/viewer/2022042714/54b7b8414a7959c9688b4748/html5/thumbnails/4.jpg)
Class Methods (+)Called: [UIView
areAnimationsEnabled];
![Page 5: Lightning Talk - Introduce to iOS 7](https://reader034.fdocuments.us/reader034/viewer/2022042714/54b7b8414a7959c9688b4748/html5/thumbnails/5.jpg)
Class MethodsMethods that do not require object initialized
•Declaration with +
• To using
![Page 6: Lightning Talk - Introduce to iOS 7](https://reader034.fdocuments.us/reader034/viewer/2022042714/54b7b8414a7959c9688b4748/html5/thumbnails/6.jpg)
Instance Methods (-)Called: [[UIView alloc] initWithFrame:frame];
![Page 7: Lightning Talk - Introduce to iOS 7](https://reader034.fdocuments.us/reader034/viewer/2022042714/54b7b8414a7959c9688b4748/html5/thumbnails/7.jpg)
Instance MethodsMethods that require object initialized
•Declaration with -
• To using
![Page 8: Lightning Talk - Introduce to iOS 7](https://reader034.fdocuments.us/reader034/viewer/2022042714/54b7b8414a7959c9688b4748/html5/thumbnails/8.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022042714/54b7b8414a7959c9688b4748/html5/thumbnails/9.jpg)
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](https://reader034.fdocuments.us/reader034/viewer/2022042714/54b7b8414a7959c9688b4748/html5/thumbnails/10.jpg)
Lifecycle of View
![Page 11: Lightning Talk - Introduce to iOS 7](https://reader034.fdocuments.us/reader034/viewer/2022042714/54b7b8414a7959c9688b4748/html5/thumbnails/11.jpg)
Thank you!
Rafael Sperling at ilegra