PicnicContentManager
public class PicnicContentManager: NSObject
- コンテンツ情報を読み込むためのマネージャクラス
-
Declaration
Swift
public enum Error: ErrorType -
マネージャクラスの唯一のインスタンス(シングルトン)
Declaration
Swift
public static let sharedManager = PicnicContentManager() -
Declaration
Swift
public private(set) var contents = [PicnicContent]() -
Declaration
Swift
public func count() -> IntReturn Value
コンテンツ数
-
全てのコンテンツを削除する
Declaration
Swift
public func removeAll() -
JSONデータを読み込んでコンテンツを設定する
Declaration
Swift
public func setContentsFromJSON(data: NSData) throwsParameters
dataJSONデータ
PicnicContentManager Class Reference