Re: Bindings setup with NSCollectionViews
Re: Bindings setup with NSCollectionViews
- Subject: Re: Bindings setup with NSCollectionViews
- From: Gordon Apple <email@hidden>
- Date: Wed, 18 Jun 2014 14:33:35 -0500
- Thread-topic: Bindings setup with NSCollectionViews
That part should work. I was referring to the view controller¹s
representedObject, if you are using such a view controller in a view nib and
trying to bind the collection view to an array controller through the view
controller¹s representedObject.
On 6/18/14 1:34 PM, "Hajder Rabiee" <email@hidden> wrote:
> The application consists of one main xib and its File's Owner is a subclass of
> NSWindowController.
>
> Can you further explain as to which binding to an array controller that is not
> possible? The only places where 'representedObject' is present is in the item
> prototypes for NSCollectionView. I.e. the ones that are added automatically
> when dragging an NSCollectionView in IB.
>
>
> On Wed, Jun 18, 2014 at 7:09 PM, Gordon Apple <email@hidden> wrote:
>> I¹m not clear as to what your view/nib structure is. If you are using a view
>> nib, I recommend using a custom viewController and, in awakeFromNib, setting
>> a local property (maybe from an IBOutlet) to the array controller. Trying to
>> bind anything to an array controller through a view controller¹s
>> representedObject does not work.
>>
>>
>>
>> On 6/18/14 8:28 AM, "email@hidden
>> <http://email@hidden> "
>> <email@hidden <http://email@hidden>
>> > wrote:
>>
>>> I am having trouble getting the master-detail binding configuration setup
>>> correctly. I've sat down far too many hours trying to debug this and I hope
>>> anyone can give me a hint on how to solve this issue. The full problem
>>> description can be found already at
>>> http://stackoverflow.com/questions/24190299/nscollectionview-master-detail-b
>>> inding-configuration
>>
>
>
_______________________________________________
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