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 protected]> 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 protected]> 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 protected]
>> <http://[email protected]> "
>> <[email protected] <http://[email protected]>
>> > 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 protected])

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to