Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

iphonejudy

macrumors 6502
Original poster
Sep 12, 2008
301
1
Hi,


I want to scroll text automaticaly like flash news display.

In java we use thread and timer for moving text.

1) In Objective -c is it possible to move text?

2) If it is, means what is the concept we need to use?


Can anybody please tell me?

Thanks
judy
 

dejo

Moderator emeritus
Sep 2, 2004
15,982
452
The Centennial State
I want to scroll text automaticaly like flash news display.

In java we use thread and timer for moving text.

1) In Objective -c is it possible to move text?

2) If it is, means what is the concept we need to use?


Can anybody please tell me?

Thanks
judy
Should be doable. Might want to look into using NSThread and NSTimer.

1) Yes. Look at UILabel's (UIView's) frame property.

2) See my hints above.
 

chbeer

macrumors member
Sep 22, 2008
82
0
Berlin
Maybe you should consider reading the documentation instead of asking every detailed aspect. Before starting to build software with a new language and framework you should get familiar with it.

On the iPhone there is a very nice animation API included. Have a look at UIView class reference, there is an own part for animating views. For more complex animations, there is the Core Animation framework.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.