2. Who am I?
• iOS developer at le studio
(www.hortis.ch)
• Mail: defagos (at) gmail (dot) com
• Twitter: @defagos
• Blog: http://subjective-objective-
c.blogspot.com/
• Open-source: https://github.com/defagos
3. What is CoconutKit?
• Open source project
• A library, not a framework
• Collection of useful and robust
components
• Supports ARC and non-ARC projects
• Compatible with iOS 4, 5 and 6
4. Brief history
• July 2010 — Birth
• August 2011 — First public release 1.0
• October 2011 — Softshake event
• November 2012 — Version 2.0
5. My goals
• Eliminate cumbersome tasks
• Provide robust components
• Fill system framework gaps
• Keep components easy to use ...
• ... and documented
• Have fun!
6. Why you should use it?
• Spend more time on your application
• Spend less time on debugging
• Create more robust applications
• Create beautiful applications more easily
• Write better code
15. Autorotation
• Use iOS 6 methods for all
HLSViewController subclasses
• autorotationMode container property
• Available for CoconutKit containers...
• ... and for UIKit ones (no more
subclassing)
16. Why CoconutKit
containers?
• Easily change interface and transitions
• Cleanly separate your code
• Manage complex VC hierarchies easily
• Circumvent UIKit limitations (e.g. modal,
3D flip animations)
• API to create your own containers
17. Animations
• Create in a declarative way
• Combine UIView and CA animations
• Pause and resume, cancel
• Set start time and delay, loop, repeat count
• Play with duration / instantaneously
• Correct behavior when app sent to the
background
21. LS/Country of residence
ULS/Country of residence
LLS/Country of residence
CLS/Country of residence
Strings file
Pays de résidence
PAYS DE RESIDENCE
pays de résidence
Pays De Résidence
22. Core Data extensions
• Managed object context (MOC) stack
• Validation done right
• Text field bindings
28. And more!
• Search bar
• Alert view done right
• Slideshows (cross-fade, Ken Burns, ribbon)
• Text field moving to avoid being hidden by
the keyboard