NSDictionary Objective-C

后端 未结 3 496
死守一世寂寞
死守一世寂寞 2021-01-14 13:17

I\'m trying to store data in the following fashion with a string as the key and I would like an array as the value.

key objects

\"letters\"

3条回答
  •  不知归路
    2021-01-14 13:59

    You can represent them as property-lists. Property-List Documentation.

    
        letters
        
            a
            b
            c
            d
        
        letters
        
            1
            2
            3
            4
            5
            6
            7
        
     
    

    For an overview of how to serialize and de-serialize your data in Cocoa, see Archives and Serialization Guide for Cocoa

提交回复
热议问题