Macruby: Remove all subviews from a view
Simplest way to remove all existing subviews from a view:
myview.subviews = Array.new
Written by Jay Fajardo
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Macruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#