This file contains hidden or 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 UIKit | |
public struct ViewFactory { | |
public static var labelColor: UIColor = .black | |
public static var secondaryLabelColor: UIColor = .gray | |
public static var labelFont: UIFont = .systemFont(ofSize: 15, weight: .medium) | |
public static var fieldFont: UIFont = .systemFont(ofSize: 15, weight: .semibold) | |
public static func view( | |
_ backgroundColor: UIColor? = UIColor.clear, |
This file contains hidden or 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
# Install APNS gem: | |
# sudo gem install APNS | |
require 'APNS' | |
# gateway.sandbox.push.apple.com is default | |
# APNS.host = 'gateway.push.apple.com' # Production | |
APNS.host = 'gateway.sandbox.push.apple.com' # Development | |
# this is also the default. Shouldn't ever have to set this, but just in case Apple goes crazy, you can. | |
APNS.port = 2195 |