Class Objects and Instance Variables in Objective-C
I'm having a hard time wrapping my head around this concept. I'll take the quote exactly from the book: Class objects also inherit from the classes above them in the hierarchy. But because they don’t have instance variables (only instances do), they inherit only methods. Correct me if I'm wrong, but a class object would be this: NSString *aString = [[NSString alloc]initWithString:@"abc.."]; The class object in this case is *aString -- am I correct so far? The thing that confuses me is the second sentence in the quote above, "But because they don’t have instance variables (only instances do),