I have a structure of structures returned from an XML parser. I want to pull
values out of it and display them in a table view in my app then pass the user
selection back to my composition. I found numerous examples for passing an NS
dictionary into structure but none for sending a published structure port into
an NSDictionary or NSArray. I've tried the XML parser result directly and also
passing the output from a Queue patch that puts the interesting bits into a
flat structure but I can't read either on in xcode.
NSMutableDictionary *groupList;
groupList = [[NSMutableDictionary alloc] init];
groupList: dictionaryWithDictionary:(NSDictionary *)[visView
valueForOutputKey:@"groupList" ofType: @"NSDictionary"];
doesn't work, nor does using a mutable array.
I also tried
NSMutableDictionary *groupList = [[[NSMutableDictionary alloc][visView
valueForOutputKey:@"groupList" ofType: @"NSDictionary"]]];
But that doesn't seem to work either. Is there anything unusual about the
output from a queue patch? Should I be using the "ofType" argument? Is there
example code anywhere that shows how to send structure ports into
NSDictionaries or NSArrays? I'm stumped.
Roger Jones
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Quartzcomposer-dev mailing list ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/quartzcomposer-dev/archive%40mail-archive.com
This email sent to [email protected]