removeAllObjects() Empties the cache. Declarationfunc removeAllObjects() See AlsoAdding and Removing Cached ValuessetObject(_:forKey:)setObject(_:forKey:cost:)removeObject(forKey:)