Your SlideShare is downloading. ×
Mo devoptimization
Mo devoptimization
Mo devoptimization
Mo devoptimization
Mo devoptimization
Mo devoptimization
Mo devoptimization
Mo devoptimization
Mo devoptimization
Mo devoptimization
Mo devoptimization
Mo devoptimization
Mo devoptimization
Mo devoptimization
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

Mo devoptimization

41

Published on

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
41
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
0
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. © 2012 Citrrus LLC. All Rights Reserved.
  • 2. The iPhone will prove to be more historically significant than the Personal Computer © 2012 Citrrus LLC. All Rights Reserved.
  • 3. Above a Bar© 2012 Citrrus LLC. All Rights Reserved.
  • 4. Agile OptimizationStart slow... © 2012 Citrrus LLC. All Rights Reserved.
  • 5. DebugLog... your best friend#ifdef DEBUG#define DebugLog(...) NSLog(@"%s (%d) %@",__PRETTY_FUNCTION__, __LINE__, [NSStringstringWithFormat:__VA_ARGS__])#else#define DebugLog(...)#endif2012-05-07 18:02:20.775 UVA Magazine[4509:17c03]-[PDFPageViewController viewWillAppear:] (78) View Will Appear for PDF Page © 2012 Citrrus LLC. All Rights Reserved.
  • 6. Perception“Beauty is everywhere a welcome guest.” Johann Wolfgang von Goethe © 2012 Citrrus LLC. All Rights Reserved.
  • 7. Images... more than meets the eye+[UIImage imageNamed:] * Reads file * Uncompresses * Caches+[UIImage imageWithContentsOfFile:] * Checks access to file * File is read and uncompressed when image drawn © 2012 Citrrus LLC. All Rights Reserved.
  • 8. Images... more than meets the eye © 2012 Citrrus LLC. All Rights Reserved.
  • 9. Memory ManagementUse LessRelease Early and Often © 2012 Citrrus LLC. All Rights Reserved.
  • 10. NetworkingCombine RequestsCompact your data © 2012 Citrrus LLC. All Rights Reserved.
  • 11. Fast ScrollingDo your own drawingReuse/RecycleDon’t get in the way of the main thread © 2012 Citrrus LLC. All Rights Reserved.
  • 12. Burn the resource you haveMemory vs CPU © 2012 Citrrus LLC. All Rights Reserved.
  • 13. CoreData + SQLiteCoreData + SQLite = partial file access-[NSData initWithContentsOfFile] = full file access © 2012 Citrrus LLC. All Rights Reserved.
  • 14. EnumerationobjectAtIndexfor(int i=0;i<count;i++){ id item; item = [myObjects objectAtIndex:i]; NSLog(@"Found an Item: %@",item);} NSFastEnumeration for(id item in myObjects) { NSLog@"Found an Item: %@",item); } © 2012 Citrrus LLC. All Rights Reserved.

×