Here it is!

tbCurrentData.Select(tbCurrentData.Text.Length, 0);

in fact,   it is all in MSDN :p

Have a good day~ 
신고
Posted by ParkPill 박필

In other language we use the following.

CGPoint a, b;
if(a == b)
 
 
But in the objective c manner it is like this.

CGPoint location;
CGPoint lastPoint; 


if (CGPointEqualToPoint(location, lastPoint)) {


    }

 
pretty straight forward.

Have a good day. 
신고
Posted by ParkPill 박필
 Getting location for touch!
 
Get the position!


-(void)ccTouchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{

    UITouch *touch = [touches anyObject];

    CGPoint location = [touch locationInView:touch.view];   
}

 

신고
Posted by ParkPill 박필