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
#run from project root directory. Add dsyms at route directory | |
./Pods/FirebaseCrashlytics/upload-symbols -gsp ./GoogleService-Info.plist -p ios ./dyms1.zip |
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
private func stringify(jsonData: Data) -> String { | |
do { | |
let array = try JSONSerialization.jsonObject(with: jsonData, options: []) as? [String: Any] | |
let jsonData2 = try JSONSerialization.data(withJSONObject: array, | |
options: .prettyPrinted) | |
// here "jsonData" is the dictionary encoded in JSON data | |
let jsonString = String(data: jsonData2, encoding: .utf8) ?? "" | |
let result = String(jsonString.filter { !" \n\t\r".contains($0) }) | |
return result | |
} catch { |
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
extension ContactUsViewController { | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
self.initializeViews() | |
} | |
} | |
class ContactUsViewController: BaseSearchViewController { | |
@IBOutlet weak var searchBarTextField: UITextField! | |
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 UIKit | |
import Stevia | |
final class ContactUsView: UIView { | |
private var container = UIView() | |
@objc func injected() { | |
initialSetup() | |
} |
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
new Container( | |
padding: new EdgeInsets.all(8.0), | |
height: 250.0, | |
child: textExample, | |
) | |
final row = new Row( | |
children: <Widget>[ | |
textExample, | |
textExample, |
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
// | |
// Created by はるふ on 2017/12/11. | |
// Copyright © 2017年 ha1f. All rights reserved. | |
// | |
import Foundation | |
import CoreImage | |
import AVFoundation | |
extension CIFilter { |
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
@objc class JPTiltShiftGenerator: NSObject, CIFilterConstructor { | |
@objc func filterWithName(name: String)->CIFilter? { | |
return JPTiltShift() | |
} | |
} | |
class JPTiltShift : CIFilter { | |
class func register() { |
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
// | |
// Created by はるふ on 2017/12/11. | |
// Copyright © 2017年 ha1f. All rights reserved. | |
// | |
import Foundation | |
import CoreImage | |
import AVFoundation | |
extension CIFilter { |
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
const functions = require('firebase-functions'); | |
const admin = require("firebase-admin"); | |
admin.initializeApp(); | |
exports.notifyNewMessage = functions.firestore | |
.document('365BetaCannels2/{chanl}/thrad/{messe}') | |
.onCreate((docSnapshot, context) => { | |
const message = docSnapshot.data(); | |
const recipientId = message['recipientID']; |
NewerOlder