在使用块时仍然试图掌握保留周期的窍门。我的问题是.. 以下哪一项(如果有)会导致保留周期?
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];
}];
}];
谢谢!