objective c - How to clear all object on NSView in Cocoa -


i want clear objects added nsview before call function. how can that?

i use following function

-(void)clearallsubviewsofview :(nsview *)parent {     (nsview *subview in [parent subviews]) {         [subview removefromsuperview];     } } 

Comments

Popular posts from this blog

wireshark - USB mapping with python -

c++ - nodejs socket.io closes connection before upgrading to websocket -

Deploying Qt Application on Android is really slow? -