70 71 72 73 74 75
# File 'lib/ios/sugarcube-factories/uibutton.rb', line 70 def system if self != UIButton raise "Custom subclasses of UIButton must be created using UIButton.custom" end self.buttonWithType(UIButtonTypeSystem) end