cocoa touch - Problems with converting a CGPoint to a string -


I'm having trouble converting a CGPoint into string I've tried various methods, but it's like most promising It seems, but it still will not work. Any suggestions?

This is my code:

  - (zero) touch touch: (NSSET *) touches the event: (UIEvent *) event {UITouch * touch = [[ Event All Tactics] Any Object]; Coordinate = [Touch Location Inview: TouchView]; Viewcoord.text = [NSString stringWithFormat: @ "coordinate% @", coord.x, coord.y];  

I get the output but it just says "coordinate (empty)" and I do not understand why ...

thanks

< / Div>

  viewcoord.text = [NSString stringWithFormat: @ "coordinate% @", NSStringFromCGPoint (coordinate)];  

Comments