I hereby claim:
- I am reddavis on github.
- I am reddavis (https://keybase.io/reddavis) on keybase.
- I have a public key whose fingerprint is AC22 9E10 0D96 B7BE 7948 3E3D 2FAE F15C 9FAE C8AA
To claim this, I am signing this object:
infix operator ||= | |
func ||=<T>(lhs: inout T?, rhs: T) { | |
guard lhs == nil else { return } | |
lhs = rhs | |
} |
internal extension KeyedDecodingContainer | |
{ | |
internal func decode<T: Decodable>(_ key: KeyedDecodingContainer<K>.Key) throws -> T | |
{ | |
return try self.decode(T.self, forKey: key) | |
} | |
internal func decodeIfPresent<T: Decodable>(_ key: KeyedDecodingContainer<K>.Key) throws -> T? | |
{ | |
return try self.decodeIfPresent(T.self, forKey: key) |
cd $BUDDYBUILD_PRODUCT_DIR | |
ls **/*.dSYM/Contents/Resources/DWARF/* | while read line; do | |
echo "Uploading $line" | |
echo "Running: curl https://upload.bugsnag.com/ -F 'dsym=@$line'" | |
curl https://upload.bugsnag.com/ -F "dsym=@$line" | |
done |
I hereby claim:
To claim this, I am signing this object:
@interface TestUser () | |
@property (copy, nonatomic) NSString *modelIdentifier; | |
@end | |
@implementation TestUser | |
@dynamic name; | |
- (instancetype)initWithIdentifier:(NSString *)identifier |
@interface TestUser : NSObject <REDModel> | |
@property (copy, nonatomic) NSString *name; | |
- (instancetype)initWithIdentifier:(NSString *)identifier; | |
@end |
@interface TestUser : NSObject <REDModel> | |
@property (copy, nonatomic) NSString *name; | |
- (instancetype)initWithIdentifier:(NSString *)identifier; | |
@end |
#import "REDModel.h" | |
@interface TestUser : NSObject <REDModel> | |
@property (copy, nonatomic) NSString *name; | |
- (instancetype)initWithIdentifier:(NSString *)identifier; | |
@end |
#import "TestUser.h" | |
@interface TestUser () | |
@property (copy, nonatomic) NSString *REDModelIdentifier; | |
@end | |
@implementation TestUser |
#import "REDModel.h" | |
@interface TestModel : NSObject <REDModel> | |
@property (copy, nonatomic) NSString *string; | |
@property (copy, nonatomic) NSDate *date; | |
@property (copy, nonatomic) NSNumber *number; | |
@end |