Your SlideShare is downloading. ×
0
Lightning Talk - Introduce to iOS 7
Lightning Talk - Introduce to iOS 7
Lightning Talk - Introduce to iOS 7
Lightning Talk - Introduce to iOS 7
Lightning Talk - Introduce to iOS 7
Lightning Talk - Introduce to iOS 7
Lightning Talk - Introduce to iOS 7
Lightning Talk - Introduce to iOS 7
Lightning Talk - Introduce to iOS 7
Lightning Talk - Introduce to iOS 7
Lightning Talk - Introduce to iOS 7
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Lightning Talk - Introduce to iOS 7

186

Published on

Lightning talk to introduce iOS 7 in your life.

Lightning talk to introduce iOS 7 in your life.

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
186
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
1
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Introduce to iOS Rafael Sperling at ilegra
  • 2. Documentation is your God!
  • 3. Class Methods
  • 4. Class Methods (+) Called: [UIView areAnimationsEnabled];
  • 5. Class Methods Methods that do not require object initialized • Declaration • To using with +
  • 6. Instance Methods (-) Called: [[UIView alloc] initWithFrame:frame];
  • 7. Instance Methods Methods that require object initialized • Declaration • To using with -
  • 8. Java Objective-C Declaration: Declaration: void myMethod(void) {...} -(void)myMethod {...} To call: To call: myMethod(); [self myMethod]; Declaration: Declaration: void myMethod (int x) {...} -(void)myMethod:(int)x {...} To call: To call: myMethod(4); [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: Declaration: int sqrt (int base, int exp) { return ...; } -(int) sqrt:(int)base expNumber:(int)exp { return ...; } To call: To call: int z = sqrt(4,5); int z = [self base:4 expNumber:5];
  • 9. Controller object Ref: https://developer.apple.com/library/mac/documentation/general/conceptual/devpedia-cocoacore/ControllerObject.html#//apple_ref/doc/uid/TP40008195-CH11-SW1
  • 10. Lifecycle of View
  • 11. Thank you! Rafael Sperling at ilegra

×