• 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
Pass data through view
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pass data through view


  • Subject: Pass data through view
  • From: Vavelin Kévin <email@hidden>
  • Date: Thu, 16 Aug 2012 16:00:33 +0200

Hi there,

I know my question is a basic question but I'm not able to make it work and I don't know why :/ I have an UIViewController where I have a textField and another view who will be show when I tap on a button.
That I want is to change a label in my another view with the content of my textField. I tried to use all of example in the net and nothing works for me.
I have a property like that :

@property(strong, nonatomic)SecondViewController *secondViewController;

I tried to change my data like that :
self.secondViewController.myLabel.text = textFied.text;

and like that :

[_secondViewController setLabel:textFied.text];

but neither of this function seems to work. I don't know how i can pass my data back to my anotherView :/

Can you help me ?

Best regards,
Vavelin Kévin
Twitter | Blog | LinkedIn
Entrepreneur
Developer OS X / iOS

_______________________________________________

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: Pass data through view
      • From: Alex Zavatone <email@hidden>
  • Prev by Date: Re: Displaying a sheet immediately after a window is opened
  • Next by Date: Re: fragile ABI and PPC64
  • Previous by thread: Re: fragile ABI and PPC64
  • Next by thread: Re: Pass data through view
  • Index(es):
    • Date
    • Thread