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
public final class CardDismissHandler: NSObject { | |
final class DismissalPanGesture: UIPanGestureRecognizer {} | |
final class DismissalScreenEdgePanGesture: UIScreenEdgePanGestureRecognizer {} | |
lazy var dismissalPanGesture: DismissalPanGesture = { | |
let pan = DismissalPanGesture() | |
pan.maximumNumberOfTouches = 1 | |
return pan |
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
88 00 00 00 00 5e 00 00 10 00 | |
00 00 78 00 00 00 0d 0a 37 38 | |
0d 0a 65 00 00 00 00 00 00 00 | |
01 00 00 00 00 00 00 00 02 00 | |
00 00 00 00 00 00 00 00 00 00 | |
03 00 00 00 03 00 00 00 00 00 | |
00 00 00 00 00 00 00 00 00 00 | |
00 00 00 00 00 00 00 00 00 00 | |
0a 00 00 80 07 00 00 00 00 00 | |
00 00 00 00 00 00 0a 00 00 80 |
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>DVTConsoleDebuggerInputTextColor</key> | |
<string>1 1 1 1</string> | |
<key>DVTConsoleDebuggerInputTextFont</key> | |
<string>SFMono-Bold - 12.0</string> | |
<key>DVTConsoleDebuggerOutputTextColor</key> | |
<string>1 1 1 1</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
/// A simple protocol for anything which has a count or length | |
protocol Countable { | |
var count: Int { get } | |
} | |
extension Array: Countable { | |
} | |
extension String: Countable { |
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
<root xmlns="urn:schemas-upnp-org:device-1-0"> | |
<specVersion> | |
<major>1</major> | |
<minor>0</minor> | |
</specVersion> | |
<device> | |
<deviceType>urn:schemas-upnp-org:device:Basic:1</deviceType> | |
<friendlyName>ILCE-7M2</friendlyName> | |
<manufacturer>Sony Corporation</manufacturer> | |
<manufacturerURL>http://www.sony.net/</manufacturerURL> |
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
[ | |
{ | |
"id": 1, | |
"name": { | |
"en": "Tsunami", | |
"es": "Tsunami " | |
}, | |
"src": "cache://pages/5374942.json", | |
"image": "app://native/content/tsunami.png", | |
"events": [ |
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
#!/bin/bash | |
# This script builds the iOS and Mac openSSL libraries with Bitcode enabled | |
# Download openssl http://www.openssl.org/source/ and place the tarball next to this script | |
# Credits: | |
# https://github.com/st3fan/ios-openssl | |
# https://github.com/x2on/OpenSSL-for-iPhone/blob/master/build-libssl.sh | |
# Peter Steinberger, PSPDFKit GmbH, @steipete. | |
# Doron Adler, GlideTalk, @Norod78 |