• 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
noob: Question about senders and views
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

noob: Question about senders and views


  • Subject: noob: Question about senders and views
  • From: "Eric E. Dolecki" <email@hidden>
  • Date: Wed, 8 Apr 2009 13:08:41 -0400

I have a tab bar and it's driven by FirstViewController. I have a second
view with it's own xib. I can have buttons there call into a "buttonPress"
method I have in the FirstViewController. I am able to get the sender tag
easily.

NSLog(@"id: %d", [sender tag] );


However in the second xib I have a text field that I want to populate with a
string. Since the buttonPress method in the FirstViewController doesn't know
about the UILabel in the SecondViewController, how can I have it set that
field?

Eric
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: noob: Question about senders and views
      • From: Brian Slick <email@hidden>
    • Re: noob: Question about senders and views
      • From: Craig Williams <email@hidden>
  • Prev by Date: Re: Simple printing hangs
  • Next by Date: Re: Storing bundle loaded main class instances in NSArray
  • Previous by thread: Re: Setting Min, MAx and range of characters for NSTextField
  • Next by thread: Re: noob: Question about senders and views
  • Index(es):
    • Date
    • Thread