NSDictionary implementing Map plus a couple of other ideas
14 views
Skip to first unread message
Karl Moore
unread,
Mar 22, 2013, 9:58:41 AM3/22/13
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to plist-...@googlegroups.com
I've tried a number of approaches of working with NSDictionary but I keep coming back to it implementing Map. As such I've done it, don't know if you will include this? I've also written a wrapper for NSDictionary. I have some existing code that can only deal with maps. As such I've had to write a wrapper to convert from NS blah to the Java object (e.g. NSObject.toJavaObject) automatically. Imagine if you parse a dictionary you want to pass it into some code and then at the end want to turn that back into a pList. You can convert twice, but wrapping it makes more sense. Any thoughts? I'm happy to contribute this back.