I'm relatively new to Objective-C and really don't know much about it yet, so I apologise for what is probably a really amateurish question.
I'm trying to get the magnetic heading from CLHeading and CLLocationDirection. However I'm getting compile errors for this line of code:
locationLabel.text = [[[location course] magneticHeading] stringValue];
The errors are:
warning: invalid receiver type 'CLLocationDirection'
error: cannot convert to a pointer type
I don't really understand what I'm doing wrong here. Please help!