Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 MediaPlayerIOSPodcastTitles | |
@synthesize bridge = _bridge; | |
// Export a native module | |
// https://facebook.github.io/react-native/docs/native-modules-ios.html | |
RCT_EXPORT_MODULE(); | |
// Export constants | |
// https://facebook.github.io/react-native/releases/next/docs/native-modules-ios.html#exporting-constants | |
- (NSDictionary *)constantsToExport |
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
//:> # Swift | |
//: | |
//: * Modern | |
//: * Objective-C Interoperability | |
//: * Open source | |
//: * Interactive Playgrounds | |
//: | |
//:> # Playgrounds | |
//: | |
//: * Live rendering of code you type |
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
### Keybase proof | |
I hereby claim: | |
* I am dmathewwws on github. | |
* I am dmathewwws (https://keybase.io/dmathewwws) on keybase. | |
* I have a public key ASA6VopZCFaRU5Dj47XLIQrIoK3x5RNm61QxFDeQbStwiwo | |
To claim this, I am signing this object: |
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
<key>CFBundleDocumentTypes</key> | |
<array> | |
<dict> | |
<key>CFBundleIcons</key> | |
<dict> | |
<key>CFBundlePrimaryIcon</key> | |
<dict> | |
<key>CFBundleIconFiles</key> | |
<array> | |
<string>Echo-Icon.png</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
<key>CFBundleDocumentTypes</key> | |
<array> | |
<dict> | |
<key>CFBundleIcons</key> | |
<dict> | |
<key>CFBundlePrimaryIcon</key> | |
<dict> | |
<key>CFBundleIconFiles</key> | |
<array> | |
<string>Echo-Icon.png</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
// | |
// debounce-throttle.swift | |
// | |
// Created by Simon Ljungberg on 19/12/16. | |
// License: MIT | |
// | |
import Foundation | |
extension TimeInterval { |
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 Vapor | |
let drop = Droplet() | |
drop.get("welcome") { request in | |
return "Hello" | |
} | |
drop.get("uppercase") { request in | |
guard let word = request.data["word"]?.string else { return "Could not grab the name" } |
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 extension UIDevice { | |
var deviceType: String { | |
var systemInfo = utsname() | |
uname(&systemInfo) | |
let machine = systemInfo.machine | |
let mirror = Mirror(reflecting: machine) | |
var identifier = "" | |
NewerOlder