Jump to content

Cannot pass an int value from a UITableViewController to a UIVIewController


1 post in this topic

Recommended Posts

Hello there,

 

I am a beginner to iOS Programming.

I am having trouble passing data to an int value called songIdentity to a UIViewController int value called songIdentity.

I used NSLog and found out that the correct value is set in didSelectRowAtIndexPath. But on other methods it returns 0.

Why is it happening ?

By the way I am programming on Mac OS X Snow Leopard, Xcode 4.2, iOS 5 SDK.

Link to comment
Share on other sites

 Share

×
×
  • Create New...