Class: Xcodeproj::Project::Object::PBXFileSystemSynchronizedRootGroup

Inherits:
AbstractObject
  • Object
show all
Defined in:
lib/xcodeproj/project/object/file_system_synchronized_root_group.rb

Overview

This class represents a file system synchronized root group.

Instance Attribute Summary collapse

Attributes inherited from AbstractObject

#isa, #project, #uuid

Instance Method Summary collapse

Methods inherited from AbstractObject

#<=>, #==, #ascii_plist_annotation, #inspect, isa, #nested_object_for_hash, #pretty_print, #remove_from_project, #sort, #sort_recursively, #to_ascii_plist, #to_hash

Instance Attribute Details

#explicit_file_typesHash

Returns The files in the group that have a file type defined explicitly.

Returns:

  • (Hash)

    The files in the group that have a file type defined explicitly.



61
# File 'lib/xcodeproj/project/object/file_system_synchronized_root_group.rb', line 61

attribute :explicit_file_types, Hash

#explicit_foldersArray

Returns The folders in the group that are defined explicitly.

Returns:

  • (Array)

    The folders in the group that are defined explicitly.



65
# File 'lib/xcodeproj/project/object/file_system_synchronized_root_group.rb', line 65

attribute :explicit_folders, Array

#indent_widthString

Returns The width of the indent.

Examples:

`2`

Returns:

  • (String)

    The width of the indent.



38
# File 'lib/xcodeproj/project/object/file_system_synchronized_root_group.rb', line 38

attribute :indent_width, String

#pathString

Returns the path to a folder in the file system.

Returns:

  • (String)

    the path to a folder in the file system.



24
# File 'lib/xcodeproj/project/object/file_system_synchronized_root_group.rb', line 24

attribute :path, String

#source_treeString

Note:

The accepted values are:

  • ‘<absolute>` for absolute paths

  • ‘<group>` for paths relative to the group

  • ‘SOURCE_ROOT` for paths relative to the project

  • ‘DEVELOPER_DIR` for paths relative to the developer directory.

  • ‘BUILT_PRODUCTS_DIR` for paths relative to the build products directory.

  • ‘SDKROOT` for paths relative to the SDK directory.

Returns the directory to which the path is relative.

Returns:

  • (String)

    the directory to which the path is relative.



20
# File 'lib/xcodeproj/project/object/file_system_synchronized_root_group.rb', line 20

attribute :source_tree, String, '<group>'

#tab_widthString

Returns The width of the tabs.

Examples:

`2`

Returns:

  • (String)

    The width of the tabs.



45
# File 'lib/xcodeproj/project/object/file_system_synchronized_root_group.rb', line 45

attribute :tab_width, String

#uses_tabsString

Returns Whether Xcode should use tabs for text alignment.

Examples:

`1`

Returns:

  • (String)

    Whether Xcode should use tabs for text alignment.



31
# File 'lib/xcodeproj/project/object/file_system_synchronized_root_group.rb', line 31

attribute :uses_tabs, String

#wraps_linesString

Returns Whether Xcode should wrap lines.

Examples:

`1`

Returns:

  • (String)

    Whether Xcode should wrap lines.



52
# File 'lib/xcodeproj/project/object/file_system_synchronized_root_group.rb', line 52

attribute :wraps_lines, String

Instance Method Details

#display_nameObject



67
68
69
70
# File 'lib/xcodeproj/project/object/file_system_synchronized_root_group.rb', line 67

def display_name
  return path if path
  super
end

#exceptionsArray<PBXFileSystemSynchronizedBuildFileExceptionSet, PBXFileSystemSynchronizedGroupBuildPhaseMembershipExceptionSet>

Returns The list of exceptions applying to this group.

Returns:



57
# File 'lib/xcodeproj/project/object/file_system_synchronized_root_group.rb', line 57

has_many :exceptions, [PBXFileSystemSynchronizedBuildFileExceptionSet, PBXFileSystemSynchronizedGroupBuildPhaseMembershipExceptionSet]