Skip navigation.
 
mlRe: NSArrayController arrangedObjects not showing any result
FROM : I. Savant
DATE : Fri Aug 11 17:19:12 2006

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_removed>)
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/idiotsavant2005%
> 40gmail.com
>
> This email sent to <email_removed>

Related mailsAuthorDate
mlNSArrayController arrangedObjects not showing any result Jonas Oberschweibe… Aug 11, 15:55
mlRe: NSArrayController arrangedObjects not showing any result I. Savant Aug 11, 17:19