Note that there are some explanatory texts on larger screens.

plurals
  1. POXcode need help merging GPS project, Accelerometer project, Compass project and MySQL project
    primarykey
    data
    text
    <p>I have 4 Xcode projects ( GPS, Accelerometer, Compass and MySQL).</p> <p>Each of them individually are compiling fine and are working fine.</p> <p>I will like to combine all of them into one project so I can send the GPS, Accelerometer and Compass info to a mySQL database.</p> <p>I have tried to copy the <code>.h</code> and the <code>.m</code> and the frameworks required from project to another.</p> <p>Mainly the problem arises here :</p> <pre><code>- (IBAction)insert:(id)sender { // create string contains url address for php file, the file name is phpFile.php, it receives parameter :name //NSString *strURL = [NSString stringWithFormat:@"http://localhost/phpFile.php?name=%@",txtName.text]; NSString *strURL = [NSString stringWithFormat:@"http://localhost/phpFile.php?name=%@",speedLabel.text]; ************&lt; use of undefined identifier 'speedLabel'**** // to execute php code NSData *dataURL = [NSData dataWithContentsOfURL:[NSURL URLWithString:strURL]]; // to receive the returend value NSString *strResult = [[[NSString alloc] initWithData:dataURL encoding:NSUTF8StringEncoding]autorelease]; NSLog(@"%@", strResult); } </code></pre> <p>Here is the structure which speedLabel is contained :</p> <pre><code>@interface CoreLocationDemoViewController : UIViewController &lt;CoreLocationControllerDelegate&gt; { CoreLocationController *CLController; IBOutlet UILabel *speedLabel; IBOutlet UILabel *latitudeLabel; IBOutlet UILabel *longitudeLabel; IBOutlet UILabel *altitudeLabel; IBOutlet UILabel *timeLabel; } </code></pre> <p>Thanks for your help</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload