This week comes the second week of Infinite Interconnection, through the first week of the C-language review, this week to learn a new language, Object-c language, OC language is the basic language for developing iOS, even if Apple now launches the new language Swift.
OC language is an object-oriented language, OOP (object oriented procedure), in the face of object language relative to the C language, with encapsulation, inheritance, polymorphic features, through a class implementation program development, class is a conceptual model, object is an entity, class is the type of object , that all things are objects, classes and classes include inheritance, link relationships, inherited called subclasses, inherited by the parent class or superclass, the Super keyword can invoke methods inherited from the parent class, including inheriting the parent class's initialization method, calling the parent class's normal method, the Self keyword invokes the current object's method, If the current object does not have this method, the parent class is called!
The newly-learned knowledge points too many, did not have too much time to summarize here, also must continue to fight, continues diligently, continues to move forward!!! Come on!!!
This article is from "iOS Development serial 2" blog, declined reprint!
iOS Learning serial 2