encodeInt:forKey:
整数をコード化します
-(void)encodeInt:(int)intv: forKey:(NSString *)key:
解説
整数をコード化します。
返り値
( void )
なし
引数
( int )intv
整数値
( NSString * )key
キー文字列
フレームワーク
Foundation
クラス
NSKeyedArchiver
Instance Methods
使用可能
10.0
参照
- decodeIntForKey: (NSKeyedUnarchiver)
例文
[archiver encodeInt:100 forKey:@"intVal1"];