lib/ib/oc_interface.rb in ib-0.8.0 vs lib/ib/oc_interface.rb in ib-1.0
- old
+ new
@@ -13,10 +13,10 @@
class Action < Struct.new(:variable, :arg, :return_type)
def to_declare
if arg
if arg =~ /story_?board/i
- "#{variable}:(UIStoryBoard *) #{arg}"
+ "#{variable}:(UIStoryboard *) #{arg}"
else
"#{variable}:(#{return_type ? "#{return_type}*" : 'id'}) #{arg}"
end
else
"#{variable}"