This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pod lib create YOUR_LIBRARY_NAME |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#DELETE A POD | |
pod trunk delete PODNAME VERSION | |
#PUSH THE POD AGAIN | |
pod trunk push PODNAME |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#pod 'CustomUISwitch', :path => "/Users/llovretic/Desktop/CustomUISwitch" | |
pod 'CustomUISwitch' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pod trunk register [YOUR_EMAIL_ADDRESS] 'YOUR_NAME' --description='CURRENT_DEVICE' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Public deployment | |
pod trunk push [NAME.podspec] | |
#Private deployment | |
pod repo push REPO [NAME.podspec] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pod spec lint [YOUR_PODSPEC_NAME].podspec |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#BEFORE | |
#Specify the location from where the source should be retrieved. | |
#spec.source = { :git => "http://EXAMPLE/Switch.git", :tag => "master" } | |
#source for local lib development. | |
spec.source = { :path => "Sources/"} | |
#AFTER | |
#Specify the location from where the source should be retrieved. | |
spec.source = { :git => "[YOUR_GIT_URL]", :tag => "[YOUR_TAG]" } | |
#source for local lib development. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
spec.source = { :git => "[LINK_TO_YOUR_REPOSITORY]", :tag => "master" } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#1 | |
import LookingForMagentoDevsThatWillProvideFunctionalityToThisAwesomeSwitch | |
#2 | |
var customSwitch: CustomSwitch = { | |
let customSwitch = CustomSwitch() | |
customSwitch.translatesAutoresizingMaskIntoConstraints = false | |
customSwitch.onTintColor = UIColor.orange | |
customSwitch.offTintColor = UIColor.darkGray | |
customSwitch.cornerRadius = 0.1 | |
customSwitch.thumbCornerRadius = 0.1 |