• 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: Beginner questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Beginner questions


  • Subject: Re: Beginner questions
  • From: Ondra Cada <email@hidden>
  • Date: Sat, 16 Nov 2002 11:48:51 +0100

On Saturday, November 16, 2002, at 02:18 , Timothy Mowlem wrote:

I have just starting learning Cocoa and cannot find the answers
to three simple questions. Please can someone enlighten me:

(1) how do you hide (and re-show) a window in code?

RTFM NSWindow.html, with a special interest in messages whose names contain "order"

(2) how do you hide (and re-show) a view (e.g. a NSProgressIndicator) in code?

You don't. See the list archives for quite a lenghty discussion (a) why you should not, (b) what to do if you want to anyway.

(3) I saw one reference to the method/function random() but it is not
mentioned anywhere within the Foundation or AppKit refs that I can
see, so how do you use random numbers and where is the doc?

Man pages. For starters, try "man random" (and perhaps "man man") in a Terminal window. If you don't like that, you might download the excellent ManOpen.app (I believe it's available through www.stepwise.com/softrak).
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
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.
References: 
 >RE: Beginner questions (From: Timothy Mowlem <email@hidden>)

  • Prev by Date: Re: Cocoa app within a browser window
  • Next by Date: Re: Close button on Single Window Utilities
  • Previous by thread: Re: Beginner questions
  • Next by thread: Re: NSOutlineView selection questions
  • Index(es):
    • Date
    • Thread