Your SlideShare is downloading. ×
Refactoring
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×

Introducing the official SlideShare app

Stunning, full-screen experience for iPhone and Android

Text the download link to your phone

Standard text messaging rates apply

Refactoring

444
views

Published on

我所知道的 Refactoring 小技巧 :)

我所知道的 Refactoring 小技巧 :)

Published in: Technology, Health & Medicine

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

No Downloads
Views
Total Views
444
On Slideshare
0
From Embeds
0
Number of Embeds
1
Actions
Shares
0
Downloads
3
Comments
0
Likes
3
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
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • \n
  • Transcript

    • 1. Refactoring zonble zonble@gmail.com
    • 2. zonble• Refactor• 1.0 2.0• 1.0 2.0
    • 3. Xcode• Rename• Move Up• Move Down•… Refactoring
    • 4. IDE• method• method• method class
    • 5. • Refactor menu Rename • performSelector: • KVC getter/ setter • Xcode @”” @selector() method
    • 6. • method setA: B• setA:B: setA:• setA: setA:
    • 7. -(void)setA:(id)A B:(id)B{}- (void)setA:(id)A{ [self setA:A B:nil];}
    • 8. • method•…•…
    • 9. • model
    • 10. • method• Compiler
    • 11. • method DEPRECATED_ATTRIBUTE compile• • - (void)setA:(id)A DEPRECATED_ATTRIBUTE;
    • 12. • method DEPRECATED_ATTRIBUTE• /method• compiler method• compile Interface
    • 13. Das ist alles.