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
| # Fastlane setup for creating a xcode simulator build (*.app) in a zip | |
| # Assume we have | |
| # 1. a `Test_Sim_Build.xcworkspace` | |
| # 2. which contains a `Test_Sim_Build` scheme | |
| # 3. which will output a `Test_Sim_Build.app` file in derived data path `simulator_build_folder` | |
| default_platform(:ios) | |
| platform :ios do | |
| desc "Description of what the lane does" |
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
| #!/bin/bash | |
| # Simple bash script to copy current timestamp to clipboard. | |
| TIMESTAMP="$(date +%s)" | |
| echo -n $TIMESTAMP | pbcopy | |
| echo "$TIMESTAMP <- is copied to clipboard" |
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/UIKit.h> | |
| typedef enum : NSUInteger { | |
| XXStoryboardMain, | |
| XXStoryboardDetail, | |
| } XXStoryboardName; | |
| @interface UIViewController (Instantiate) | |
| + (instancetype)instantiateFromStoryboard:(XXStoryboardName)storyboard; |