Best Approach in displaying the Image in Core Animation Layer - During the animation
Best Approach in displaying the Image in Core Animation Layer - During the animation
- Subject: Best Approach in displaying the Image in Core Animation Layer - During the animation
- From: Sasikumar JP <email@hidden>
- Date: Fri, 4 Feb 2011 12:41:12 +0530
Hi,
I am developing an iPhone application, where i present the main screen as
spring board view (like iphone main screen).
I am trying to implement all the features available in iphone main screen
like change the Grid position and Remove the Grid in the Edit Mode.
I have implemented the spring board view with core animation layers. Each
page displays 9 Grids in 3x3 format.
I have used layer.content property to display the icon image for all the
Grid. Look and Feel of the Spring Board view is fine in the normal mode.
During the Edit mode(Wiggle Animation), Image in Grid(Layer) is not
displayed properly.Even though i get 60 FPS during the wiggle
animation,image edge is not smooth.
What is the difference in the following 2 approaches.
Which is the best approach to display the icon image in layer during
Animation (Wiggle Animation).
1. Layer.content
2. Override drawLayer method and draw the image using [UIImage drawRect]
method.
Any help is highly appriciated.
Thank you
Sasikumar
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden