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
// | |
// Singleton_Template.h | |
// | |
// Created by Alex Lee on 3/11/15. | |
// | |
#undef AS_SINGLETON | |
#define AS_SINGLETON \ | |
+ (instancetype)sharedInstance; \ |
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
public struct Person { | |
public var firstName: String | |
public var middleName: String? | |
public var lastName: String | |
public var ageInYears: Int | |
public var fullName: String { | |
return [firstName, middleName, lastName].flatMap{ $0 }.joinWithSeparator(" ") | |
} | |
} |
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
""" | |
Prerequisites: | |
$ pip install biplist | |
$ pip install requests | |
Usage: | |
python dsym_symbolizer.py --dsym_url https://www.example.com/MyStuff.framework.dSYM.zip \ | |
--source_path /Users/MeMySelfAndI/MyStuffSources \ | |
--binary_path /Users/MeMySelfAndI/MyProject/Pods/MyStuff/MyStuff.framework | |
""" |