Programming for iPhone: how to give two different class reference to single UIView? on newest questions tagged iphone – Stack Overflow

I want to implement two functionalities as color filling and view magnifying in my app. But the problem is that i can’t be able to implement these two functionalities at same time. Because i have to specify two difference class reference for two functionalities to my UIView, which can’t be possible.

In other words, I have one view and i have given class reference as UIView (for color function). But for magnify function , i have to give class reference as MagnifyingView to that view. So, it is not possible to implement these two functionalities at same time.

So how can i give UIView and ACMagnifyingView two different class reference to single UIView at different conditions?

How can i do this ?

Thanks….

See Answers


source: http://stackoverflow.com/questions/11607330/how-to-give-two-different-class-reference-to-single-uiview
Programming for iPhone: programming-for-iphone



online applications demo