nsarraycontroller Questions

5

Solved

I'm using an NSArrayController, NSMutableArray and NSTableView to show a list of my own custom objects (although this question probably applies if you're just showing a list of vanilla NSString obj...
Quaternity asked 14/3, 2009 at 21:39

2

Say I have a bunch of Article objects stored within the core data model. Each article maintains, a reading progress attribute which denotes how much of the article has been read by the user. Once t...
Nostril asked 8/6, 2013 at 14:57

3

Solved

I'm trying to create a sectioned NSTableView using NSArrayController and cocoa bindings. I'm searching for a similar approach like with NSFetchedResultsController in iOS, where you can set a sectio...

5

In my application I add objects directly to an ArrayController. When I want to clean all items I do: [[downloadItemsController content] removeAllObjects]; This command however does not refresh t...
Seumas asked 2/8, 2010 at 20:53

2

Solved

My app description, Add NSMutableArray with some items (say 1- 50) Add NSArrayController and add/bind that array to this arrayController Add NSTableView to my view and populate them using the con...
Sparge asked 22/11, 2013 at 11:59

1

I needed some help figuring out what might be going on in this crash report. This is a un-reproducible problem for me, but some users are running into this crash repeatedly at launch. When the ap...
Stacistacia asked 29/4, 2015 at 23:1

1

Solved

I have a Mac document-based Core Data application that uses storyboards. The storyboard has the following layout: Window Controller Split View Controller Table View Controller Text View Control...
Mali asked 5/11, 2014 at 1:17

3

Solved

After several hours/days of searching and diving into example projects I've concluded that I need to just ask. If I bind the assetsView (IKImageBrowserView) directly to an IB instance of NSArrayCon...
Tomokotomorrow asked 15/2, 2011 at 10:10

5

Solved

I am trying to improve my KVC/KVO/Cocoa-Bindings-fu and was wondering what could be the reasons to subclass the NSArrayController?
Saucy asked 3/4, 2011 at 6:28

2

Solved

I have a NSTableView populated by a Core Data entity and Add Item / Remove Item buttons all wired with a NSArrayController and bindings in Interface Builder. The Undo/Redo menu items can undo or r...

3

Solved

I have an NSTableView which is bound to an NSArrayController. I would like to have one of the table columns showing the index of the table row. This is easy enough to do when you implement NSTableD...
Polson asked 2/1, 2010 at 12:6

1

Solved

This has been befuddling me for hours... I have an object (CuesDoc) with a property (NSMutableArray *cuesArray) and some other properties. The cues array holds multiple Cue objects. There is a prop...

1

So I'm used to iOS development so I'm pretty happy with NSFetchedResultsController. However, this is not present in the Mac OS X environment. I know that I can use NSArrayController as a replacemen...
Janenejanenna asked 19/1, 2014 at 10:33

1

Solved

All those “NSOrderedSet was added later and thus doesn’t have to play nice with other components” bugs drive me crazy… (https://twitter.com/kubanekl/status/413447039855640576) I have two man...
Stickleback asked 21/12, 2013 at 12:33

0

I have an NSArrayController bound to a Core Data entity — Channel. I have a method that updates the entity after a user changes the title of the Channel: NSManagedObjectContext *localContext = [NS...
North asked 19/11, 2013 at 19:34

1

Solved

I have a view based NSTableView. An array controller. Set content of tableview to array controller's arrangedObjects. Set content of array controller to a NSMutableArray of a custom object. Bindi...
Equivoque asked 3/11, 2013 at 20:52

1

I have a simple model Foo that represents a user preference and encapsulates an NSString and an NSNumber. I want to store an array of Foo’s in user defaults so that they persist between launches of...

2

Solved

How does one bind an NSArrayController's content to the entities in an ordered to-many relationship? I have an unordered to-many relationship in my Core Data model, and an NSArrayController whose ...
Vachell asked 25/2, 2013 at 23:39

1

Solved

OK, this is my situation : I have an NSMutableArray bound to an NSTableView, via an NSArrayController. I'm manipulating the table view's selection (trigger by keyboard), using NSArrayController's...
Baumgardner asked 8/3, 2013 at 11:28

1

Solved

I have a table column of NSTableView bound to to an NSArrayController in Interface Builder. The array controller is bound to Shared User Defaults Controller for the Content Array. I had to select H...

1

Solved

What I want to accomplish seems like it should be fairly straightforward. I have placed a sample project here. I have a NSArrayController filled with an array of NSDictionaries. [[self controller...
Histidine asked 15/2, 2013 at 4:21

1

I have an NSScrollView wich is bound with an ArrayController. I need to sort the content alphabetically. I've tried to do this with bindings but I can't find the right thing to bind. I used the fol...

5

Solved

What do I need to do to update a tableView bound to an NSArrayController when a method is called that updates the underlying array? An example might clarify this. When my application launches, it ...

1

I hope to express myself with appropriate terms. I have three entities: customer, country, state. Between country and state, there are two relationships. So I can create a number of countries and...
Fry asked 8/5, 2012 at 19:47

1

Solved

I have created a Document-Based Application using Core Data. I replaced the automatically created window in Document.xib with two windows: a "Panel" window and a "Window" window. The "Panel" windo...
Dissonant asked 20/2, 2012 at 6:6

© 2022 - 2024 — McMap. All rights reserved.