Frequently Asked Component Specific Questions

Options

Display all FAQ items

Search FAQ items:


Displaying items 1 to 1 of 1, page 1 of 1

<< previous next >>

TMS iCL
Block Animations

Block animations are built-in the iOS Core Animation framework. To demonstrate this with a sample: The following code sets a native UIView component outside the visible area of an iphone application:
  TMSFMXNativeUIView1.SetBounds(0, 480, 320, 480);
Then from a button click for example, the following code animates the view to be displayed on the new position:
  TUIView.OCClass.beginAnimations(nil, nil);
  TUIView.OCClass.setAnimationDuration(0.4);
  TMSFMXNativeUIView1.SetBounds(0, 0, 320, 480);
  TUIView.OCClass.commitAnimations;
More information on Block animations can be found on the following link: http://developer.apple.com/library/ios/#documentation/windowsviews/conceptual/viewpg_iphoneos/animatingviews/animatingviews.html