Re: -[NSCFData count]: unrecognized selector

2009-12-05 Thread PCWiz
aving an *extremely* strange problem here. I'm using this simple if >> statement to find out if an array controller is not empty: >> >> if ([[_arrayController arrangedObjects] count] > 0) >> >> And this is what it results in: >> >> -[NSCFData c

Re: -[NSCFData count]: unrecognized selector

2009-12-05 Thread Mike Abdullah
gt; And this is what it results in: > > -[NSCFData count]: unrecognized selector sent to instance 0x134d010 > > If I take out that if statement and let the code run without a check to see > if the array controller is empty, that error does not appear so I'm fairly > certain

Re: -[NSCFData count]: unrecognized selector

2009-12-05 Thread Seth Willits
On Dec 5, 2009, at 4:23 PM, PCWiz wrote: > I'm having an *extremely* strange problem here. I'm using this simple if > statement to find out if an array controller is not empty: > > if ([[_arrayController arrangedObjects] count] > 0) > > And this is what it re

-[NSCFData count]: unrecognized selector

2009-12-05 Thread PCWiz
I'm having an *extremely* strange problem here. I'm using this simple if statement to find out if an array controller is not empty: if ([[_arrayController arrangedObjects] count] > 0) And this is what it results in: -[NSCFData count]: unrecognized selector sent to instance 0x134d0