• 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: Method Sees Populated Array As Empty
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Method Sees Populated Array As Empty


  • Subject: Re: Method Sees Populated Array As Empty
  • From: Markus Spoettl <email@hidden>
  • Date: Sat, 5 Jul 2008 14:58:44 -0700

On Jul 5, 2008, at 2:36 PM, Mark Wales wrote:
Is there any reason why a method would read an array as empty when every other method has no problems accessing it?

I don't think so. More likely is that you are accessing an array that is either empty or nil. It's impossible to tell without seeing the code but my guess would be that you're not accessing the same instance variable in -dataOfType: like you do in the other places where it works as expected.


Markus
--
__________________________________________
Markus Spoettl

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Method Sees Populated Array As Empty
      • From: Mark Wales <email@hidden>
References: 
 >Method Sees Populated Array As Empty (From: Mark Wales <email@hidden>)

  • Prev by Date: Re: Guidelines for Cocoa frameworks supporting garbage collection?
  • Next by Date: Re: garbage collection and NSConnection
  • Previous by thread: Method Sees Populated Array As Empty
  • Next by thread: Re: Method Sees Populated Array As Empty
  • Index(es):
    • Date
    • Thread