setPath:
パスをセットします
-(BOOL)setPath:(NSString *)path:
解説
パスをセットします。
返り値
( BOOL )
セットできたかYES/NO
引数
( NSString * )path
パス
フレームワーク
ApplicationKit
クラス
NSBrowser
Instance Methods
使用可能
10.0
参照
- path
- pathToColumn:
- pathSeparator
- setPathSeparator:
例文
#import "butAction.h" @implementation butAction - (IBAction)myAction:(id)sender { [myOutlet setPath:@"/Document"]; NSLog([NSString stringWithFormat:@"%@ ", [myOutlet path] ]); NSLog([NSString stringWithFormat:@"%@ ", [myOutlet pathToColumn: 1] ]); } @end