• 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
Re: Documentation, Newbieness, and All That
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Documentation, Newbieness, and All That


  • Subject: Re: Documentation, Newbieness, and All That
  • From: "Erik M. Buck" <email@hidden>
  • Date: Sat, 10 Nov 2001 11:15:23 -0600

> 1. Establish an asynchronous telnet channel to some telnetish
> service? NSFileHandle combined with SimpleSockets (to get a Unix
> file descriptor for NSFileHandle) and suitable notifications seems
> to be an answer, but an example would be nice.

You can always do this using C and BSD API.
If I was at the office I could mail sample code using NSFileHandle to you.

>
> 2. Change the appearance of a window's background from the default
> gray prison stripes? I know that the window's NSView object can
> be obtained, or changed...all I want is to override its drawRect
> method... I'm stumped...interim solution is to put a big custom
> NSView into the window that covers the background, and lives behind
> the other widgets. Is there a more direct approach?

I don't know how to do this either. This is a recent Appleism that I don't
like either.

>
> 3. Do an "Inspector/Get Info" window? The "Sketcher" sample code provides
> an example, but it took a while to find it, and is not obvious as to how
> the connections between the inspector's Nib and its controller class were
> built in the first place, nor how the Nib file was initially constructed.

There are lots of examples of this. I think "Learning Cocoa" even explains
this. Most use either a tab view with no tabs or a box to hold the
different views. Connections in IB are seldom obvious to anybody but the
person who made them. Documenting IB connections has been a problem fro 12
years.

Just dive in and try it. Play with IB and you will quickly realize how to
construct the nib files.


  • Follow-Ups:
    • Asynchronous socket I/O using NSFileHandle
      • From: "Erik M. Buck" <email@hidden>
References: 
 >Documentation, Newbieness, and All That (From: Michael Urban <email@hidden>)

  • Prev by Date: Re: New Cocoa Programmer
  • Next by Date: How to turn on indexing in PB
  • Previous by thread: Documentation, Newbieness, and All That
  • Next by thread: Asynchronous socket I/O using NSFileHandle
  • Index(es):
    • Date
    • Thread