• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Aaron Hillegass Book
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Aaron Hillegass Book


  • Subject: Aaron Hillegass Book
  • From: reza <email@hidden>
  • Date: Sun, 10 Mar 2002 01:06:45 +0000

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.

  • Follow-Ups:
    • Command Line Compilers
      • From: Conrad Taylor <email@hidden>
    • Re: Aaron Hillegass Book
      • From: Developer <email@hidden>
References: 
 >Aaron Hillegass Book (From: Developer <email@hidden>)

  • Prev by Date: Re: OutlineView data source method
  • Next by Date: Basic PB/IB use question
  • Previous by thread: Aaron Hillegass Book
  • Next by thread: Re: Aaron Hillegass Book
  • Index(es):
    • Date
    • Thread