摘要:
当使用 self 调用方法时,会从当前类的方法列表中开始找,如果没有,就从父类中再找;而当使用 super 时,则从父类的方法列表中开始找。然后调用父类的这个方法。Messages to self and superObjective-C provides two terms that can be used within a method definition to refer to the object that performs the method—self and super.Suppose, for example, that you define a reposition met 阅读全文
摘要:
High-quality graphics are an important part of all iOS applications. The simplest (and most efficient) way to create an application is to use prerendered images together with the standard views and controls of the UIKit framework and let the system do the drawing. However, there may be situations wh 阅读全文