I hereby claim:
- I am ratkins on github.
- I am ratkins (https://keybase.io/ratkins) on keybase.
- I have a public key whose fingerprint is 16B5 B9AC 079B 53F5 47C3 1303 CA4E 3BBF C9E0 008F
To claim this, I am signing this object:
import Foundation | |
enum HTTPMethod { | |
case get | |
case post(data: Data) | |
} | |
protocol Request { | |
associatedtype ResponseType |
#include "FastLED.h" | |
#include <stdio.h> | |
const uint8_t ledPin = 2; | |
//37 + (18 * 2) + (14 * 4) | |
const uint16_t kNumLeds = 129; | |
CRGB leds[kNumLeds]; |
I hereby claim:
To claim this, I am signing this object:
[self.billingEmailSection.contacts addObject:@""]; | |
NSArray *blankRows = @[ | |
[NSIndexPath indexPathForItem:[self.billingEmailSection.contacts count] inSection:4] | |
]; | |
[self.tableView insertRowsAtIndexPaths:blankRows withRowAnimation:UITableViewRowAnimationBottom]; |
#import "GroupableItem.h" | |
@interface GroupableItemBuilder : NSObject | |
@property (nonatomic, strong) NSString *name; | |
@property (nonatomic, strong) NSString *groupingKey; | |
@property (nonatomic, assign) NSInteger second; | |
@property (nonatomic, assign) NSInteger minute; | |
@property (nonatomic, assign) NSInteger hour; | |
@property (nonatomic, assign) NSInteger day; |
We had the need to expose a UINavigationController
created by UIStoryboard
to a class that was managed by Typhoon. We were already using a technique to inject a ViewController's properties with Typhoon-managed objects, but we wanted to go the other way around and get the UINavigationController
that was created by UIStoryboard
into the Typhoon universe.
Because the UIStoryboard
(and therefore UINavigationController
) doesn't actually exist when Typhoon is doing its thing, we had to create a NavigationControllerProxy
that would look it up and return it when it was asked. This could then be injected by Typhoon into any object which neede the UINavigationController
:
// NavigationControllerProxy.m
- (UINavigationController *)navigationController {
return (UINavigationController *)[UIApplication sharedApplication].keyWindow.rootViewController;
}