NCMBSubclassing Protocol Reference
| Conforms to | NSObject |
|---|---|
| Declared in | NCMBSubclassing.h |
Overview
NCMBSubclassingに準拠したNCMBObjectのサブクラスは、registerSubclassメソッドを呼び出すことで、 ニフクラ mobile backendのオブジェクトとして、使用することができます。
+ object
required method
オブジェクトを生成
+ (id)objectReturn Value
サブクラスのインスタンス
Declared In
NCMBSubclassing.h
+ objectWithoutDataWithObjectId:
required method
指定したobjectIdでオブジェクトを生成
+ (id)objectWithoutDataWithObjectId:(NSString *)objectIdParameters
objectId |
生成するオブジェクトのobjectIdを指定 |
|---|
Return Value
サブクラスのインスタンス
Declared In
NCMBSubclassing.h
+ ncmbClassName
required method
mobile backend上のクラス名を返却する。
+ (NSString *)ncmbClassNameReturn Value
サブクラスのデータストア上でのクラス名
Declared In
NCMBSubclassing.h
+ query
required method
設定されているクラスを対象として検索するためのNCMBQueryを生成
+ (NCMBQuery *)queryReturn Value
サブクラスのクエリ
Declared In
NCMBSubclassing.h
+ registerSubclass
required method
サブクラスの登録 setApplicationKey:clientKey:の前にこのメソッドを呼んで下さい。
+ (void)registerSubclassDeclared In
NCMBSubclassing.h