On Wed, Jun 24, 2009 at 6:20 AM, Chris Idou wrote:
> Since the doco for loadNibNamed:owner: says that it looks in the bundle
> "associated"
> with the owner, I'm creating an object of a class that exists in the
> subframework to pass as the owner.
In the context of your application, are the clas
On 25/06/2009, at 10:18 AM, Chris Idou wrote:
But loadNibNamed:owner: is a class method, so I can't actually
explicitly find the appropriate bundle, and call loadNibNamed: on it
to find the right NIB.
The doco says that loadNibNamed:owner: will look in the bundle
"associated" with the ow
On 25/06/2009, at 10:18 AM, Chris Idou wrote:
But loadNibNamed:owner: is a class method, so I can't actually
explicitly find the appropriate bundle, and call loadNibNamed: on it
to find the right NIB.
The doco says that loadNibNamed:owner: will look in the bundle
"associated" with the ow
Alternatively you could use NSNib which allows you to explicitly
specify the bundle. In addition, when instantiating the nib using
NSNib, you can get the top level objects to send a release message to
match the implicit retain. For more info, check out the resource
programming guide:
http:
On 24/06/2009, at 11:20 PM, Chris Idou wrote:
>> Since the doco for loadNibNamed:owner: says that it looks in the bundle
>> "associated"
>> with the owner, I'm creating an object of a class that exists in the
>> subframework to pass as the owner.
>>
>> However, it doesn't find the NIB. Am I und
On 24/06/2009, at 11:20 PM, Chris Idou wrote:
Since the doco for loadNibNamed:owner: says that it looks in the
bundle "associated"
with the owner, I'm creating an object of a class that exists in the
subframework to pass as the owner.
However, it doesn't find the NIB. Am I understanding co
I'm trying to load a NIB from my application that exists in a subframework.
Since the doco for loadNibNamed:owner: says that it looks in the bundle
"associated"
with the owner, I'm creating an object of a class that exists in the
subframework to pass as the owner.
However, it doesn't find the