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
101 Keynote | |
102 Platforms State of the Union | |
10004 Expanding automation with the App Store Connect API | |
10005 What's new in assessment | |
10006 Introducing Car Keys | |
10008 Optimize the Core Image pipeline for your video app | |
10009 Edit and play back HDR video with AVFoundation | |
10010 Export HDR media in your app with AVFoundation | |
10011 Author fragmented MPEG-4 content with AVAssetWriter | |
10012 Discover ray tracing with Metal |
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
101 Keynote | |
103 Platforms State of the Union | |
104 Apple Design Awards | |
202 Using Core Data With CloudKit | |
203 Introducing Desktop-class Browsing on iPad | |
204 Introducing SwiftUI: Building Your First App | |
205 Introducing iPad Apps for Mac | |
206 Introducing SF Symbols | |
207 Introducing SiriKit Media Intents | |
208 Creating Independent Watch Apps |
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 Darwin | |
/// A struct for reading device model names for iOS devices. | |
public struct Hardware { | |
public let machine: String | |
public init() { | |
machine = Hardware.getSystemInformation("hw.machine") | |
} |
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
101 WWDC 2018 Keynote | |
102 Platforms State of the Union | |
103 Apple Design Awards | |
201 Creating Apps for a Global Audience | |
202 What's New in Cocoa Touch | |
203 I Have This Idea For An App... | |
204 Automatic Strong Passwords and Security Code AutoFill | |
205 Advances in Research and Care Frameworks | |
206 What's New in watchOS | |
207 Strategies for Securing Web Content |
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
101 - WWDC 2017 Keynote | |
102 - Platforms State of the Union | |
201 - What's New in Cocoa Touch | |
202 - Advances in TVMLKit | |
203 - Introducing Drag and Drop | |
204 - Updating Your App for iOS 11 | |
205 - What's New in watchOS | |
206 - Introducing Password AutoFill for Apps | |
207 - What's New in Cocoa | |
208 - Natural Language Processing and your Apps |
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
# Reset branch with remote branch (or force pull) | |
$ git fetch origin master | |
$ git reset --hard FETCH_HEAD | |
$ git clean -df | |
# Altering `master` to whatever branch you want to be following. |
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
/// A type that supports an "empty value" | |
protocol EmptyValuable { | |
/// Returns the empty value of `Self` | |
static var emptyValue: Self { get } | |
} | |
extension String: EmptyValuable { | |
static var emptyValue: String { | |
return "" | |
} |
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
101 - Keynote | |
102 - Platforms State of the Union | |
103 - Apple Design Awards | |
201 - Internationalization Best Practices | |
202 - What's New in Accessibility | |
203 - What's New in Cocoa | |
204 - iMessage Apps and Stickers, Part 1 | |
205 - What's New in Cocoa Touch | |
206 - What's New in tvOS | |
207 - What's New in Foundation for Swift |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>PreferenceSpecifiers</key> | |
<array> | |
<dict> | |
<key>DefaultValue</key> | |
<string></string> | |
<key>Key</key> |
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 Darwin | |
extension Int { | |
static func random() -> Int { | |
return Int(arc4random_uniform(UInt32(Int.max))) | |
} | |
static func random(range: Range<Int>) -> Int { | |
return Int(arc4random_uniform(UInt32(range.endIndex - range.startIndex))) + range.startIndex | |
} |
NewerOlder