• 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
Re: NSData
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSData


  • Subject: Re: NSData
  • From: j o a r <email@hidden>
  • Date: Tue, 23 Mar 2004 19:15:09 +0100

If it looks like that when you log it, it's empty.
Another way is to check the length of the contained data:

NSLog(@"data length: %d", [myData length]);

j o a r

On 2004-03-23, at 19.07, Sascha Kuehn wrote:

> how can i check if a NSData variable is empty?
> if i display the contents of the variable with NSLog i get: <>

[demime 0.98b removed an attachment of type application/pkcs7-signature which had a name of smime.p7s]
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >NSData (From: Sascha Kuehn <email@hidden>)

  • Prev by Date: Re: NSMutableArray problems
  • Next by Date: Re: performance tuning
  • Previous by thread: NSData
  • Next by thread: Re: NSData
  • Index(es):
    • Date
    • Thread