Pau

Results 12 comments of Pau

My quick fixes to run the project were: Drag SFFocusViewLayout.swift to Example project (be sure to include it in Example target). In ViewController.xib in Attributes Inspector, confirm SFFocusViewLayout (press enter)...

I was able to set it using the SPM instead of the cocoapods setup.

I ended writing and reading a file by myself.

Adding this in Swift did the Magic. let uploadTask = UIApplication.sharedApplication().beginBackgroundTaskWithExpirationHandler({ () -> Void in UIApplication.sharedApplication().endBackgroundTask(self.backgroundTask) self.backgroundTask = UIBackgroundTaskInvalid })

Actually, autoplay works with all animations with a Timer and scrollToItem, except the crossfade animation, not sure why. Any light will be welcome. No luck neither related to the speed...

Manage to make it work for the crossfade using: `collectionView.setContentOffset(CGPoint(x: CGFloat(indexPath.row) * collectionView.frame.size.width, y: 0), animated: animated)` instead of: `collectionView.scrollToItem(at: indexPath, at: UICollectionView.ScrollPosition.left, animated: animated)`

Downloading xToDo and building solved the issue. Didn't worked installing the plugin from Alcatraz.