Sha256: 8da7aee7b136b7d14d984348af219645b2b09a8c42878621dad68e8c52bb52d4
Contents?: true
Size: 1.04 KB
Versions: 1
Compression:
Stored size: 1.04 KB
Contents
// Generated by IB v<%= ib_version %> gem. Do not edit it manually // Run `rake ib:open` to refresh #import <Foundation/Foundation.h> #import <CoreData/CoreData.h> <% if ios_project? %> #import <UIKit/UIKit.h> <% elsif osx_project? %> #import <Cocoa/Cocoa.h> <% end %> <% @files.each do |path, interfaces| %> <% interfaces.each do |interface| %> @interface <%= interface.sub_class + ": " + interface.super_class %> <% unless interface.outlets.empty? %><%= "\n"%><% end %> <% interface.outlets.each do |outlet| %> @property IBOutlet <%= outlet.formated_type %> <%= outlet.variable %>; <% end %> <% unless interface.outlets.empty? %><%= "\n"%><% end %> <% interface.outlet_collections.each do|outlet_collection| %> @property IBOutletCollection(<%= outlet_collection.type %>) NSArray * <%= outlet_collection.variable %>; <% end %> <% unless interface.outlet_collections.empty? %><%= "\n"%><% end %> <% interface.actions.each do |action| %> -(IBAction) <%= action.to_declare %>; <% end %> <% unless interface.actions.empty? %><%= "\n"%><% end %> @end <% end; end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ib-0.4.1 | lib/ib/generator/templates/Stubs.h.erb |