Upload
itnig
View
299
Download
0
Embed Size (px)
Citation preview
Make your own OpenSource
Transition with CocoaPods
MEWANNA
DEVELOPERS
Animations
Animations
Cool effects
Good sensations for the user
TOGUAPO
LOCO
Added functionalityGives a context to
the user
A matter of time
A matter of time
Never do what’s already done, take it & improve it
Open Source
A matter of time
Never do what’s already done, take it & improve it
AFNetworking
SVProgressHUD
AFIncrementalStoreDRModalView
WTFViewControllerDGWShakeView
DTHarlemShake
SVPullToRefresh
Orbital
CocoaPods
CocoaPods
Library Manager
Like Rubygems
CocoaPods
ARC
Dependencies
CocoaPods
./Podfile
platform :ios, ‘6.0’
pod 'AFNetworking', '~> 1.2.1'
CocoaPods
./Podfile
$ ~/(project-folder) pod install
Custom Transition
ITFScaleModalSegue
A custom segue for modal transitions with a
scale’n’fade effect.
ITFScaleModalSegue
A Bmodal
ITFScaleModalSegue
A Bmodal host
viewmodal
segue
Perform Modal
host view
Perform Modal
host view
Add A screenshot
Perform Modal
host view
Add A screenshot
Add B screenshot
Perform Modal
host view
Add A screenshot
Add B screenshot
Perform animations with this two layers
Perform Modal
host view
Add A screenshot
Add B screenshot
Perform animations with this two layers
Present B modal without animation
Dismiss modal
host view
Dismiss modal
host view
Dismiss B modal without animation
Dismiss modal
host view
Dismiss B modal without animation
Animate A and B screenshot layers
Dismiss modal
host view
Dismiss B modal without animation
Animate A and B screenshot layers
Dismiss host view modal without animation
Get hands dirty
Creating a podspec
Podspec
$ ~/ pod spec create <pod_name>
CocoaPodsChange the authors
Point to the component github repository
Tag a commit and reference it
Add a LICENSE
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 = 'MIT' s.author = { "Arol" => "[email protected]", "David Cortés" => "[email protected]" } s.source = { :git => "https://github.com/lafosca/ITFScaleModalSegue.git", :tag => "0.0.1" } s.platform = :ios, '6.0' s.source_files = "ITFScaleModalSegue/ITFScaleModalSegue/*.{h,m}" s.exclude_files = 'Classes/Exclude' s.framework = 'QuartzCore' s.requires_arc = trueend
Check
$ ~/ pod spec lint <pod_name>.podspec
Submit to CocoaPodsFork the specs respository [https://github.com/CocoaPods/Specs]
Add your podspec in /<pod_name>/<tag>/
And then make the pull request!
Thank you!