Re: Starting Cocoa apps from the command line

2008-12-10 Thread Steven W Riggins
If you are building a cocoa application, make it a normal cocoa application and use the open command to launch it. On Dec 10, 2008, at 1:47 PM, Shayne Wissler wrote: Is there a way to do this without making some kind of wrapper caller that generates the directory and a script or some such? Or

Re: Cleanup inside a failed init method

2008-12-06 Thread Steven W Riggins
Should initWithHost be doing anything other than caching the host info? Other methods should do the connection/verification etc, no? ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the

Changing key behaviors for NSTableView

2008-12-05 Thread Steven W Riggins
I have written a simple application with a table view. I want the table to edit a cell when I press return. I could not find a way to do this other than subclassing and overriding keyDown. Did I miss a more elegant solution? Steve ___ Cocoa-dev m

Re: OT: Installing Apps

2008-09-10 Thread Steven W Riggins
I'd venture to add "Disabled" I for one, being a Mac user since Feb, 1984, am dismayed at the current state of delivering Mac software. My mom never, ever figures out the drag to apps thing. But she does understand "Double click to install" *for whatever reason* Often apps end up on the

Re: menu with checkbox

2008-09-10 Thread Steven W Riggins
Try: http://www.cocoabuilder.com/archive/message/cocoa/2007/11/7/192532 On Sep 10, 2008, at 8:20 AM, Georg Seifert wrote: hello, I have a NSPopupButton. What I need is that each item has a checkbox in front of its label. The menu needs to be selectable like with any normal NSPupupButton b

Re: Properties, read only and bindings

2008-08-07 Thread Steven W Riggins
ation/Cocoa/Conceptual/KeyValueObserving/Concepts/DependentKeys.html#/ /apple_ref/doc/uid/20002179 Rols Steven W Riggins wrote: Aha! I was missing the willChangeForKey: call. - (IBAction) toggleIsCloning: (id) sender { [self willChangeValueForKey:@"cloningLabel"]; self.isCloni

Re: Properties, read only and bindings

2008-08-06 Thread Steven W Riggins
ug 6, 2008, at 10:07 PM, Bill Bumgarner wrote: On Aug 6, 2008, at 9:51 PM, Steven W Riggins wrote: I'm winding my way through KVO, readonly properties and bindings. I have an object which has a bool state. I have a method that toggles that state. I have a button that calls the meth

Properties, read only and bindings

2008-08-06 Thread Steven W Riggins
Hi! I'm winding my way through KVO, readonly properties and bindings. I have an object which has a bool state. I have a method that toggles that state. I have a button that calls the method that toggles the state. The button has a title, which I've bound to a readonly property, which has

Re: More CALayer Questions

2008-07-19 Thread Steven W Riggins
On Jul 8, 2008, at 2:54 AM, Scott Anguish wrote: I've got a longer answer coming... but There are two ways to interact with layers. - making a view layer-backed (that is, the view and its subviews will use CALayers as a caching mechanism) - using a view to host layers (inserting your custom

Re: Learning SQLite by watching Core Data?

2008-06-23 Thread Steven W Riggins
On Jun 23, 2008, at 2:52 PM, David Carlisle wrote: Your comments noted below are not encouraging. Sometimes the truth is discouraging :) ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments