Use \OC\Cache\ArrayCache in Swift.