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.
チタンでNSDictionaryの種類のオブジェクトを作成する方法を教えてもらえますか?多くの検索を行いましたが、キーと値のペアを作成するための正しい解決策が見つかりませんでした。
ありがとう、
Titanium は Javascript で記述されているため、キーと値のペアを持つことができる JSON オブジェクトを渡すことができます...
var dictionary = { key: 'value', key2: 'value2' };
特に NSDictionary を利用したい場合は、iOS モジュールのパスをたどる必要があります。