Thanks Corbin. This oddity has led me down the path of why my
awakeFromNib was being called twice so there was a flaw in my design.
I have reworked becomeFirstResponder to use NSNotification instead and
that seems to be working quite well.
Chris
On 2-Feb-09, at 1:12 PM, Corbin Dunn wrote:
On Feb 2, 2009, at 11:19 AM, Chris Anderson wrote:
Ok, upon further investigation it would seem that the objects are
initializing in an order I don't understand. I verified this by
overriding the mouseDown method and getting the same results. I
also tried invoking awakeFromNib but that t
Ok, upon further investigation it would seem that the objects are
initializing in an order I don't understand. I verified this by
overriding the mouseDown method and getting the same results. I also
tried invoking awakeFromNib but that too did not work. I tried a
performSelector:withObjec
So the fact that I am referencing a controller inside
becomeFirstResponder hasn't raised any alarms with anyone yet so I
could assume that it's ok to do so. If this is the case then I'm
either doing something wrong somewhere or perhaps there is an issue
with subclassing NSDatePicker. I wi
On Feb 2, 2009, at 8:44 AM, Chris Anderson wrote:
Thanks. And yes the controller has content. In my example below it
returns 0 when inside becomeFirstResponder and returns > 0 when I
activate detectPicker in the same application instance.
I was more interested in whether myArrayControlle
Thanks. And yes the controller has content. In my example below it
returns 0 when inside becomeFirstResponder and returns > 0 when I
activate detectPicker in the same application instance.
C.
On 2-Feb-09, at 7:40 AM, Keary Suska wrote:
On Feb 1, 2009, at 10:32 PM, Chris Anderson wrote:
On Feb 1, 2009, at 10:32 PM, Chris Anderson wrote:
I've created a subclass of NSDatePicker to catch when a date picker
has focus. I have overridden the becomeFirstResponder method and
indeed it detects when it has focus. The code inside the method does
work except for any IBOutlets that I
Hello!
I've created a subclass of NSDatePicker to catch when a date picker
has focus. I have overridden the becomeFirstResponder method and
indeed it detects when it has focus. The code inside the method does
work except for any IBOutlets that I may have connected. They don't
respond to a