objective c - Purpose of methods that only call super? -


In Xcode, many of those auto-generated class files (especially those for which UIViewController are subclasses) include those methods Which will be similar to the following:

  - (zero) dealloc {[super delok]}  

For me, it is absolutely useless - if all the rules This is going to be super call, why is it absolutely? Can these methods be generated?

The default template code defines the methods that fill your customized code with call super To call you have to remind you. Generated code does not mean an ending application. Think of the call similar to the empty class definitions. You fill in the classes and therefore fill the definitions of the methods


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -