iOS Learning serial 2

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.