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
| // NSString から NSSortDescriptor の NSArrayを生成 | |
| // | |
| // @"sortDescriptorsBynameDESCANDcharacterDOTname" | |
| // を受けて、name(DESC) と character.name の二つからなるそれを返す。 | |
| NSString *sortDesctiptorsBy = @"sortDescriptorsBy"; | |
| - (id)sortDescriptorsFromString:(NSString *)keysString | |
| { | |
| NSArray *keys; |
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
| # 作業コピー内でRepository Rootを表示 | |
| alias svnroot="LC_ALL=C svn info | awk '/Root:/{print \$3}'" | |
| # 作業コピー内でRepositoryの内容をRepository Rootを起点に表示。svnroot必須。 | |
| function svnls { | |
| svn ls `svnroot`/$1 | |
| } | |
| # 作業コピー内でコピーを作成する。svnroot必須。 | |
| function svncp { |
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
| // | |
| // XSPFMInfomationObject.h | |
| // XspfManager | |
| // | |
| // Created by Hori,Masaki on 09/11/02. | |
| // Copyright 2009 masakih. All rights reserved. | |
| // | |
| #import <CoreData/CoreData.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
| #pragma mark#### NSTokenField Delegate #### | |
| - (NSArray *)tokenField:(NSTokenField *)tokenField | |
| completionsForSubstring:(NSString *)substring | |
| indexOfToken:(NSInteger)tokenIndex | |
| indexOfSelectedItem:(NSInteger *)selectedIndex | |
| { | |
| NSManagedObjectContext *moc = [appDelegate managedObjectContext]; | |
| NSPredicate *predicate = [NSPredicate predicateWithFormat:@"name BEGINSWITH[cd] %@", substring]; | |
| NSEntityDescription *entry = [NSEntityDescription entityForName:@"VoiceActor" | |
| inManagedObjectContext:moc]; |
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
| // | |
| // DynamicPropertyGenerator.m | |
| // DynamicPropertyGenerator | |
| // | |
| // Created by Hori,Masaki on 11/02/09. | |
| // Copyright 2011 masakih. All rights reserved. | |
| // | |
| #import "DynamicPropertyGenerator.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
| // | |
| // NextThreadFinder.h | |
| // NextThreadFinder | |
| // | |
| // Created by Hori,Masaki on 11/02/17. | |
| // Copyright 2011 masakih. All rights reserved. | |
| // | |
| #import <Cocoa/Cocoa.h> | |
| #import "BSImagePreviewerInterface.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
| Index: application/source/browser/BSDBThreadList.m | |
| =================================================================== | |
| --- application/source/browser/BSDBThreadList.m (revision 1386) | |
| +++ application/source/browser/BSDBThreadList.m (working copy) | |
| @@ -25,6 +25,8 @@ | |
| #import "BSSExpParser.h" | |
| #import "BSLabelManager.h" | |
| #import "SmartBoardListItem.h" | |
| +#import "CMRFileManager.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
| void printClassHierarchy(id object) | |
| { | |
| NSMutableArray *names = [NSMutableArray array]; | |
| Class objClass = [object class]; | |
| Class rootClass = [NSObject class]; | |
| while(objClass != rootClass) { | |
| [names addObject:NSStringFromClass(objClass)]; | |
| objClass = [objClass superclass]; | |
| } | |
| [names addObject:NSStringFromClass(rootClass)]; |
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
| #include <objc/runtime.h> | |
| @interface NSObject (AddProperty) | |
| @property (copy) NSString *string; | |
| @end | |
| @implementation NSObject(AddProperty) | |
| - (NSString *)string | |
| { | |
| id result = objc_getAssociatedObject(self, @"string"); |
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
| BathyScaphe Link Preview プラグイン システム ガイド | |
| プラグインのロード | |
| プラグインのロードのタイミング | |
| プラグインはデフォルトではリンクがクリックされるまでそのロードが遅延されます。 | |
| ユーザー/Library/Application Support/BathyScaphe/PlugIns フォルダからのプラグインのロード |
OlderNewer