SlideShare a Scribd company logo
CocoaDynamicFrameworks
(oniOS)
Framework dynamic par Simone Sivetta
CocoaFramework
What
A collection of resources
Compiled code + public headers
Why
· Extensions
· Sharing code between applications
· Public distribution
Why
DRYDon'tRepeatYourself
DRYIfthecodeappearsmore
thanonce,itbelongsina
framework
DynamicFrameworks
DynamicFrameworks
A dynamic framework, when updated,
does not require applications to relink
to them
OS X already supports Dynamically
Linked frameworks
Framework dynamic par Simone Sivetta
How
And...
CocoaPods
CocoaPods
Testable
Extensions
NS_EXTENSION_UNAVAILABLE_IOS
EventKitUI
UIActionSheet
UIAlertView
+[UIapplication sharedApplication]
-[UIApplication beginIgnoringInteractionEvents]
-[UIApplication endIgnoringInteractionEvents]
-[UIApplication openURL:]
Visibility
Visibility
Visibility
· Project
· Public
· Private
Visibility
Reférences:
WWDC 2014 Session 416
Thanks!@viteinfinite

More Related Content

Framework dynamic par Simone Sivetta