- Living Room experience
- Always connected
- Powerful hardware
- Separate SDK with optional Universal Purchase
- Developer tools and tech
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
protocol Able { | |
init?(foo: String) | |
} | |
protocol Ible { | |
init(bar: Int) throws | |
} | |
extension Able where Self: Ible { | |
init?(foo: String) { |
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
// Given that a protocol unifies two types: BlogPost and PhotoPost... | |
protocol PostType { | |
var title: String { get } | |
} | |
struct BlogPost: PostType { | |
let title = "My Hot New Blog Post" | |
} | |
struct PhotoPost: PostType { |
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
//: Playground - noun: a place where people can play | |
import UIKit | |
struct Todo { | |
let id: NSUUID | |
let text: String | |
let complete: Bool | |
} |
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
{ | |
"name": "Helpshift", | |
"version": "4.12.1", | |
"summary": "Customer service helpdesk for mobile applications.", | |
"license": { | |
"type": "Commercial", | |
"text": "See http://www.helpshift.com/terms/" | |
}, | |
"homepage": "http://www.helpshift.com/", |
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
/** The token structure. */ | |
typedef struct yaml_token_s { | |
/** The token type. */ | |
yaml_token_type_t type; | |
/** The token data. */ | |
union { | |
/** The stream start (for @c YAML_STREAM_START_TOKEN). */ |
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
RAC(self, results) = [self.searchCommand.executionSignals flattenMap:^(RACSignal *querySearchSignal) { | |
@strongify(self); | |
return [[querySearchSignal | |
concat:[self.searchMoreCommand.executionSignals concat]] | |
scanWithStart:@[] reduce:^(NSArray *running, NSArray *next) { | |
return [running arrayByAddingObjectsFromArray:next]; | |
}]; | |
}]; |
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
{ | |
"name": "Mantle", | |
"version": "2.0", | |
"summary": "Model framework for Cocoa and Cocoa Touch.", | |
"homepage": "https://github.com/Mantle/Mantle", | |
"license": "MIT", | |
"authors": { | |
"GitHub": "support@github.com" | |
}, | |
"source": { |
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 = "AFAmazonS3Client" | |
s.version = "2.2.0" | |
s.summary = "AFNetworking Client for the Amazon S3 API." | |
s.homepage = "https://github.com/AFNetworking/AFAmazonS3Client" | |
s.social_media_url = "https://twitter.com/AFNetworking" | |
s.license = 'MIT' | |
s.author = { "Mattt Thompson" => "m@mattt.me" } | |
s.source = { :git => "https://github.com/AFNetworking/AFAmazonS3Client.git", | |
:tag => "2.0.0" } |