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
### Keybase proof | |
I hereby claim: | |
* I am rockstar on github. | |
* I am rockstar (https://keybase.io/rockstar) on keybase. | |
* I have a public key whose fingerprint is D9F0 D7E3 EC68 D34D 3CDB FD68 1037 16FA 1EC3 4C10 | |
To claim this, I am signing this object: |
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
sites: | |
- name: example1.com | |
db: example1 | |
- name: example2.com | |
db: example2 |
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
-(void)draw { | |
[super draw]; | |
if (selected) { | |
CGRect rect = [self boundingBox]; | |
CGPoint vertices[4] = { | |
ccp(0, 0), | |
ccp(0, rect.size.height), | |
ccp(rect.size.width, rect.size.height), | |
ccp(rect.size.width, 0) | |
}; |
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
-(void)doTheThing { | |
switch (item) { | |
case firstCase: | |
... | |
break; | |
case secondCase: | |
... | |
break; | |
default: | |
NSLog(@"Unknown case %u", item); |