RE: Checking for hackintosh

2008-07-30 Thread Abernathy, Joshua
Seeing as how the OS itself thinks it's running on Apple hardware, I have no idea how you, running on the OS, would detect otherwise. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Devon Ferns Sent: Wednesday, July 30, 2008 12:42 PM To: Tim McGaughy Cc:

RE: webDAV (lite) framework?

2008-07-21 Thread Abernathy, Joshua
Goliath (http://www.webdav.org/goliath/) is an open source WebDAV client. It's pretty sucky but it might give you a start. It uses DAVLib (http://www.webdav.org/goliath/davlib.html) which is really old but again, might give you a start. J -Original Message- From: [EMAIL PROTECTED] [mailto

+defaultAnimationForKey vs. -animationForKey

2008-07-18 Thread Abernathy, Joshua
In providing a different animation for a key in a view, is it better practice to override +defaultAnimationForKey or -animationForKey? J ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to t

RE: starting external program at runtime

2008-07-11 Thread Abernathy, Joshua
NSWorkspace can launch applications for you. Check out http://theocacao.com/document.page/183 and http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/ Classes/NSWorkspace_Class/Reference/Reference.html. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED

RE: Trashing files and undo

2008-07-11 Thread Abernathy, Joshua
~/.Trash? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Ruotger Skupin Sent: Friday, July 11, 2008 10:39 AM To: Cocoa-dev@lists.apple.com Subject: Trashing files and undo Hi, my app trashes files with -[NSWorkspace performFileOperation:source:desti

RE: Set string value

2008-07-09 Thread Abernathy, Joshua
And your line "int *stringLength = [string length];" should not have the * in front of the variable name. Putting the * in front means it is a pointer to an int, but -[NSString length] returns just an int. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of

RE: tracking area problems on 10.4.11

2008-07-03 Thread Abernathy, Joshua
Owner should be whoever responds to your tracking events. I really doubt that's the contentView. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Wesley Smith Sent: Wednesday, July 02, 2008 2:11 PM To: Tony Becker Cc: Cocoa mailing list Subject: Re: track

RE: NSProgressIndicator thread safe?

2008-07-03 Thread Abernathy, Joshua
None of the AppKit is thread-safe. Check out -performSelectorOnMainThread. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Micha Fuhrmann Sent: Thursday, July 03, 2008 3:30 AM To: Cocoa-Dev List Subject: NSProgressIndicator thread safe? Hi everyone, on

RE: A question of style: Returning 'pairs'

2008-07-02 Thread Abernathy, Joshua
If it were an oft-used pair, I'd probably make a struct to hold them together, but if it's a just-this-one-method, just-this-one-time thing I'd settle with a Dictionary. Of course, you do have one more option: pass-by-reference or pointer. I've never been a big fan, personally, because I prefer to

Program design decision

2008-07-02 Thread Abernathy, Joshua
Hi everyone, I've been going back and forth in my head on a program design decision and I'd like to get some feedback. My app does a particular kind of search and for each result; I have a Result class instance that contains all the fun information. I'll be displaying those results in a Tab