lib/ib/generator.rb in ib-0.2.5 vs lib/ib/generator.rb in ib-0.2.6

- old
+ new

@@ -33,10 +33,10 @@ def generate_objc files output = "" files.map do |path, infos| infos.each do |info| output << <<-OBJC -@interface #{info[:class][0][0]} : #{info[:class][0][1]} +@interface #{info[:class][0][0]}#{info[:class][0][1] ? ": #{info[:class][0][1]}" : ""} #{info[:outlets].map {|name, type| "@property IBOutlet #{generate_type(type)} #{name};" }.join("\n")} #{info[:outlet_collections].map {|name, type| "@property IBOutletCollection(#{type}) NSArray * #{name};" }.join("\n")}