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
// | |
// 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
@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
@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
class Boogeyman | |
def self.latest | |
@@latest | |
end | |
# We'll redefine initialize | |
def initialize(name, location) | |
@name = name | |
@location = location |
NewerOlder