Module: Xcode::VariantGroup

Extended by:
Group
Includes:
Group
Defined in:
lib/xcode/variant_group.rb

Overview

A VariantGroup is generally a special group reserved for InfoPlist.strings folders that contain additional files within it that are referenced.

Instance Attribute Summary

Attributes included from Group

#supergroup

Class Method Summary collapse

Methods included from Group

create_file, create_framework, create_group, create_infoplist, create_product_reference, create_system_framework, create_system_library, exists?, file, files, group, groups, logical_group, remove!

Class Method Details

.info_plist(properties) ⇒ Object

# E21EB9DE14E357CF0058122A /* InfoPlist.strings */ = {

  isa = PBXVariantGroup;
  children = (
    E21EB9DF14E357CF0058122A /* en */,
  );
  name = InfoPlist.strings;
  sourceTree = "<group>";
};


22
23
24
25
26
27
28
29
# File 'lib/xcode/variant_group.rb', line 22

def self.info_plist properties
  default_properties = { 'isa' => 'PBXVariantGroup',
    'children' => [],
    'name' => name,
    'sourceTree' => '<group>' }
    
  default_properties.merge(properties)
end