I'm trying to figure out what is called this coding style, is it an inline block? embedded area? what? What will the compiler create when it encounters one of them ...
- (UIView *)createMyView {
return
({
UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 320, 0)];
view;
});
}
I ask because we get a lot of cxx_destruct calls in the crash log with line numbers that are much larger than the actual file size. I am wondering if this coding method adds some strange things to how it was built.
source
share