lt cocoa
TRANSCRIPT
簡単Cocoaで補助ツールを作ろう
Cocoaアプリって面倒?
✤ コツをつかめば簡単
✤ Cocoa bindingって実はすごい
✤ テンプレートさえあれば、書き慣れたObjective-cでゴリゴリいける
テンプレート
https://github.com/Ushio/EasyCocoaAutometor
いくつかのファイルに対する一斉処理をする
構成
CollectionView
ArrayController
MainController
CollectionViewItem
View
参照
参照
バインド
バインド
ソースコード
//ボタンイベント- (IBAction)execute:(id)sender{ for(NSDictionary *content in contents.arrangedObjects) { NSString *path = content[@"path"]; NSLog(@"%@", path); //insert your code }}
MainController.m
Enjoy! Cocoa