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
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 wr
I have no idea what.
Thanks,
C.
On 2-Feb-09, at 8:54 AM, Chris Anderson wrote:
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
SDatePicker. I will try subclassing another control
and overridding it's becomeFirstResponder to see what happens.
Thanks,
C.
On 2-Feb-09, at 8:44 AM, Keary Suska wrote:
On Feb 2, 2009, at 8:44 AM, Chris Anderson wrote:
Thanks. And yes the controller has content. In my example below
:
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
Hello,
Been bashing my head on this one. Did lots of googling and apple docs
reading but haven't found an answer so any help would be appreciated.
As an example I have 2 entities in a Core Data app...
Project
Project.name
Project.startDate
Type
Type.name
...add a one-to-one relationship..
I was able to work around it by unchecking "auto rearrange content"
and calling rearrageObjects directly. But I'd still like to know if
anyone knows why this happens or if it's a bug.
C.
On 3-Feb-09, at 1:40 PM, Chris Anderson wrote:
Hello,
Been bashing my head on th