This one happens a lot in random places, but here’s a simple repeatable case for you.
- In any app (I just replicated it with the universal master detail template), create an empty method.
- Go to the method and paste this:
NSMutableSet *set = [NSMutableSet set];
- As well as the right bit of code, I get these other bits I have to remove…
method DetailViewController.newmethod; begin namespace ;
interface
var &set: NSMutableSet := NSMutableSet.&set();
implementation
end.
end;