module Xcake::Context
The Context
is an object that tracking of native objects in the project format.
It allows components of the Xcake
generator system to retrieve the native representation of a DSL object which is useful for operations which require multiple steps.
See XcodeprojContext
and the Genrators for how this is used.
Public Instance Methods
file_reference_for_path(path)
click to toggle source
This method returns or creates a file reference for a path
# File lib/xcake/context.rb, line 31 def file_reference_for_path(path) end
native_object_for(dsl_object)
click to toggle source
This method returns or creates a native object for a DSL object
# File lib/xcake/context.rb, line 24 def native_object_for(dsl_object) object_hash[dsl_object] ||= create_object_for(dsl_object) end
object_hash()
click to toggle source
The internal hash of native objects reference by their related DSL object
# File lib/xcake/context.rb, line 17 def object_hash @object_hash ||= {} end
scheme_list()
click to toggle source
This method returns or creates a scheme list for the project
# File lib/xcake/context.rb, line 37 def scheme_list end