The inY
property gives an error. What is the correct syntax?
UIButton *optionButton = [UIButton buttonWithType:UIButtonTypeCustom];
NSObject* anim = @{@"target": target, @"inY": infoView.frame.size.height-100, @"outY": @800};
Tried creating a variable with it as done with optionButton
but it doesn't seem to work. I presume I need to cast it as something the collection can understand.