What is an object in Objective-C?
问题 I thought I had a pretty good idea of what an object is.. but I was wrong. Could anyone explain what an object is? Or how I should think of it when programming? Please help me understand. I know it's not the pointer .. so what exactly is the object in a line of code .. 回答1: Conceptually in OOP, an object is a certain instance of a class. A class defines the information and actions for a certain type of object. The quintessential example is of a Car class, that maybe holds a "colour" property