• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
ERRest plist response and Objective-C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ERRest plist response and Objective-C


  • Subject: ERRest plist response and Objective-C
  • From: Farrukh Ijaz <email@hidden>
  • Date: Wed, 24 Nov 2010 21:42:07 +0300

Hi Everybody,

I've a question (specifically for ERRest authors / gurus). I've been doing some iPhone apps which connect to our WO apps. I use ERRest framework and generate plist response. On iPhone side, I load it to NSArray object using

NSArray *data = [NSArray arrayWithContentsOfURL:<url-to-errest-web-service>];

The situation I face is the null elements of the plist contain value "<com.webobjects.foundation.NSKeyValueCoding$Null>" when they are converted to plist. But on Objective-C side, such fields are created as NSCFString. Do you have any idea how I can compare this to NSNull object? Right now I use NSCFString's isEqualToString method and compare with "<com.webobjects.foundation.NSKeyValueCoding$Null>". It's not a show stopper, just wanted to know the right or better solution if someone knows?

Thanks,

Farrukh


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: ERRest plist response and Objective-C
      • From: Mark Ritchie <email@hidden>
  • Prev by Date: Imagemagick
  • Next by Date: Re: Weird plist framework question
  • Previous by thread: Re: Imagemagick
  • Next by thread: Re: ERRest plist response and Objective-C
  • Index(es):
    • Date
    • Thread