「NSValue Class Reference」の編集履歴(バックアップ)一覧はこちら

NSValue Class Reference」(2010/02/25 (木) 23:26:23) の最新版変更点

追加された行は緑色になります。

削除された行は赤色になります。

//0.下はいじらない Tags:&tags() //1.以下に続けてADCでの分類を書き込みリンクする。「NSHogeのクラスリファレンス」、まで書く &link_toppage(トップ) > [[リファレンス]] > Data Management: Data Types & Collections > NSValue クラスリファレンス //2.リファレンス日本語名を見出し1で書く。wiki内のリンクで用いられるタイトルになる。翻訳元にもリンクする。 *NSValue クラスリファレンス [[翻訳元>http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSValue_Class/Reference/Reference.html#//apple_ref/occ/cl/NSValue]] //3.翻訳元の最終更新日を書く このページの最終更新:&date() ADCの最終更新:2007-10-31 //4.以下、用語は頻繁に出てくる単語の翻訳ガイドラインを参照しながら翻訳する。 //5.ある程度書き終わったらタグ(未完または完成、カテゴリ名×3)をつけて下線を引く(広告との境)。これで終了。それではGood Luck! //本文開始↓ |BGCOLOR(#eef):継承するクラス|BGCOLOR(#eef):[[NSObject>NSObject Class Reference]]| |準拠しているプロトコル|[[NSCoding>NSCoding Protocol Reference]]&br()[[NSCopying Protocol Reference]]&br()[[NSObject (NSObject)>NSObject Protocol Reference]]| |BGCOLOR(#eef):フレームワーク|BGCOLOR(#eef):/System/Library/Frameworks/Foundation.framework| |使用可能な環境|Mac OS X v10.0 以降| |BGCOLOR(#eef):コンパニオンガイド|BGCOLOR(#eef):Number and Value Programming Topics for Cocoa| |宣言ファイル|NSGeometry.h&br()NSRange.h&br()NSValue.h| |BGCOLOR(#eef):サンプルコード|BGCOLOR(#eef):LightTable&br()QTAudioContextInsert&br()QTAudioExtractionPanel&br()Quartz Composer WWDC 2005 TextEdit&br()Sketch+Accessibility| **概観(Overview) ----  NSValueクラスのオブジェクトは単独のCデータやObjective-Cデータの単純なコンテナです。このオブジェクトはint、float、charだけでなく、ポインタや構造体、id型などのようなどんなスカラー型も持つことができます。このクラスの意義はこのようなデータ型をNSArrayやNSSetのような、要素がオブジェクトである必要があるコレクションに入れられるようにすることです。NSValueオブジェクトは常に変更不能です。 **採用しているプロトコル(Adopted Protocols) ---- [[NSCoding>NSCoding Protocol Reference]] - encodeWithCoder: - initWithCoder: [[NSCopying>NSCopying Protocol Reference]] - copyWithZone: **このクラスでできること(Tasks) ---- **NSValueオブジェクトの作成(Creating an NSValue) – initWithBytes:objCType: + valueWithBytes:objCType: + value:withObjCType: + valueWithNonretainedObject: + valueWithPointer: + valueWithPoint: + valueWithRange: + valueWithRect: + valueWithSize: ***データへのアクセス(Accessing Data) – getValue: – nonretainedObjectValue – objCType – pointValue – pointerValue – rangeValue – rectValue – sizeValue ***オブジェクトの比較(Comparing Objects) – isEqualToValue: **クラスメソッド ---- **インスタンスメソッド ---- ----
//0.下はいじらない Tags:&tags() //1.以下に続けてADCでの分類を書き込みリンクする。「NSHogeのクラスリファレンス」、まで書く &link_toppage(トップ) > [[リファレンス]] > データ管理:データ型とコレクション > NSValue クラスリファレンス //2.リファレンス日本語名を見出し1で書く。wiki内のリンクで用いられるタイトルになる。翻訳元にもリンクする。 *NSValue クラスリファレンス [[翻訳元>http://developer.apple.com/mac/library/documentation/Cocoa/Reference/Foundation/Classes/NSValue_Class/Reference/Reference.html#//apple_ref/occ/cl/NSValue]] //3.翻訳元の最終更新日を書く このページの最終更新:&date() ADCの最終更新:2007-10-31 //4.以下、用語は頻繁に出てくる単語の翻訳ガイドラインを参照しながら翻訳する。 //5.ある程度書き終わったらタグ(未完または完成、カテゴリ名×3)をつけて下線を引く(広告との境)。これで終了。それではGood Luck! //本文開始↓ |BGCOLOR(#eef):継承するクラス|BGCOLOR(#eef):[[NSObject>NSObject Class Reference]]| |準拠しているプロトコル|[[NSCoding>NSCoding Protocol Reference]]&br()[[NSCopying Protocol Reference]]&br()[[NSObject (NSObject)>NSObject Protocol Reference]]| |BGCOLOR(#eef):フレームワーク|BGCOLOR(#eef):/System/Library/Frameworks/[[Foundation.framework>Foundation Framework]]| |使用可能な環境|Mac OS X v10.0 以降| |BGCOLOR(#eef):コンパニオンガイド|BGCOLOR(#eef):[[Number and Value Programming Topics for Cocoa]]| |宣言ファイル|NSGeometry.h&br()NSRange.h&br()NSValue.h| |BGCOLOR(#eef):サンプルコード|BGCOLOR(#eef):[[LightTable]]&br()[[QTAudioContextInsert]]&br()[[QTAudioExtractionPanel]]&br()[[Quartz Composer WWDC 2005 TextEdit]]&br()[[Sketch+Accessibility]]| **概観(Overview) ----  NSValueクラスのオブジェクトはCやObjective-Cの単独なデータの単純なコンテナです。このオブジェクトはint、float、charだけでなく、ポインタや構造体、オブジェクトのid型などのようなどんなスカラー型も持つことができます。このクラスはこのようなデータ型をNSArrayやNSSetのような要素がオブジェクトであることを要求するコレクションに入れられるようにする為に使います。NSValueオブジェクトは常に変更不能です。 **採用しているプロトコル(Adopted Protocols) ---- [[NSCoding>NSCoding Protocol Reference]] &space(8)&link_anchor(page=NSCoding Protocol Reference,encodeWithCoder:){- encodeWithCoder:} &space(8)&link_anchor(page=NSCoding Protocol Reference,initWithCoder:){- initWithCoder:} [[NSCopying>NSCopying Protocol Reference]] &space(8)&link_anchor(page=NSCopying Protocol Reference,copyWithZone:){- copyWithZone:} **このクラスでできること(Tasks) ---- **NSValueオブジェクトの作成(Creating an NSValue) &space(8)&link_anchor(initWithBytes:objCType:){– initWithBytes:objCType:} &space(8)&link_anchor(valueWithBytes:objCType:){+ valueWithBytes:objCType:} &space(8)&link_anchor(value:withObjCType:){+ value:withObjCType:} &space(8)&link_anchor(valueWithNonretainedObject:){+ valueWithNonretainedObject:} &space(8)&link_anchor(valueWithPointer:){+ valueWithPointer:} &space(8)&link_anchor(valueWithPoint:){+ valueWithPoint:} &space(8)&link_anchor(valueWithRange:){+ valueWithRange:} &space(8)&link_anchor(valueWithRect:){+ valueWithRect:} &space(8)&link_anchor(valueWithSize:){+ valueWithSize:} ***データへのアクセス(Accessing Data) &space(8)&link_anchor(getValue:){– getValue:} &space(8)&link_anchor(nonretainedObjectValue){– nonretainedObjectValue} &space(8)&link_anchor(objCType){– objCType} &space(8)&link_anchor(pointValue){– pointValue} &space(8)&link_anchor(pointerValue){– pointerValue} &space(8)&link_anchor(rangeValue){– rangeValue} &space(8)&link_anchor(rectValue){– rectValue} &space(8)&link_anchor(sizeValue){– sizeValue} ***オブジェクトの比較(Comparing Objects) &space(8)&link_anchor(isEqualToValue:){– isEqualToValue:} **クラスメソッド ---- ***&anchor(option=nolink,value:withObjCType:){value:withObjCType:} ***&anchor(option=nolink,valueWithBytes:objCType:){valueWithBytes:objCType:} ***&anchor(option=nolink,valueWithNonretainedObject:){valueWithNonretainedObject:} ***&anchor(option=nolink,valueWithPoint:){valueWithPoint:} ***&anchor(option=nolink,valueWithPointer:){valueWithPointer:} ***&anchor(option=nolink,valueWithRange:){valueWithRange:} ***&anchor(option=nolink,valueWithRect:){valueWithRect:} ***&anchor(option=nolink,valueWithSize:){valueWithSize:} **インスタンスメソッド ---- ***&anchor(option=nolink,getValue:){getValue:} ***&anchor(option=nolink,initWithBytes:objCType:){initWithBytes:objCType:} ***&anchor(option=nolink,isEqualToValue:){isEqualToValue:} ***&anchor(option=nolink,nonretainedObjectValue){nonretainedObjectValue} ***&anchor(option=nolink,objCType){objCType} ***&anchor(option=nolink,pointValue){pointValue} ***&anchor(option=nolink,pointerValue){pointerValue} ***&anchor(option=nolink,rangeValue){rangeValue} ***&anchor(option=nolink,rectValue){rectValue} ***&anchor(option=nolink,sizeValue){sizeValue} ----

表示オプション

横に並べて表示:
変化行の前後のみ表示:
人気記事ランキング
目安箱バナー