setLastComponentOfFileName:
ファイル名をセットします
-(void)setLastComponentOfFileName:(NSString *)str:
解説
ファイル名をセットします。
返り値
( void )
なし
引数
( NSString * )str
フレームワーク
ApplicationKit
クラス
NSDocument
Instance Methods
使用可能
10.0
参照
- displayName
例文
[self setLastComponentOfFileName:@"newFilename"]; NSLog([self lastComponentOfFileName]);