Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
カスタム オブジェクト配列を NSData として NSUserDefaults に保存し、最初の実行時に使用できるようにしたいのですが、可能ですか? もしそうなら、どのように?
-registerDefaults: メソッドを使用して、ユーザーが何かを設定する前に使用できるようにしたいデフォルト値を設定する必要があります。