cocoa - Objective-C @interface/pointer clarification -


Learning as always, was running quite well, until I realized what the difference between them is >

  @ square player; @ Class map; View @ interface: NSView {Player * player_; Map * currentMap_; NSMutableArray * worldArray; NSMutableArray * itemArray; Float celllight_; } @ And  

It does not matter which star has no effect on it. Now I know why I was so confused.

All objects are referenced by Object Object Points, which is * either on the star left side or the compiler on the right Does not matter; I believe this is a personal preference.

Float does not have * because it is primitive, not Objective Object Object.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -