This file contains 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
import Foundation | |
enum Cheese : String { | |
case Mozzarella = "Mozzarella" | |
case Provolone = "Provolone" | |
case Pecorino = "Pecorino" | |
} | |
class PizzaBuilder { | |
var size: Int = 0 |
This file contains 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
openssl pkcs12 -in Certificates.p12 -nodes -clcerts | pbcopy |
This file contains 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
@implementation ViewController | |
- (void)triggerAction; | |
{ | |
[self.button sendActionsForControlEvents:UIControlEventTouchUpInside]; | |
} | |
- (void)action:(id)sender forEvent:(UIEvent *)event; | |
{ | |
// event is UIEvent when triggered by a touch on the button. |
This file contains 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
[[UIBarItem appearance] setTitleTextAttributes:@{NSFontAttributeName : [UIFont fontWithName:@"HelveticaNeue-Light" size:12.0], | |
NSForegroundColorAttributeName: [UIColor blueColor]} forState:UIControlStateNormal]; | |
NSLog(@"attributes: %@", [[UIBarItem appearance] titleTextAttributesForState:UIControlStateNormal]); // (null) |
This file contains 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.new do |s| | |
s.name = "GoogleAnalytics-iOS-SDK" | |
s.version = "3.0.1" | |
s.summary = "GoogleAnalytics for iOS SDK." | |
s.description = <<-DESC | |
The Google Analytics SDK for iOS makes it easy for native iOS developers to collect user engagement data form their applications. Developers can then use the Google Analytics reports to measure: | |
* The number of active users are using their applications. | |
* From where in the world the application is being used. | |
* Adoption and usage of specific features. |
This file contains 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.new do |s| | |
s.name = "ObjectiveMixin" | |
s.version = "1.0.1" | |
s.summary = "Ruby-like mixin functionality for Objective-C programs." | |
s.homepage = "https://github.com/vl4dimir/ObjectiveMixin" | |
s.license = { :type => 'BSD', :file => 'LICENSE' } | |
s.author = "Vladimir Mitrovic" | |
s.source = { :git => "https://github.com/vl4dimir/ObjectiveMixin.git", :tag => "1.0.1" } |
This file contains 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.new do |s| | |
s.name = 'CountryPicker' | |
s.version = '1.0.1' | |
s.license = { :file => 'LICENCE.md' } | |
s.homepage = 'https://github.com/nicklockwood/CountryPicker' | |
s.authors = { 'Nick Lockwood' => 'support@charcoaldesign.co.uk' } | |
s.summary = 'CountryPicker is a custom UIPickerView subclass that provides an iOS control allowing a user to select a country from a list..' | |
s.source = { :git => 'https://github.com/nicklockwood/CountryPicker.git', :tag => '1.0.1' } | |
s.source_files = 'CountryPicker/*.{h,m}' | |
s.resources = ['CountryPicker/Countries.plist', 'Flags/*.png'] |
This file contains 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.new do |s| | |
s.name = "FontReplacer" | |
s.version = "1.0" | |
s.summary = "Easily create nibs with custom fonts." | |
s.homepage = "https://github.com/0xced/FontReplacer" | |
s.license = '' | |
s.author = { "Cédric Luthi" => "cedric.luthi@gmail.com" } | |
s.source = { :git => "https://github.com/0xced/FontReplacer.git", :tag => "1.0" } | |
s.platform = :ios, '3.2' | |
s.source_files = 'UIFont+Replacement/UIFont+Replacement.{h,m}' |
This file contains 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
platform :ios, '6' | |
pod 'Stripe', :git => 'https://github.com/klaaspieter/stripe-ios.git', :branch => 'missing-header' |
This file contains 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
platform :ios, '6' | |
pod 'Stripe', :git => 'https://github.com/stripe/stripe-ios.git' |