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
// | |
// EmojiItem.swift | |
// SpokinModel | |
// | |
// Created by Kevin McQuown on 9/21/17. | |
// Copyright © 2017 Spokin. All rights reserved. | |
// | |
import Foundation | |
public class EmojiItem { | |
public var itemCategory: EmojiItemCategory! |
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
// | |
// EmojiSelections.swift | |
// Alamofire | |
// | |
// Created by Vik Denic on 9/26/17. | |
// | |
import Foundation | |
public class EmojiSelections { | |
public static let shared = EmojiSelections(name: "EmojiSelections") |
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
var params = [String : Any]() | |
if let currentUser = SPKUser.sharedUser { | |
params["userId"] = currentUser.idText | |
} | |
if let scene = scene { | |
params["app location"] = String(describing: type(of: scene)) | |
} | |
Crashlytics.sharedInstance().recordError(error, withAdditionalUserInfo: params) |
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>male</key> | |
<array> | |
<dict> | |
<key>name</key> | |
<string>skinColor</string> | |
<key>displayName</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
// | |
// EmojiSelections.swift | |
// Alamofire | |
// | |
// Created by Vik Denic on 9/26/17. | |
// | |
import Foundation | |
public class EmojiSelections { | |
public static let shared = EmojiSelections(name: "EmojiSelections") |
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
// | |
// EmojiItem.swift | |
// SpokinModel | |
// | |
// Created by Kevin McQuown on 9/21/17. | |
// Copyright © 2017 Spokin. All rights reserved. | |
// | |
import Foundation | |
public class EmojiItem { | |
public var gender: Gender! |
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"> | |
<array> | |
<array> | |
<dict> | |
<key>name</key> | |
<string>skinColor</string> | |
<key>displayName</key> | |
<string>Skin Color</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
<?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"> | |
<array> | |
<array> | |
<dict> | |
<key>name</key> | |
<string>skinColor</string> | |
<key>displayName</key> | |
<string>Skin Color</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
let notificationReceivedBlock: OSHandleNotificationReceivedBlock = { notification in | |
if let notification = notification, let payload = notification.payload, let notifId = payload.notificationID { | |
print("📡Received Notification: \(notifId)") | |
} | |
} | |
let notificationOpenedBlock: OSHandleNotificationActionBlock = { result in | |
print("☝️reacted to notif") | |
// This block gets called when the user reacts to a notification received | |
if let payload: OSNotificationPayload = result!.notification.payload { |
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"> | |
<array> | |
<dict> | |
<key>name</key> | |
<string>peanuts</string> | |
<key>displayName</key> | |
<string>Peanuts</string> | |
<key>imageName</key> |