On Jun 18, 2010, at 5:53 PM, Tony Romano wrote:
> Scenario: Adding a new node to a NSOutlineView backed by a NSTreeController.
>
> 1. Create a new internal object add add it to the data store(file system).
> This will be my representedObject in the treecontroller
> 2. Compute the path and call
You should only need add your object to your model (which needs to me KVO
compliant). The tree controller will then notice, in response to the KVO
notification that a new item was added.
You should rarely, if ever, be direcly adding objects to the controller layer
like this.
Sent from my iPho
> On Wed, Jun 16, 2010 at 7:19 PM, Tony Romano wrote:
>> Hmm... I'm returning the NSDragOperationNone now, all I get is an image of
>> what is being dragged no other symbol and the outlineview won't accept the
>> drop which is correct. When I have a valid selection, I get the other
>> symbol
Hello, I'm working on a project that the user should fill columns of a
tableview (that maps to a coredata entity) with dates. After googling I
found some posts saying that is impossible to place a NSDatepicker inside a
TableViewColumn, is that true?
If not, why I can't drag a NSDatepicker to my Ta
Hi,
Can you detect touches in a MKMapView? if so how? If not, how can I?
Thanks for the help
Phil
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at
Maybe I am missing the big picture here
Something has to change in order to trigger the sequence of events. The UI is
the outlineview, the controller is NSTreeController, and the store is the file
system. The treecontroller stores objects that I have created to represent
items in the stor
On 19 Jun 2010, at 19:46, Junio Gonçalves Vitorino wrote:
> Hello, I'm working on a project that the user should fill columns of a
> tableview (that maps to a coredata entity) with dates. After googling I
> found some posts saying that is impossible to place a NSDatepicker inside a
> TableViewCol
I am having inconsistent problems when I call from Controller #1 one of 1's
methods which looks like:
- (void ) exitBgCalculationThread:(int)withStatus {
[controller2 haltBgCalculationThread:withStatus];
}
Controller #2's haltBgCalculationThread:withStatus eventually calls:
itsE
I have an applications with two controllers, one inherits
NSWindowController and uses initWithWindowNibName:, and the other
inherits NSViewController and uses initWithNibName:
Yet, other than the init function which uses different *.nib files in
each, the rest of the code in the controller is exac
What kind of "drawing in their NSView" do these controllers do right now?
Perhaps that code should be in an NSView subclass and that subclass should be
used in both controllers' nibs.
-- Chris
On Jun 19, 2010, at 4:58 PM, Shane
wrote:
> I have an applications with two controllers, one inh
On Sat, Jun 19, 2010 at 8:34 PM, Chris Hanson wrote:
> What kind of "drawing in their NSView" do these controllers do right now?
> Perhaps that code should be in an NSView subclass and that subclass should be
> used in both controllers' nibs.
>
It's pretty simple line graph and plots using NSBe
On 20/06/2010, at 8:35 AM, John Love wrote:
> Any psychic premonitions would be welcomed.
At this stage the only advice I would offer is not to use exceptions for flow
control. That way madness lies...
--Graham
___
Cocoa-dev mailing list (Cocoa-d
What does the code for this look like, [controller2
haltBgCalculationThread:withStatus];? Are both your threads, thread safe?
Are the controllers your controllers or a Cocoa derived one from (NSController,
.etc)?
-Tony
On Jun 19, 2010, at 3:35 PM, John Love wrote:
> I am having inconsistent
13 matches
Mail list logo