On May 6, 2009, at 3:44 PM, David Scheidt wrote:
I've got a Core Data app, using the NSPersistantDocument stuff.
There are three basic entity types. There is one, which I'll call
MainEntity, which has optional to-many relationships with the other
two, which I'll call
I've got a Core Data app, using the NSPersistantDocument stuff. There
are three basic entity types. There is one, which I'll call
MainEntity, which has optional to-many relationships with the other
two, which I'll call A and B. In my main window, I have a TableView,
which has its columns
I'm trying to figure out why my NSPersistantDocuement subclass's -
makeWindowControllers is getting called twice. I'm also trying to
figure out why a nib that I'm trying to load from a viewcontroller
created by the window controller made by -makeWindowController isn't
loading. I'm willing
On Apr 27, 2009, at 9:47 PM, Graham Cox wrote:
Something tells me I'm missing a trick here. A data structure that
is intended to manage exactly this sort of interconnected network of
objects without the awkwardness I'm running into with this ad-hoc
approach. The problem is I don't know
On Apr 27, 2009, at 11:12 AM, WT wrote:
Perhaps it's time the OP clarified what exactly he had in mind.
Sure. I've got a window. (Actually, there are several windows, but
they're all similar.) It's got a table view along the top. that
table will always have instances of an entity, ca
h
was to subclass NSTableColumn to add an action.
Is there a deep reason that there's not an IB action for this?
Steven Riggs
On Apr 26, 2009, at 12:42 AM, David Scheidt
wrote:
I've got a 10.5 app, which has a bunch of NSTableViews. I'd like
to allow the user to choos
I've got a 10.5 app, which has a bunch of NSTableViews. I'd like to
allow the user to choose which columns appear in the tableviews, using
a popup contextual menu. so, that should be a simple matter of
defining the NSTableColumns, establishing their bindings, making a
menu of the table vi
On Apr 25, 2009, at 1:34 PM, WT wrote:
On Apr 25, 2009, at 7:26 PM, David Scheidt wrote:
On Apr 25, 2009, at 1:13 PM, WT wrote:
NSTableView inherits from NSControl, which has methods -tag and -
setTag. I would suggest assigning a different tag value to each
instance of your NSTableView
nd use the -tag
method to identify the instance when you need to do so.
That's perfect. Thanks!
It's also possible to set the tag in IB (it's on the Attributes
Inspector palette, in the "control" tab). Since I'm not creating any
dynamically, I can do that.
I've got a sub-class of NSTableView. I have windows that have more
than one instance of this TableView in them, which need to behave
slightly differently, based on which one they are. (There are three
different classes of data that they'll display, and the designer wants
the background al
On Apr 20, 2009, at 8:39 PM, Jonathan Hess wrote:
On Apr 20, 2009, at 5:32 PM, Greg Guerin wrote:
Would NSSet cut the mustard here?
NSArray allows duplicate items; NSSet does not. What do you
propose happen if one or both NSArray inputs have items that
compare as equal?
Algorithmi
Am I missing something, or is there really not a built-in to merge two
arrays?
I can roll my own, of course, but there are so many builtins, I'd have
thought
one was lurking somewhere.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please d
On Apr 14, 2009, at 12:02 PM, David Scheidt wrote:
On Apr 14, 2009, at 11:54 AM, Kyle Sluder wrote:
You want to make the text field "continuous". Be aware that this
will
also cause your changes to be committed, not just validated,
continuously.
Do you mean the checkbox in I
On Apr 14, 2009, at 12:14 PM, Greg Robertson wrote:
I am using Core Data and have a two entity setup that in a simple form
could be modelled something like this:
Entity: Persons
- attribute: name
- attribute: birth
- relationship: cars (one to many with cars)
Entiry: Cars
- attribute: name
I
On Apr 14, 2009, at 11:54 AM, Kyle Sluder wrote:
You want to make the text field "continuous". Be aware that this will
also cause your changes to be committed, not just validated,
continuously.
Do you mean the checkbox in IB labelled "continuously updates value"?
That's checked, and my va
I have a sheet. It's got a number of NSTextFields on it. They're
bound to an ObjectController, in entity mode, for the entity that the
sheet allows the user to create or edit. I've got validation methods
for the values. They work correctly. Except, if I coerce the value
to a valid one,
On Apr 13, 2009, at 8:14 PM, Quincey Morris wrote:
On Apr 13, 2009, at 13:56, David Scheidt wrote:
In general, though, it's perfectly reasonable to put off garbage
collection for as long as possible. It's fairly expensive, and if
there is no pressure on the resource bei
On Apr 13, 2009, at 2:01 PM, Quincey Morris wrote:
On Apr 13, 2009, at 10:07, Michael Ash wrote:
I'm confused. If you can't stand six years then you can't rely on
-finalize. Nothing guarantees that it will *ever* be called in a
timely fashion.
No need to be confused. I was just admitting yo
On Apr 4, 2009, at 2:26 AM, Quincey Morris wrote:
On Apr 3, 2009, at 09:49, David Scheidt wrote:
I have an NSPersistantDocument application. In one one of my
sheets to create an object, I need to have a checkbox that, if
checked, will bring up the creation sheet for a related object. I
I have an NSPersistantDocument application. In one one of my sheets
to create an object, I need to have a checkbox that, if checked, will
bring up the creation sheet for a related object. I can't figure out
how to do this. I rather expect that I'm missing something simple,
but I don't kn
20 matches
Mail list logo