Hey all, this is something I've wondered about for a while and never really figured out. If I allocate and initialize another class's instance variable/property (example below), am i responsible for releasing it?
In Foo, I have an instance of Bar (called bar) and want to init one of Bar's variables like so:
self.bar.variable1 = [[UIBarButtonItem alloc] initWithCustomView:customView];