Method: Xcodeproj::Project::ObjectDictionary#remove_reference

Defined in:
lib/xcodeproj/project/object_dictionary.rb

#remove_reference(object) ⇒ Object

Removes all the references to a given object.



146
147
148
# File 'lib/xcodeproj/project/object_dictionary.rb', line 146

def remove_reference(object)
  each { |key, obj| self[key] = nil if obj == object }
end