Method: Xcode::Configuration::TargetedDeviceFamily#open

Defined in:
lib/xcode/configurations/targeted_device_family_property.rb

#open(value) ⇒ Array<Symbol>

Returns the platform names supported.

Parameters:

  • value (String)

    convert the comma-delimited list of platforms

Returns:

  • (Array<Symbol>)

    the platform names supported.



19
20
21
22
23
# File 'lib/xcode/configurations/targeted_device_family_property.rb', line 19

def open(value)
  value.to_s.split(",").map do |platform_number|
    platforms[platform_number]
  end
end