Re: Very strange behaviour of NSCollectionView
Re: Very strange behaviour of NSCollectionView
- Subject: Re: Very strange behaviour of NSCollectionView
- From: Sandro Noel <email@hidden>
- Date: Mon, 29 Dec 2008 18:11:52 -0500
Matteo,
Did you ever get a response on this issue?
Did you find a solution ?
I am having the exact same problem.
Thank you!
Sandro Noel.
On 20-Nov-08, at 4:21 AM, Matteo Manferdini wrote:
Hi everyone.
I'm battling against a very strange behaviour of NSCollectionView.
To tell
the truth this is not the first time that I have problems with this
new
class, but other times I have always found a workaround.
I tried to search the web for more information, but all I can find
are very
basic examples of NSCollectionView use.
Here it is: in my app I have a window attached to the main one which
opens
when the user double clicks on some items. Inside this window there
is the
NSCollectionView. It is bound to a normal prototype view made in
interface
builder, inside of which there are normal text fields bound to the
NSCollectionViewItem representedObject properties. The collection
view takes
its content from a standard NSArrayController arrangedObjects
binding. So,
everything is quite standard. The problem is that when this window
opens,
some of the bindings for the text fields simply don't work and these
text
fields display their title text instead of the values, while others
work.
The strangest part is that the bindings that don't work change
randomly:
sometimes all bindings work, sometimes they don't work at all,
sometimes
only some of them (randomly chosen) work. Everything is set up the
same for
each binding.
This strange behaviour is present only when I open the window. If I
add
items keeping the window open, everything work for the newly added
items.
The old ones still do not work. If I close the window and then
reopen it,
everything does not work, even the new items that worked.
Does anyone know what's happening?
Thank you very much.
Cheers.
Matteo Manferdini
Pawn Software
www.pawn-soft.com
_______________________________________________
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
_______________________________________________
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