• 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
Setting BOTH single and double actions from an outline view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Setting BOTH single and double actions from an outline view


  • Subject: Setting BOTH single and double actions from an outline view
  • From: zauhar <email@hidden>
  • Date: Thu, 15 May 2003 13:02:16 -0400

The archives did not quite answer this question...

I have an outline view, and I want to set both single- and double-click actions. I realize that I need to set a target, which I want to be my "mainController" object.

The sequence of events that I fantasize is as follow:

1) In IB, set the target to be my mainController object.
2) In my code, set the appropriate method selectors for the outline view, using setAction: and setDoubleAction:

My fantasy does not mesh with reality, since IB insists that I set the outline view target to be a method inside my controller object, not the controller itself.

What I am I missing?

Thanks!

Randy

Randy J. Zauhar, PhD
Assoc. Prof. of Biochemistry
Director, Graduate Program in Bioinformatics
Dept. of Chemistry & Biochemistry
University of the Sciences in Philadelphia
600 S. 43rd Street
Philadelphia, PA 19104

Phone: (215)596-8691
FAX: (215)596-8543
E-mail: email@hidden
Web: http://tonga.usip.edu/zauhar


Discussion after watching Disney's "Lilo & Stitch":

DAD: "But why did the space aliens speak English, as opposed to French, or Swahili? And why did the one alien speak English with an Eastern European accent? I don't get it."

CATHERINE (age 7): "That's 'cause you don't have a good cartoon brain."
_______________________________________________
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.

  • Prev by Date: Re: Best way to create custom DMG's
  • Next by Date: getting a window title
  • Previous by thread: Re: disabling click-through in transparent views (seeking comments)
  • Next by thread: Re: Setting BOTH single and double actions from an outline view
  • Index(es):
    • Date
    • Thread