Method: Xcode::Project#targets

Defined in:
lib/xcode/project.rb

#targetsArray<Target>

All the targets specified within the project.

Returns:

  • (Array<Target>)

    an array of all the available targets for the specific project.



251
252
253
254
255
256
# File 'lib/xcode/project.rb', line 251

def targets
  @project.targets.map do |target|
    target.project = self
    target
  end
end