nsarraycontroller Questions

1

Solved

I am trying to implement pretty much the simplest case of binding a NSTableView to a NSArrayController, so that the NSTableView is backed by an NSArray. Here is the setup: I have an NSArrayContr...
Firearm asked 30/10, 2011 at 12:47

1

Solved

When I use an NSArrayController with instances of NSManagedObject, I was under the impression that the following would give me its selected object: [myArrayController selection] However, this gi...
Accompaniment asked 10/10, 2011 at 16:33

1

I have an iTunes style interface in my application: Source list (NSOutlineView) on the left that contains different libraries and playlists with an NSTableView on the right side of the interface di...
Coenosarc asked 14/3, 2010 at 3:8

2

Solved

I have a NSArrayController and a NSTableView. They show tracks from iTunes. I can sort the list by clicking in the header. Is there a way to set up a default sort descriptor for the table view so ...
Parallelepiped asked 29/3, 2011 at 20:12

1

Solved

I am having trouble with an NSManagedObject not reflecting the changes made to a persistent store after a background thread has saved it's context. The Setup In a simple test application I have a...

1

Solved

I just want to be able to use the the methods of the nsarraycontroller called remove: and add:
Kirk asked 23/3, 2011 at 17:47

1

Solved

I am trying to make a duplicate of an existing NSManagedObject and related sub-objects in Core Data. I can't seem to find an easy way to do this. I have an NSArrayController that is populated from...
Homes asked 26/9, 2010 at 22:0

1

Solved

I've looked on SO for examples of using Key Value Observing with an NSArray (or NSMutableArray) and apparently you need to use an NSArrayController (which unlike KVO I'm not familiar with), but I h...

1

Solved

I have an array of images, and two nib files. One nib file has a window that displays the images in an NSTableView. The other nib has a window that draws the array of images into an NSView, and als...
Yarak asked 18/5, 2010 at 0:40

1

Solved

Title borrowed from this question, of which this one is not a duplicate. See my answer there for what was wrong for that questioner; I'm the author of that answer, and my problem is not that one. ...
Mcwilliams asked 20/12, 2009 at 1:31

3

Solved

I am having trouble getting an core-data backed NSArrayController to work properly in my code. Below is my code: pageArrayController = [[NSArrayController alloc] initWithContent:nil]; [pageArrayC...
Meri asked 7/12, 2009 at 15:46

3

Solved

Been starting to work with Core Data a bit, and while I've figured out how to use it in regular Cocoa applications, it seems it works a bit differently in Cocoa Touch. How do you bind entities to o...
Concinnous asked 28/11, 2009 at 1:26

1

Solved

I'm trying to set up an NSCollectionView (I have done this successfully in the past, but for some reason it fails this time). I have a model class called "TestModel", and it has an NSString proper...

2

Solved

I've got an NSArrayController that contains a few elements. These elements has got a few attributes like 'name', 'interformation' etc. What i want is simply to find an element in the NSArrayContr...
Raffin asked 8/8, 2009 at 11:44

2

Solved

I have an NSView subclass which is bound to the arrangedObjects of an NSArrayController. When the array has an item inserted or removed the view is notified. How do I get it to be notified if a mod...

2

Solved

Why isn't there NSArrayController for the iPhone? Will there ever be an NSArrayController for the iPhone?
Mccreery asked 14/5, 2009 at 22:21

© 2022 - 2024 — McMap. All rights reserved.