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
@import WatchKit; | |
@interface CachingInterfaceController : WKInterfaceController | |
- (void)updateLabel:(WKInterfaceLabel *)label withString:(NSString *)string; | |
- (void)updateLabel:(WKInterfaceLabel *)label asHidden:(BOOL)hidden; | |
- (void)updateImage:(WKInterfaceImage *)image withImageNamed:(NSString *)imageName; | |
- (void)updateImage:(WKInterfaceImage *)image withBaseNameForAnimation:(NSString *)baseName withRange:(NSRange)range duration:(NSTimeInterval)duration repeatCount:(NSInteger)repeatCount; | |
- (NSString *)currentImageNameForImage:(WKInterfaceImage *)image; |
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
GSEventType eventType = GSEventGetType((GSEventRef)event); | |
GSEventFlags modFlag = GSEventGetModifierFlags((GSEventRef)event); | |
UniChar keyCode = GSEventGetKeyCode((GSEventRef)event); | |
NSLog(@"----------event: %d", eventType); | |
NSLog(@"----------modifier: %d", modFlag); | |
NSLog(@"----------keycode: %d", keyCode); | |
uint fCTRL = (modFlag & 1048576) ? YES : NO; | |
uint fSHIFT = (modFlag & 131072) ? YES : NO; | |
uint fALT = (modFlag & 524288) ? YES : NO; | |
uint fCMD = (modFlag & 65536) ? YES : NO; |
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
[10/02/17 15:39:42] Toru Furukawa (tof): show は、デフォルトで見えてないものを見せるような動作じゃないかな。 | |
[10/02/17 15:39:59] Toru Furukawa (tof): コートの前をはだけて、 | |
[10/02/17 15:40:04] Toru Furukawa (tof): ちんこを show |