Class: PBXProject

Inherits:
PBXObject show all
Defined in:
lib/pbxplorer.rb

Instance Attribute Summary

Attributes inherited from PBXObject

#project_file, #uuid

Instance Method Summary collapse

Methods inherited from PBXObject

filter, #initialize, #inspect, objects_of_class

Methods inherited from Hash

#to_pbx_plist

Constructor Details

This class inherits a constructor from PBXObject

Instance Method Details

#build_configuration_listObject


170
171
172
# File 'lib/pbxplorer.rb', line 170

def build_configuration_list
  self.project_file.object_with_uuid self["buildConfigurationList"]
end

#helpObject


178
179
180
181
182
183
# File 'lib/pbxplorer.rb', line 178

def help
  puts "target = project.targets.first\n=> " + PBXNativeTarget.to_s
  puts "list = project.build_configuration_list\n=> " + XCConfigurationList.to_s
  puts "group = project.main_group"
  PBXGroup
end

#main_groupObject


174
175
176
# File 'lib/pbxplorer.rb', line 174

def main_group
  self.project_file.object_with_uuid self["mainGroup"]
end

#targetsObject


166
167
168
# File 'lib/pbxplorer.rb', line 166

def targets
  self.project_file.objects_with_uuids self["targets"]
end