AppleGlot 3.4 not processing XIB files

2009-12-18 Thread Doug Knowles
Hi, I'm trying to localize a project for the first time. I'm setting up a fresh environment with AppleGlot, copying the .string's and .xib's into the environments _NewBase directory, and initiating AppleGlot's initial pass on the environment. AppleGlot lists the .xib files in its progress message

Re: Enabling menu items...

2009-12-18 Thread Doug Knowles
etter way to finesse this, but it's what has worked for me. Hope this helps, Doug Knowles On Thu, Dec 17, 2009 at 12:24 PM, Jim Majure wrote: > Hello, > > I'm having problems enabling the "Edit>Delete" menu item on a custom view. > Here's what I have tri

Snow Leopard Address Book rejecting dragged vCards

2009-10-26 Thread Doug Knowles
;ve added this as an available format to no effect. Has anyone seen similar problems, or have any ideas? Thanks in advance. Doug Knowles ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to t

Re: +keyPathsForValuesAffecting not working for a category-implemented property on a CoreData class

2009-09-18 Thread Doug Knowles
Thanks for the help; all better now. Comments inline. On Thu, Sep 17, 2009 at 12:42 PM, Quincey Morris < quinceymor...@earthlink.net> wrote: > On Sep 17, 2009, at 05:44, Doug Knowles wrote: > > In a CoreData entity called "Topic", I have a to-many relationship (to &

+keyPathsForValuesAffecting not working for a category-implemented property on a CoreData class

2009-09-17 Thread Doug Knowles
I'm having trouble defining this briefly. I am using CoreData-generated classes, and extending them by defining methods and calculated properties in categories on the generated classes (so they don't get overridden if I regenerate the classes). All works fine for properties with CoreData-defined ty

Re: Continuous NSTextField not updating bound value continuously?

2009-09-08 Thread Doug Knowles
Sigh. I so should have known. That's it. Many thanks for the quick reply, and for your time. On Tue, Sep 8, 2009 at 2:18 PM, Jason Foreman wrote: > > It sounds like you've set the "Continuous" property of the text field. > When using bindings, you need to set the "Continuously Updates Value" >

Continuous NSTextField not updating bound value continuously?

2009-09-08 Thread Doug Knowles
Hi, I have a text field (two, actually) bound to a string value in a controller object, and I'd like to validate the value on each keystroke so that I can enable other controls appropriately depending on the content of the field. The text fields are set to "continuous" updating in IB, and I have co

Re: Can't set header on NSURLRequest

2009-06-02 Thread Doug Knowles
Hi, Chris, I had a similar problem the other day. Are you using an NSMutableURLRequest? Doug K; On Tue, Jun 2, 2009 at 2:44 AM, Chris wrote: > Hello, > > I'm having an issue with setting two headers for my NSURLRequest: > >[theRequest setValue: [NSString > stringWithFormat:@"/principa

Distributed Objects via Bonjour?

2009-05-08 Thread Doug Knowles
Hi, all, I've tried Googling for explanations or sample code, and all of the hits are suggestions to Google for explanations or sample code... Can I use Bonjour to advertise a service, then use distributed objects to "vend" a server object and handle requests from remote clients? I have the Bonjo

Re: Why does NSTableView stop responding to validateMenuItem: ?

2009-01-29 Thread Doug Knowles
Thanks for the response, but... As I understand it, NSMenuValidation is an informal protocol and doesn't have to be declared as implemented; in fact, I can't find a class that does. Maybe I should lose my Obj-C license for asking, but isn't it sufficient that NSObject declares and implements valid

NSTableColumn won't display int values; currently displaying as "Yes(/No)" (which I didn't think possible)

2009-01-12 Thread Doug Knowles
Hi, I have a simple table bound to an array controller which manages a list of custom objects. One of the table columns is bound to a "count" property of the custom object; the "count" property is accessed via a getter that returns a calculated primitive int. For weeks, this table worked as expect

NSDocument Save As to Windows share is failing

