Re: Need HTTP Server & JSON recommendations

2010-12-06 Thread Ken Worley
-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40tiberiusin

NSTableView header offsets when scrolled

2008-05-23 Thread Ken Worley
7;m not looking for specific solutions. I'm more hoping someone might have some idea where to look or what might cause this specific symptom... Thanks for any help. Ken -- Ken Worley Software Engineer, Tiberius, Inc. ___ Cocoa-dev mailing list

Re: sorting an NSTableView

2008-05-30 Thread Ken Worley
cTech article useful for getting to know NSTableView a little better also: <http://www.mactech.com/articles/mactech/Vol.18/18.09/TableTechniques/index.html > Ken -- Ken Worley Software Engineer, Tiberius, Inc. ___ Cocoa-dev mailing list (Cocoa-

Problem with friend function and gcc 4.2 with objective-c++

2008-08-07 Thread Ken Worley
titled/main.m:43: error: 'newtest1' was not declared in this scope /Users/ken/Desktop/Untitled/main.m:43: error: 'newtest1' was not declared in this scope Build failed (1 error) Thanks, Ken -- Ken Worley Software Engineer, Tiberius, Inc. ___

Re: Framework and NSApplication

2008-08-08 Thread Ken Worley
cifying an application delegate and implement the applicationWillTerminate method which receives an NSNotification object as an argument. Ken -- Ken Worley Software Engineer, Tiberius, Inc. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please d

Re: Problem with friend function and gcc 4.2 with objective-c++

2008-08-08 Thread Ken Worley
Hmmm, no response as of yet. I went ahead and submitted a bug against Xcode: rdar://6135771 We'll see what happens. Ken On Aug 7, 2008, at 4:09 PM, Ken Worley wrote: Hi all, I'm using Xcode 3.1 and just switched to gcc 4.2 from 4.0, but I've run into a problem with friend

Re: Problem with friend function and gcc 4.2 with

2008-08-09 Thread Ken Worley
t1* anobj = new test1(); anobj->finishinit(x); return anobj; } So if you code worked with gcc 4.0 and not gcc 4.2, then it seems gcc 4.2 now works according to the C++ standard and gcc 4.0 did not Rolf Message: 10 Date: Fri, 8 Aug 2008 16:41:42 -0600 From: Ken Worley <[EMAIL PR

Re: Problem with friend function and gcc 4.2 with

2008-08-11 Thread Ken Worley
ou can read a discussion regarding this problem here: http://bytes.com/forum/thread828536.html it seems gcc 4.0 had a bug which is corrected in gcc 4.2 Message: 12 Date: Sat, 9 Aug 2008 09:36:17 -0600 From: Ken Worley <[EMAIL PROTECTED]> Subject: Re: Problem with friend function and gcc 4.2

Re: Problem with friend function and gcc 4.2 with

2008-08-12 Thread Ken Worley
t was certainly not defined in the standard...not sure what you mean by that. Ken -- Ken Worley Software Engineer, Tiberius, Inc. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the

Re: Problem with friend function and gcc 4.2 with objective-c++

2008-08-14 Thread Ken Worley
Just to close this out, it was confirmed that the current behavior in 4.2 is correct. The flag -ffriend-injection can be used to work around it (i.e. retain the old 4.0 behavior), but fixing the code is the better route. Ken On Aug 8, 2008, at 4:41 PM, Ken Worley wrote: Hmmm, no response

Re: Removing Applications from the Dock Programmatically

2008-08-27 Thread Ken Worley
That still leaks the dictionary you created. Didn't you get my message about that? You should do this instead: NSDictionary *theError = nil; [quitScript executeAndReturnError: &theError]; sherm-- It's autoreleased - how could that leak? Ken -- Ken Worley Software

keyUp falling through to window when sheet dismissed

2008-10-21 Thread Ken Worley
in advance for any suggestions. Ken -- Ken Worley Software Engineer, Tiberius, Inc. ___ 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 cocoa-dev-a

Re: keyUp falling through to window when sheet dismissed

2008-10-21 Thread Ken Worley
On Oct 21, 2008, at 1:36 PM, Kyle Sluder wrote: On Tue, Oct 21, 2008 at 1:43 PM, Ken Worley <[EMAIL PROTECTED]> wrote: It seems like the correct solution is to somehow avoid the keyUp being sent to the window/edit field after the sheet is dismissed, but I also wonder if I'm c

Re: keyUp falling through to window when sheet dismissed

2008-10-21 Thread Ken Worley
On Oct 21, 2008, at 3:20 PM, Ken Worley wrote: On Oct 21, 2008, at 1:36 PM, Kyle Sluder wrote: On Tue, Oct 21, 2008 at 1:43 PM, Ken Worley <[EMAIL PROTECTED]> wrote: It seems like the correct solution is to somehow avoid the keyUp being sent to the window/edit field after the sh

Re: keyUp falling through to window when sheet dismissed

2008-10-21 Thread Ken Worley
On Oct 21, 2008, at 4:17 PM, Ken Worley wrote: On Oct 21, 2008, at 4:03 PM, Kyle Sluder wrote: On Tue, Oct 21, 2008 at 5:35 PM, Ken Worley <[EMAIL PROTECTED]> wrote: This, by the way, is a constant source of confusion for me in Cocoa. Why is a delegate method specific to NSTe

Re: keyUp falling through to window when sheet dismissed

2008-10-21 Thread Ken Worley
On Oct 21, 2008, at 4:03 PM, Kyle Sluder wrote: On Tue, Oct 21, 2008 at 5:35 PM, Ken Worley <[EMAIL PROTECTED]> wrote: This, by the way, is a constant source of confusion for me in Cocoa. Why is a delegate method specific to NSTextView listed under NSControl which is the parent

Re: De-Mystifying NSCell

2009-03-23 Thread Ken Worley
ide NSTableView, I hope that my video is able to shine a bit of light. If not, I hope I don't confuse you even more. If you like or dislike the video, please do let me know. Thanks, --Kyle Sluder -- Ken Worley Software Engineer, Tiberius, Inc. __

Re: Creating a NSTextField

2008-02-26 Thread Ken Worley
On Feb 26, 2008, at 9:13 AM, Felipe Monteiro de Carvalho wrote: But there is no initialization method for a NSTextField. How can I create a NSTextField? Just alloc? Generally more like: [[NSTextField alloc] initWithFrame:someRect]; Ken -- Ken Worley Software Engineer, Tiberius, Inc

Re: programmatically placing GUIs

2008-02-27 Thread Ken Worley
the window. ButtonMadness in particular uses placeholders for some controls in the window nib and replaces them with programmatically created controls at runtime. Ken -- Ken Worley Software Engineer, Tiberius, Inc. ___ Cocoa-dev mailing list (C