如何遍历NSView下的子视图呢

for (NSView *aview in [SuperV subviews])
{
if([aview isMemberOfClass:[NSButton class]])
{
NSButton *cButton=(NSButton *)aview;
[cButton setBezelStyle:NSRoundedBezelStyle];
[cButton setWantsLayer:YES];
[cButton setBordered:NO]; }
}

  

05-11 23:01