2008-07-23 Thread Doug Knowles
Hi, all, In the application I'm being paid to finish (soon), we're finding that we can't save our document to a directory on a Windows share, and some further experimentation indicates that it's not unique to our app. Since it seems likely that others have seen this phenomenon, I'm looking for adv

Programmatic binding not working both ways?

2008-04-08 Thread Doug Knowles
I'm using bind:toObject:withKeyPath:options: to programmatically set up bindings from a set of proxy objects (the receiver) to various properties on a model object, and while changes to the model properties are properly being reflected in the proxies, changes to the proxy properties are not being p

Re: NSTreeController / CoreData still broken in 10.5?

2008-04-05 Thread Doug Knowles
s. This is just for binding to or passing around. At > this time, developers should not make any assumption about what > methods this object responds to. > > Thanks > Adam > > > On Sun, Mar 23, 2008 at 9:55 PM, Doug Knowles <[EMAIL PROTECTED]> > wrote: > > Hi

Display artifacts in large (1600 row) table view

2008-03-24 Thread Doug Knowles
Hi, everyone, In an application under development, I'm seeing display artifacts at the boundaries of some rows of a fairly generic NSTableView displaying 1600 rows by 7 columns. The artifacts seem to be no more than a pixel high, and each one is no more than 5-10 pixels wide, if that. They appear a

NSOutlineView loses selection, but it's NSTreeController does not

2008-03-24 Thread Doug Knowles
Hi, all, My application has an outline view that is used to select filters on a companion table view by selecting nodes in the outline. The outline also adjusts itself to the content of the table, which runs the risk of some interesting feedback loops. (It's hard to believe how long a Mac Pro can

Re: NSTreeController / CoreData still broken in 10.5?

2008-03-24 Thread Doug Knowles
Adam, I had been using those very NSTreeController extensions in addition to my proxy classes. They use undocumented APIs (as far as I can tell), and broke when I updated my project to 10.5 only, because (I think) NSTreeController adopted a public API (NSTreeNode) in place of what the extensions we

Re: NSTreeController / CoreData still broken in 10.5?

2008-03-23 Thread Doug Knowles
Hi, Adam, I hesitate to present myself as an expert, but I've probably contributed to the perception of broken-ness in 10.4, and I've received an awful lot of help on this list, so I'll try to pay it forward: My biggest gripe about outline views and tree controllers in 10.4 was that it was difficu

Seeking a proficient Cocoa developer for a short-term contract in Cambridge, MA

2008-03-19 Thread Doug Knowles
Hi, all, I am the principal Mac developer for a company preparing an unannounced port of a Windows application to OS X, and we need help to meet an aggressive schedule. We are seeking to build a Tiger-compatible application with some Leopard features (e.g., Quick Look, flow views) by wrapping a Co

Re: Determining why outline view column editing cancels for no apparent reason

2008-03-09 Thread Doug Knowles
Blindingly obvious, now that I've seen the light. Found the problem. Thanks, Nick, for taking the moment to help me out. Doug K; On Sun, Mar 9, 2008 at 1:15 PM, Nick Zitzmann <[EMAIL PROTECTED]> wrote: > > On Mar 9, 2008, at 10:12 AM, Doug Knowles wrote: > > > I

Determining why outline view column editing cancels for no apparent reason

2008-03-09 Thread Doug Knowles
I have an outline view in which I initiate editing of a particular column value when a new item is inserted into the outline. Recently (perhaps with the upgrade to Leopard), I've started seeing the behavior where the text field abruptly cancels the edit and discards the changes, for no apparent rea

Re: Issue about cocoa Multi-document template

2008-03-02 Thread Doug Knowles
Good point. In my case, I'm deviating from convention for two purposes: - I expect the most common use of my application is to have one or very few documents in existence, and that the user will usually prefer the application to automatically open whatever document(s) were open when it last closed

Re: Issue about cocoa Multi-document template

2008-03-02 Thread Doug Knowles
You want to create an application delegate, and implement applicationShouldOpenUntitledFile: in the delegate. The application delegate can be an instance of any class. I find it easiest to create an instance of NSObject in Interface Builder, set its class to my delegate class, and bind it the the