Re: QuickLook CGSReenableUpdate Message

2016-09-14 Thread Patrick Cusack
Did you ever solve this issue? I filed a DTS with apple which they returned to me as a bug. Patrick Sent from my iPhone > On Jan 9, 2015, at 10:25 AM, cocoa-dev-requ...@lists.apple.com wrote: > > Message: 11 > Date: Fri, 09 Jan 2015 11:25:51 -0700 > From: Richard Charles > To: cocoa-dev > S

Re: ARC vs Manual Reference Counting

2013-09-09 Thread Patrick Cusack
I appreciate everyone's replies. It was a question asked in complete humility. I agree that computers can do analysis much better than humans and that the less code you write, the less you have to debug, so ARC makes a lot of sense. My question really stemmed from Apple's WWDC lecture which appe

Re: ARC vs Manual Reference Counting

2013-09-08 Thread Patrick Cusack
Apologies. I have no desire to start an internecine war. I have been reading up on ARC for the past few hours. I also watched the WWDC video on ARC, and after having watched and read everything, I kept feeling as if I was rather comfortable with the old manual memory model. I guess my real ques

Re: Can I determine who is calling a delegate

2013-04-26 Thread Patrick Cusack
No, its not. That's what is weird. On Apr 26, 2013, at 5:34 PM, Jens Alfke wrote: > > On Apr 26, 2013, at 5:18 PM, livinginlosange...@mac.com wrote: > >> Is there a way for me to find out what object is posting a >> -[NSNotificationCenter postNotificationName:object:userInfo:] that >> eventu

Re: Warning users when editing multiple items

2013-02-06 Thread Patrick Cusack
This is a very good illustration of why someone would want such a feature. In my case, as I entered the text field of a control, I was clearing the contents of the field thus clearing the value in the items that were selected. This is not desired behavior, nor is it good application behavior. Yo

Re: Warning users when editing multiple items

2013-02-06 Thread Patrick Cusack
t on Enter only". I had it set to "Sent on End of Editing" which cause the control to clear out the value for all of the selected cues when I finished editing. Patrick On Feb 5, 2013, at 8:01 PM, Graham Cox wrote: > > On 06/02/2013, at 2:52 PM, Patrick Cusack wrote: > &

Re: Warning users when editing multiple items

2013-02-05 Thread Patrick Cusack
raham Cox wrote: > > On 06/02/2013, at 2:52 PM, Patrick Cusack wrote: > >> Currently, my users can tab into the first field, and now they have >> inadvertently erased all of the names of the selected rows. Its been a while >> since I visited this code and I explicitl

Re: NSScrollView Problems

2013-02-02 Thread Patrick Cusack
You can see an example of the problem here: http://i45.tinypic.com/fu8bpz.png On Feb 2, 2013, at 8:06 PM, Graham Cox wrote: > > On 03/02/2013, at 1:59 PM, Patrick Cusack wrote: > >> Sorry, I have asked this before, but I am genuinely perplexed and need help. >> I

Re: NSScrollView Problems

2013-02-02 Thread Patrick Cusack
> In IB, you can either add a scroll view than add a custom view to it, or add > a custom view and then use 'Embed in Scrollview' to wrap it in the > scrollview. Both work fine for me. I have embedded a custom view inside an NSScrollView. I have set the NSScrollview to be NSViewWidthResizable,

NSScrollView Problems

2013-02-02 Thread Patrick Cusack
Sorry, I have asked this before, but I am genuinely perplexed and need help. I have an NSScrollView enclosing a custom view. When, I launch my application, I see the scroll bars of my NSScrollView being echoed or duplicated in the middle of my custom view. It is so annoying. I have tried everyth

Re: Editing multiple selections with bindings

2013-01-04 Thread Patrick Cusack
On Jan 3, 2013, at 9:18 PM, Keary Suska wrote: > On Jan 3, 2013, at 3:53 PM, Patrick Cusack wrote: > >> Keary, >> >> I am checking whether or not the user is trying to edit multiple items in my >> delegate's - (BOOL)control:(NSControl *)control textShouldEnd

Re: Editing multiple selections with bindings

2013-01-03 Thread Patrick Cusack
ut my control still has focus after calling discardEditing. Thoughts? Patrick On Jan 2, 2013, at 9:10 PM, Keary Suska wrote: > On Jan 2, 2013, at 7:29 PM, Patrick Cusack wrote: > >> Ok, I do have a delegate for my controls and am currently using >> control:textShouldEndE

Re: Editing multiple selections with bindings

2013-01-02 Thread Patrick Cusack
Sorry, I might not be clear. I have a table view that is bound to an NSArraryController. I want users to be able to edit single and multiple selections from a detail view that has NSTextfields and ComboBoxes. There are occasions where users forget that they have selected multiple items and proce

Re: Editing multiple selections with bindings

2013-01-01 Thread Patrick Cusack
Sorry, I should specify that this is on OSX. resignFirstResponder tries to endEditing on the text you have typed and the commit the edits. I am trying to scrap the editing session and lose focus on the control as if no editing ever even started. I would like to ideally throw an NSRunAlert pan

Re: Proper place to post on 10.8 SDK?

2012-06-11 Thread Patrick Cusack
Yes. I am. Thanks for the direction. Sent from my iPhone On Jun 11, 2012, at 10:05 AM, Conrad Shultz wrote: > http://devforums.apple.com > > You need to be a Mac program member to access the NDA forums, but you > presumably are if you have 10.8. > > (Sent from my iPhone.) > > -- > Conrad

Re: Launching 10.5 app on 10.4

2011-10-18 Thread Patrick Cusack
Ok, so it will warn the user? I had an experience where the application wouldn't launch and no alert panel would open. Thanks, patrick On Oct 18, 2011, at 11:39 AM, Tim Schröder wrote: > I don't think there is one. If the build settings are correct, OS X won't > start the application but will

Re: updating NSView on separate thread

2010-02-01 Thread Patrick Cusack
So, let me clarify further: Someone asked why a save operation would take a few seconds. I can answer that I have an object model that is stored in ram and then serialized to disk. I should have started the data model as a Coredata project, but decided not to since my datasets would never be th

Re: updating NSView on separate thread

2010-01-31 Thread Patrick Cusack
gt; } > > - (void)updateProgress > { > [progressControl setDoubleValue:[self getPercentComplete]]; > } > > On Jan 31, 2010, at 11:02 PM, Patrick Cusack wrote: > >> As I understand then, all drawRect methods must be made from the main >> thread. If I have a process r

Re: updating NSView on separate thread

2010-01-31 Thread Patrick Cusack
As I understand then, all drawRect methods must be made from the main thread. If I have a process running in the main thread, like an import thread which mike take 5 seconds, then it impossible for me to have a secondary thread which can update an NSView concurrently while the main thread is pro

Re: NSSliderCell question

2009-07-23 Thread Patrick Cusack
Thanks for your ideas Here is what I did: Here is what I did. I set up KVO for the variable that I attached to my NSSliderCell. When I made any changes to the underlying variable, the obersever method would trigger. When you add an observer you can retrieve the old and new values from t