sudzc

Sudzc deserializeAsDictionary: over written dictionary

一世执手 提交于 2019-12-01 14:51:25
The Sudzc generated code is over writing a dictionary for deserialized nodes. If I use the NSLog(@"The Child Node: %@", [[[element children] objectAtIndex:0] stringValue]); it will write the correct items out each time it passed through. When I try to retrieve the results in code only the last one is available (Jackson 3). What am I doing wrong? // Deserializes the element in a dictionary. +(id)deserializeAsDictionary:(CXMLNode*)element { if([element childCount] == 1) { CXMLNode* child = [[element children] objectAtIndex:0]; if([child kind] == CXMLTextKind) { NSLog(@"The Child Node: %@", [[

SudzC ARC version - objc_msgSend call causes EXC_BAD_ACCESS using 64-bit architecture

拟墨画扇 提交于 2019-11-27 18:36:10
Edit - I've tracked the below issue to a 64-bit vs 32-bit architecture issue... see my posted answer for how I resolved I've used SudzC to generate SOAP code for a web service. They supply you with a sample application, which I was able to use successfully, both on device and simulator. I then started building out my app. I imported the SudzC generated files into a new XCode project using the blank application template (with CoreData and ARC enabled). I got the first SOAP request up and running -- everything works in the simulator -- and then I went to do my first test on a device (iPhone 5S