Method: Xcodeproj::Project#sort

Defined in:
lib/xcodeproj/project.rb

#sort(options = nil) ⇒ void

This method returns an undefined value.

Sorts the project.

Parameters:

  • options (Hash) (defaults to: nil)

    the sorting options.

Options Hash (options):

  • :groups_position (Symbol)

    the position of the groups can be either ‘:above` or `:below`.



810
811
812
# File 'lib/xcodeproj/project.rb', line 810

def sort(options = nil)
  root_object.sort_recursively(options)
end