Re: Aaron Hillegass Book
Re: Aaron Hillegass Book
- Subject: Re: Aaron Hillegass Book
- From: Developer <email@hidden>
- Date: Sat, 09 Mar 2002 22:43:11 -0500
That doesn't really make sense to me since you can have many NSTextFields
and still set the first responder correctly in IB.
Aaron did respond to me off list and said that he did not understand why it
did not work and had asked around at Apple, but was still waiting for a
response.
It is a great book. I actually feel like I have a basic understanding and
can write a useful app now.
Mark
on 3/9/02 8:06 PM, reza at email@hidden wrote:
>
On 4/3/02 8:14 pm, "Developer" <email@hidden> wrote:
>
>
> I'm working my way through this book and have a problem with one of the
>
> examples. I posted the question on the Techstra site
>
> http://techstra.net/books/bignerd/ page 276, along with a couple of other
>
> folks but have never gotten an answer. I'm hoping someone here can help.
>
> Aaron does not put his email address anywhere on his site or in the book.
>
> Can't say I blame him ;-)
>
>
>
> The solution code is available here:
>
> http://www.bignerdranch.com/Solutions/19_Timers/TypingTutor_19_A.tar.gz
>
>
>
> The problem is that the field to type into is not set to be the
>
> firstInitialResponder. You'll notice in the example code that it is not
>
> even hooked up. Even when this is connected properly the field is not made
>
> initialFirstResponder.
>
>
>
> How is this supposed to be done?
>
> Why does it not work when just connecting it in IB?
>
>
>
> Any and all help is greatly appreciated.
>
>
>
> Mark
>
>
>
> P.S. If Aaron reads this please email me directly with an email address I
>
> can send some comments to. Posting them to Techstra is not appropriate for
>
> these comments.
>
>
As BigLetterView controls two views, connecting the class in "Interface
>
Builder" does not help, as one can specify which view should be the
>
firstresponder. So I set it up programmatically, asking the window to set
>
its firstResponder by calling the following in awakeFromNib in the
>
AppController:
>
>
[[ inLetterView window ] makeFirstResponder: inLetterView ];
>
>
But what a great book. Special thanks to Aaron.
>
>
Reza
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
>
Do not post admin requests to the list. They will be ignored.
>
--
Mark Steinberg
Textile Technologies LLC
4605 Farrar Dr.
Greensboro, NC 27410
http://www.textiletech.com
Embroidery Software for the Macintosh Since 1984
PowerStitch, Embroidery Expert, Embroidery Plus
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.