• 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: Storing bundle loaded main class instances in NSArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Storing bundle loaded main class instances in NSArray


  • Subject: Re: Storing bundle loaded main class instances in NSArray
  • From: Graham Cox <email@hidden>
  • Date: Thu, 9 Apr 2009 10:38:36 +1000


On 09/04/2009, at 2:13 AM, Daniel Luis dos Santos wrote:

I expect a file manager and it tells me that it does not respond to fileExistsAtPath


No you don't.

According to your original post, you are complaining that calling - addObject on _instances throws this error. So does _instances point to NSFileManager or an array, as the code implies?

You're confused, so the rest of us have no chance.

Regarding your comments about autorelease pools, sounds like you're relying on some assumed behaviour that is not stated anywhere in any documentation. Don't do that, you're just creating problems that don't need to be there. What about the autorelease pools created around the main event loop for example?

--Graham


_______________________________________________

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: Storing bundle loaded main class instances in NSArray
      • From: Daniel Luis dos Santos <email@hidden>
References: 
 >Fwd: Storing bundle loaded main class instances in NSArray (From: Daniel Luis dos Santos <email@hidden>)
 >Re: Storing bundle loaded main class instances in NSArray (From: Graham Cox <email@hidden>)
 >Re: Storing bundle loaded main class instances in NSArray (From: Daniel Luis dos Santos <email@hidden>)
 >Re: Storing bundle loaded main class instances in NSArray (From: Steve Christensen <email@hidden>)
 >Re: Storing bundle loaded main class instances in NSArray (From: Daniel Luis dos Santos <email@hidden>)
 >Re: Storing bundle loaded main class instances in NSArray (From: glenn andreas <email@hidden>)
 >Re: Storing bundle loaded main class instances in NSArray (From: Daniel Luis dos Santos <email@hidden>)
 >Re: Storing bundle loaded main class instances in NSArray (From: Bill Bumgarner <email@hidden>)
 >Re: Storing bundle loaded main class instances in NSArray (From: Daniel Luis dos Santos <email@hidden>)
 >Re: Storing bundle loaded main class instances in NSArray (From: Bill Bumgarner <email@hidden>)
 >Re: Storing bundle loaded main class instances in NSArray (From: Daniel Luis dos Santos <email@hidden>)

  • Prev by Date: Transparent NSButtonCell highlight
  • Next by Date: Re: finder file size
  • Previous by thread: Re: Storing bundle loaded main class instances in NSArray
  • Next by thread: Re: Storing bundle loaded main class instances in NSArray
  • Index(es):
    • Date
    • Thread