Debugging – Testing

    Use Nimble to express the expected outcomes of Swift or Objective-C expressions. Inspired by Cedar. // Swift expect(1 + 1).to(equal(2)) expect(1.2).to(beCloseTo(1.1, within: 0.1)) expect(3) > 2 expect("seahorse").to(contain("sea")) expect(["Atlantic", "Pacific"]).toNot(contain("Mississippi")) expect(ocean.isClean).toEventually(beTruthy()) How to Use Nimble Table of Contents  generated with DocToc Some Background: Expressing Outcomes Using Assertions in XCTest Nimble: Expectations Using expect(

set-simulator-location This is a simple CLI for easily setting the location of the currently running iOS Simulator. Usage Set a specific latitude and longitude: $ set-simulator-location -c 37.7765 -122.3918 Or using place search: $ set-simulator-location -q Lyft HQ San Francisco Installation $ brew install lyft/formulae/set-simulator-location Source: https://github.com/lyft/set-simulator-location

           Installation Simply add GDPerformanceMonitoring folder with files to your project, or use CocoaPods. Carthage Create a Cartfile that lists the framework and run carthage update. Follow the instructions to add $(SRCROOT)/Carthage/Build/iOS/GDPerformanceView.framework to an iOS project. github "dani-gavrilov/GDPerformanceView-Swift" ~> 1.1.2 Don't forget to import GDPerformanceView by adding: import GDPerformanceView CocoaPods You can use CocoaPods to install GDPerformanceView by adding it