Hello
Tittle says “wrong” while is really correct, but strange float conversion
Original objective-c code:
transition.duration = 0.4f;
Translated to:
transition.duration = 0.400000005960464;
All values with f (float) are translated like this
next example:
[animation setDuration: 2.3f];
to:
animation.setDuration(2.29999995231628);
[EDIT]
Will not create new post, just will add info here. Another issue this time wrong translation:
- (void)navigationController:(UINavigationController *)navigationController didShowViewController:(UIViewController *)viewController animated:(BOOL)animated {
}
is translated to:
//
//
private void navigationController(UINavigationController navigationController, UIViewController viewController, bool animated)
{
}
should be:
private void navigationController(UINavigationController navigationController) didShowViewController(UIViewController viewController) animated(bool animated)
{
}
b.r.