This file contains hidden or 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
class Boogeyman | |
def self.latest | |
@@latest | |
end | |
# We'll redefine initialize | |
def initialize(name, location) | |
@name = name | |
@location = location |
This file contains hidden or 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
@interface NSArray (Ext) | |
-(NSArray*) sortByMostFrequent ; | |
@end | |
@implementation NSArray (Ext) | |
-(NSArray*) sortByMostFrequent { | |
NSMutableDictionary* frequencyDict = [NSMutableDictionary dictionary]; |
This file contains hidden or 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
@interface NSString (NSStringHexToBytes) | |
-(NSData*) hexToBytes ; | |
@end | |
@implementation NSString (NSStringHexToBytes) | |
-(NSData*) hexToBytes { | |
NSMutableData* data = [NSMutableData data]; | |
int idx; |
This file contains hidden or 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
// | |
// TestHangul.m | |
// Hangul | |
// | |
// Created by Woo-Kyoung Noh on 20/08/10. | |
// Copyright 2010 factorcat. All rights reserved. | |
// | |
#import "TestHangul.h" | |
#import "UnitTest.h" |
This file contains hidden or 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
// | |
// TestGridConverter.m | |
// Hangul | |
// | |
// Created by Woo-Kyoung Noh on 28/08/10. | |
// Copyright 2010 factorcat. All rights reserved. | |
// | |
#import "TestGridConverter.h" | |
#import "GridConverter.h" |
This file contains hidden or 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
RootViewController> cd / | |
UITabBarController> cd | |
RootViewController> ls | |
[ROOTVIEWCONTROLLER]: <RootViewController: 0x6024920> | |
NAVIGATIONITEM: <UINavigationItem: 0x6024b20; title = 'libcat'> | |
TABLEVIEW: <UITableView: 0x7042600; frame = (0 0; 320 367); clipsToBounds = YES; opaque = NO; autoresize = W+H; layer = <CALayer: 0x629d510>; contentOffset: {0, 0}> | |
SECTIONS: | |
0 [ | |
"[0] <UITableViewCell: 0x629f310; frame = (0 46; 320 45); text = 'Tests'; autoresize = W; layer = <CALayer: 0x629f440>>", | |
"[1] <UITableViewCell: 0x629f6b0; frame = (0 91; 320 44); text = 'Assertions'; autoresize = W; layer = <CALayer: 0x629f790>>", |
This file contains hidden or 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
// | |
// TestJanggi.m | |
// JanggiNorm | |
// | |
// Created by Woo-Kyoung Noh on 13/09/10. | |
// Copyright 2010 factorcat. All rights reserved. | |
// | |
#import "TestJanggi.h" | |
#import "JanggiManager.h" |
This file contains hidden or 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
// | |
// TestChess.m | |
// Chess | |
// | |
// Created by wookyoung noh on 08/11/10. | |
// Copyright 2010 factorcat. All rights reserved. | |
// | |
#import "TestChess.h" | |
#import "ChessBoard.h" |
This file contains hidden or 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
RootViewController> cd 0 | |
UITableViewCell> p | |
== UITableViewCell == | |
accessoryType 0 [UITableViewCellAccessoryNone] i | |
accessoryView <null> @"UIView" | |
backgroundView <UIGroupTableViewCellBackground: 0xa27c2a0; ... @"UIView" | |
contentView <UITableViewCellContentView: 0xa27c270; fram... @"UIView" R | |
detailTextLabel <UITableViewLabel: 0xa27c690; frame = (271 1... @"UILabel" R | |
editableTextField <null> @"UITextField" R | |
editingAccessoryType 0 [UITableViewCellAccessoryNone] i |
This file contains hidden or 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
RootViewController> cd MPMediaQuery | |
$0 = <RootViewController: 0x144ba0> | |
MPMediaQuery> ls | |
[MPMEDIAQUERY]: MPMediaQuery | |
CLASS_METHODS: [ | |
"_clearCachedDynamicPropertiesForMediaLibrary:", | |
"_clearCachedItemsAndCollections", | |
"_clearCachedItemsAndCollectionsForMediaLibrary:", | |
"_didReceiveMemoryWarning", | |
"_executeMediaCacheSyncedBlock:", |
OlderNewer