ipup / PPRevealSideViewController

A new container controller to easily push views on side like Path or Facebook
www.ipup.pro
Other
821 stars 194 forks source link

Please could you explain me when and where we will add the observer thoing . why you are using this in this framework. #70

Closed tikamchandrakar18 closed 11 years ago

tikamchandrakar18 commented 11 years ago

Please could you explain me when and where we will add the observer thoing . why you are using this in this framework.?

What will happen if I will never use observer in my app?

Thanks Tikam

ipodishima commented 11 years ago

I'm not sure to understand your question, but it is probably related to the observer in PPReveal where I observe the frame of the controller to update the side view offset in real time. If you don't need this feature, juste remove the code with observeValue and the try catch which remove the observer. That's simpler. Btw, I'm not really proud of this piece of code