iphone - Use of nested references in objective C -


Obtain an error message "Use nested functions are disabled, fired in x-loaded / objectionable" etc.

This is the code (balls are an NSMutableArray, which points to a group of UIViewview).

  CGPOINT POSUZ = [[self.bill object atindexx: pointindex] center];  

But the following seems to compile properly.

UIView * ref = [self.balls objectAtIndex: pointidx]; CG point pos = ref Center;

Should I use "-fested-function" to re-enable (and if so, where do I place "-fnested-functions")? Or just me additionally, usually when you see nested function warnings, what exactly do you have? There is a syntax error.

Is pointIdax an integer and balls is an NSArray? Also, do you have a property for balls? self.balls instead of balls .

Edit: Since it's time for a compilation, I am thinking that like passing it on the center on NSObject What will happen if you insert an object:

  CGPoint pos = [(UIView *) ([self.balls objectAtIndex: pointidx]) center];  

irrelevant brain obscurfy.


Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -