3 ms·
initializers should look like that. the problem is this: title = aTitle; he should say self.title instead to avoid memory issues.
by Greenisus 15y ago
initializers should look like that. the problem is this:
title = aTitle;
he should say self.title instead to avoid memory issues.
- natesm 15y agoOh, what I meant is that on the Mac we can use garbage collection, so it's not always a problem. I don't really like the property dot syntax though, I always use the `setProperty:` form for consistency (is it a struct or an object? why is the = operator sending an Obj-C message?)