Lt cocoa
Upcoming SlideShare
Loading in...5
×
 

Lt cocoa

on

  • 139 views

 

Statistics

Views

Total Views
139
Views on SlideShare
139
Embed Views
0

Actions

Likes
0
Downloads
0
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

Lt cocoa Lt cocoa Presentation Transcript

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