Re: Trouble with design pattern

2011-02-18 Thread aglee
help. Carlos. ___ 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-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http:/

Re: mouseDown in NSSegmentedControl

2011-01-14 Thread aglee
Did you override mouseDown or mouseDown:? --Andy On Jan 14, 2011, at 03:08 PM, koko wrote: I have sub-classed NSSegmentedControl and set this class to the NSSegmentedControl in IB. I have implemented mouseDown in the sub-class thinking I would get these events. I do not. How does one get m

Re: QuickLook returning small image

2011-01-13 Thread aglee
On Jan 13, 2011, at 01:07 PM, Kyle Sluder wrote: On Thu, Jan 13, 2011 at 10:06 AM, Kyle Sluder wrote: Taking a while stab here: icon==YES? *Wild* stab. Coffee is good.   I was going to say, in this case it's more of an "if" stab than a "while" stab. --Andy ___

Re: QuickLook returning small image

2011-01-13 Thread aglee
On Jan 13, 2011, at 01:06 PM, Kyle Sluder wrote: Taking a while stab here: icon==YES? I get the same result (size-wise) whether icon is YES or NO. Joar pointed out off-list that Finder might be asking for a *preview* rather than a *thumbnail*.  I totally missed that distinction and I bet it's

QuickLook returning small image

2011-01-13 Thread aglee
I'm requesting a QuickLook preview for an OmniGraffle file.  The size I'm asking for is 500x300.  The image I get back is much smaller, at 122x77, which looks terrible when I display it in my application.  When I use QuickLook to preview the same file in the Finder, it looks great. Why would I

Re: how do I put a subview in a superview with color

2010-12-30 Thread aglee
On Dec 30, 2010, at 06:13 PM, colo wrote: I can get it to compile just fine now but I can't get the button to show up at all. Perhaps I am sending the addSubview to the incorrect place? NSView *superview = [window contentView]; I thought contentView was the top. @implementation WVShapesView -(

Re: access multiple NSTextFields as an array?

2010-12-20 Thread aglee
On Dec 20, 2010, at 11:30 AM, Scott Ribe wrote: Anyway, there's no need for an NSMutableArray. You can just have a plain C array as an attribute of your class, and set up its entries in awakeFromNib: patterRateLabels[0] = numberLabel1; patterRateLabels[1] = numberLabel2;   I don't recommend t

Re: access multiple NSTextFields as an array?

2010-12-20 Thread aglee
On Dec 20, 2010, at 11:42 AM, Artemiy Pavlov wrote: Yes, sorry, I have setTextColor actually. Still, it doesn't work..   I suggest pasting your exact code into email.  Don't abbreviate and don't type it by hand. --Andy ___ Cocoa-dev mailing list (C

Re: Cocoa view gets sluggish over time

2010-12-20 Thread aglee
On Dec 20, 2010, at 09:13 AM, Artemiy Pavlov wrote: NSTextField *PatternStepLabel = [[NSTextField alloc] initWithFrame:NSMakeRect(x, y, 20, 20)]; NSString *PatternStepLabelString = [NSString stringWithFormat:@"%d", i]; [PatternStepLabel setEditable:NO]; [PatternStepLabel setDrawsBackground:N

Re: access multiple NSTextFields as an array?

2010-12-20 Thread aglee
On Dec 20, 2010, at 11:11 AM, Siegfried wrote: Check documentation for NSArray and NSMutableArray for more info, it's your friend! :-) And an easy way to do this is by Option-Command-double-clicking on "NSArray" and "NSMutableArray" in your code. Note that NSMutableArray inherits from NSArra

[MEET] CocoaHeads-NYC, tonight

2010-12-09 Thread aglee
In one hour!  Sorry for the late notice again. --Andy -- Paul Kim will be our last speaker of 2010. His talk will be on "Memory management with blocks & an introduction to heapshot analysis" -- two topics for the price of one! Admission is free and everyone's welcome. Just tell the per

Re: Drawers on windows...

2010-11-30 Thread aglee
Hi, A.M. :) Here are some thoughts on why I went that way with AppKiDo.  Maybe they'll be relevant to others considering a drawer. * One reason I went with the drawer is that by sliding it in and out you can change its width without affecting the layout of the parent window.  That matters les

[ANN] CocoaHeads-NYC tonight, Wed 10/13

2010-10-13 Thread aglee
Our meeting date this month will be Wednesday Oct 13 (tonight) rather than the usual Thursday. I'll be doing a quick show-and-tell of how to get a WebView to talk to Cocoa, via JavaScript. Daniel Jalkut will show his Web Inspector. Bob Clair is generously contributing three copies of his book

Re: Style question

2010-08-30 Thread aglee
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/aglee%40mac.com This email sent to ag...@mac.com___ Cocoa-dev mailing list (C

Re: Tracking multiple NSURLConnections

2010-06-30 Thread aglee
lease 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/aglee%40maccom This email sent to ag...@mac.com ___

Re: Deallocation while key value observers still registered

2010-05-25 Thread aglee
ists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/aglee%40mac.com This email sent to ag...@mac.com ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or