how to get xcode variables result from one view controller to another view controller,
actually in one view controller i called web services to get userID which is declare as NSString, and in another view controller i want to display the userID which is retrieve from previous view controller, so how this can be done
thanks
You’re a bit confused, starting with your terminology:
What you really want to do is have a common data model in your application, independent of the views in your application. See any of the copious documentation on how Cocoa and Cocoa Touch implement the Model-View-Controller pattern to understand how to do this.