Re: NSArrayController arrangedObjects not showing any result
Re: NSArrayController arrangedObjects not showing any result
- Subject: Re: NSArrayController arrangedObjects not showing any result
- From: "I. Savant" <email@hidden>
- Date: Fri, 11 Aug 2006 11:19:12 -0400
Not sure if this is your problem, but have you verified that your
"productController" outlet is actually hooked up in Interface
Builder? A simple test for this would be to add:
NSLog([productController description]);
... before or after your -arrangedObjects call. Run it and look at
the run log to see if it's nil ... if so, your outlet is not connected.
--
I.S.
On Aug 11, 2006, at 9:55 AM, Jonas Oberschweiber wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I have an NSArrayController called productController and an
NSComboBox which is bound to it using content and contentValue. The
ComboBox shows one value in its list, but when I call
[productController arrangedObjects] from my code, all I get back is
an empty array. I'm kinda confused right now.
I hope someone has an idea.
Jonas
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFE3Ixk/WfZICoqOucRAjJaAKCORfQ4XpJ9465wCG6SQ14MnNXdNACfWeNl
yufTwIyQ1Ytg/kCE2C0KS/U=
=cXYh
-----END PGP SIGNATURE-----
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden