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 final class ChipsContainerView: NiblessView { | |
| enum Style { | |
| case withIcon, titleOnly | |
| } | |
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
| {"meta":{"currencyName":"Current","currencySymbol":"UAH","appVersion":"Budger_1.0_8","exportServiceVersion":"1.0 (2)"},"savings":[{"currencyName":"US Dollar","title":"Моно ФОП","timestamp":638103770.92732596,"currencySymbol":"$","transactions":[{"value":601,"timestamp":638103772.96882999,"comment":"На налоги за прошлые месяца","type":2},{"value":5808,"timestamp":638103827.46319306,"comment":"Гонорар","type":2},{"value":379,"timestamp":638103844.23841798,"comment":"Коворкинг","type":1},{"value":2000,"timestamp":638103961.58647597,"comment":"На депозит","type":1}]},{"currencyName":"US Dollar","title":"Наличные","timestamp":638104058.87994599,"currencySymbol":"$","transactions":[{"value":1020,"timestamp":638104201.46120799,"comment":"","type":2},{"value":1880,"timestamp":638104209.03474605,"comment":"","type":2},{"value":5000,"timestamp":638104303.15409303,"comment":"","type":2},{"value":250,"timestamp":638104316.73985195,"comment":"","type":2},{"value":6850,"timestamp":638104343.55056095,"comment":"","type":2}] |
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 | |
| import RxSwift | |
| public typealias Alert = UIAlertController | |
| public final class AlertBuilder { | |
| private struct Action { | |
| let title: Observable<String> |
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
| # Checks Config.plist for http urls and adds them into App Transport security of your Info.plist | |
| INFO_PLIST = "#{ENV["BUILT_PRODUCTS_DIR"]}/#{ENV["INFOPLIST_PATH"]}" | |
| CONFIG_PLIST = INFO_PLIST.sub(/.*\KInfo\.plist/, 'Config.plist') | |
| PLISTBUDDY = "/usr/libexec/PlistBuddy" | |
| lines = `#{PLISTBUDDY} #{CONFIG_PLIST} -c print | grep = | tr -d ' '`.split("\n") | |
| urls = [] | |
| lines.each do |line| | |
| value = line.match(/.*\=(.*)/).captures[0] |
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 | |
| protocol LayoutAnchor { | |
| func constraint(equalTo anchor: Self, constant: CGFloat) -> NSLayoutConstraint | |
| func constraint(greaterThanOrEqualTo anchor: Self, constant: CGFloat) -> NSLayoutConstraint | |
| func constraint(lessThanOrEqualTo anchor: Self, constant: CGFloat) -> NSLayoutConstraint | |
| } | |
| protocol LayoutDimension: LayoutAnchor { |
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
| .DS_Store | |
| # Build generated | |
| build/ | |
| DerivedData/ | |
| # Various settings | |
| *.pbxuser | |
| !default.pbxuser | |
| *.mode1v3 | |
| !default.mode1v3 |
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
| #!/usr/bin/ruby | |
| # An semi-automation script for Carthage dependency manager | |
| # It performs linking and copy-frameworks phase creation | |
| # Basic usage examples: | |
| # ruby ~/dev/cart.rb -d "~/Desktop/MyProject" -l | |
| # ruby ~/dev/cart.rb -d "~/Desktop/MyProject" -tar "Core" -t "RxSwift, Bolts-Swift" | |
| # ruby ~/dev/cart.rb -d "~/Desktop/MyProject" -s "RxSwift, Bolts-Swift" | |
| # Or you can create a Run Script phase (in dedicated Aggregate Target) which will run carthage as well. |
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
| // | |
| // Logger.swift | |
| // | |
| // Created by Roman Kyrylenko on 5/25/17. | |
| // Copyright © 2017 pr0ctopus. All rights reserved. | |
| // | |
| import Foundation | |
| #if canImport(Firebase) |
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
| // | |
| // PrivacyTableViewCell.swift | |
| // | |
| // Created by Roman Kyrylenko on 5/22/17. | |
| // Copyright © 2017 pr0ctopus. All rights reserved. | |
| // | |
| private let privacyScheme = "privacy" | |
| private let termsScheme = "terms" |
NewerOlder