Still trying to get the hang of retain cycles when using blocks. My question is.. which of the following (if any) would cause retain cycles?
1
[self.someProperty runSomeBlock:^{
[self.someOtherProperty doSomething];
}];
2
[self.someProperty runSomeBlock:^{
[self doSomething];
}];
3
[self.someProperty runSomeBlock:^{
[someObject runAnotherBlock:^{
[self.someProperty doSomething];
}];
}];
4
[self.someProperty runSomeBlock:^{
[someObject runAnotherBlock:^{
[self.someOtherProperty doSomething];
}];
}];
Thanks!