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
func testShouldCalculatePaymentDistributionMoreComplicatedEventMohaLair() { | |
let moha = Player(name: "Moha") | |
let kaique = Player(name: "Kaique") | |
let lioy = Player(name: "Lioy") | |
let jonas = Player(name: "Jonas") | |
let lima = Player(name: "Lima") | |
let igarashi = Player(name: "Igarashi") | |
let saba = Player(name: "Saba") | |
let paiLima = Player(name: "PaiLima") | |
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
func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { | |
let instabugKey = Secrets.instabugKey.secret() | |
Instabug.start(withToken: instabugKey, invocationEvents: [.shake, .screenshot]) | |
return true | |
} |
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
default_platform(:ios) | |
platform :ios do | |
desc "Description of what the lane does" | |
lane :test do | |
scan(scheme: "SleeveRoll") | |
end | |
lane :build do |
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 Foundation | |
import Quick | |
import Nimble | |
@testable import Notes | |
class MajorDiatonicHarmonySpec: QuickSpec { | |
override func spec() { | |
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
// | |
// IonianModeSpec.swift | |
// Notes | |
// | |
// Created by Thiago Lioy on 26/08/17. | |
// Copyright © 2017 com.tplioy. All rights reserved. | |
// | |
import Quick | |
import Nimble |
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 RxSwift | |
import RxCocoa | |
class RxSwiftViewController: UIViewController { | |
@IBOutlet var priceLabel: UILabel! | |
@IBOutlet var priceSlider: UISlider! | |
@IBOutlet var unitLabel: UILabel! | |
@IBOutlet var unitSlider: UISlider! |
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 | |
class RegularViewController: UIViewController { | |
@IBOutlet var priceLabel: UILabel! | |
@IBOutlet var priceSlider: UISlider! | |
@IBOutlet var unitLabel: UILabel! | |
@IBOutlet var unitSlider: UISlider! | |
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
desc "Bootstrap" | |
lane :bootstrap do | |
xcake | |
sh "cp -r ../schemes/Marvel.xcscheme ../Marvel.xcodeproj/xcshareddata/xcschemes/" | |
cocoapods | |
end |
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
# just helper variables to use these values in a consistent way across whole file | |
currentSwiftVersion = "3.1.0" | |
# Change this to set a different Project file name | |
project.name = "Marvel" |
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
-(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { | |
switch (indexPath.section) { | |
case 1: | |
// | |
break; | |
case 2: | |
// | |
break; |
NewerOlder