Your SlideShare is downloading. ×
Make your own Open Source transition with CocoaPods
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

Make your own Open Source transition with CocoaPods

266
views

Published on

Published in: Technology, Education

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

  • Be the first to like this

No Downloads
Views
Total Views
266
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
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. Make your ownOpenSourceTransition withCocoaPods
  • 2. @aroletarol@lafosca.cat
  • 3. MEWANNADEVELOPERS
  • 4. Animations
  • 5. AnimationsCool effectsGood sensationsfor the user
  • 6. TOGUAPOLOCO
  • 7. Added functionalityGives a context tothe user
  • 8. A matter of time
  • 9. A matter of timeNever do what’s alreadydone, take it & improve it
  • 10. Open SourceA matter of timeNever do what’s alreadydone, take it & improve it
  • 11. AFNetworkingSVProgressHUDAFIncrementalStoreDRModalViewWTFViewControllerDGWShakeViewDTHarlemShakeSVPullToRefreshOrbital
  • 12. CocoaPods
  • 13. CocoaPodsLibrary ManagerLike Rubygems
  • 14. CocoaPodsARCDependencies
  • 15. CocoaPods./Podfileplatform :ios, ‘6.0’pod AFNetworking, ~> 1.2.1
  • 16. CocoaPods./Podfile$ ~/(project-folder) pod install
  • 17. Custom TransitionITFScaleModalSegueA custom segue formodal transitions with ascale’n’fade effect.
  • 18. ITFScaleModalSegueA Bmodal
  • 19. ITFScaleModalSegueA Bmodal hostviewmodalsegue
  • 20. Perform Modalhostview
  • 21. Perform ModalhostviewAdd A screenshot
  • 22. Perform ModalhostviewAdd A screenshotAdd B screenshot
  • 23. Perform ModalhostviewAdd A screenshotAdd B screenshotPerform animations with this twolayers
  • 24. Perform ModalhostviewAdd A screenshotAdd B screenshotPerform animations with this twolayersPresent B modal withoutanimation
  • 25. Dismiss modalhostview
  • 26. Dismiss modalhostviewDismiss B modal withoutanimation
  • 27. Dismiss modalhostviewDismiss B modal withoutanimationAnimate A and B screenshotlayers
  • 28. Dismiss modalhostviewDismiss B modal withoutanimationAnimate A and B screenshotlayersDismiss host view modal withoutanimation
  • 29. Get hands dirty
  • 30. Creating apodspec
  • 31. Podspec$ ~/ pod spec create <pod_name>
  • 32. CocoaPodsChange the authorsPoint to the component github repositoryTag a commit and reference itAdd a LICENSE
  • 33. PodspecPod::Spec.new do |s|s.name = "ITFScaleModalSegue"s.version = "0.0.1"s.summary = "A custom modal segue with a scale n fade effect."s.homepage = "https://github.com/lafosca/ITFScaleModalSegue"s.license = MITs.author = { "Arol" => "arol@lafosca.cat","David Cortés" => "david@lafosca.cat" }s.source = { :git => "https://github.com/lafosca/ITFScaleModalSegue.git",:tag => "0.0.1" }s.platform = :ios, 6.0s.source_files = "ITFScaleModalSegue/ITFScaleModalSegue/*.{h,m}"s.exclude_files = Classes/Excludes.framework = QuartzCores.requires_arc = trueend
  • 34. Check$ ~/ pod spec lint <pod_name>.podspec
  • 35. Submit to CocoaPodsFork the specs respository[https://github.com/CocoaPods/Specs]Add your podspec in /<pod_name>/<tag>/And then make the pull request!
  • 36. Thank you!