Class: Xcodeproj::Project::Object::PBXGroup

Inherits:
Object
  • Object
show all
Defined in:
lib/ccios/file_creator.rb

Instance Method Summary collapse

Instance Method Details

#pf_new_group(associate_path_to_group:, name:, path:) ⇒ Object



7
8
9
10
11
12
13
14
# File 'lib/ccios/file_creator.rb', line 7

def pf_new_group(associate_path_to_group:, name:, path:)
  # When using "Group with folder" we only provide a path
  # When using "Group without folder" we only provide a name
  new_group(
    associate_path_to_group ? nil : name,
    associate_path_to_group ? path : nil
  )
end