We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iOS 10 , Xcode Beta 4, Swift 3
md5: cef5cb0f109e1eaad5ec74d2737ec4b1
duplicates:
Issue Description:
let missingSections = NSMutableIndexSet()
missingSections.enumerate { idx, stop in let indexPath = NSIndexPath(forItem: 0, inSection: idx) let layoutAttributes = self.layoutAttributesForSupplementaryViewOfKind(UICollectionElementKindSectionHeader, atIndexPath: indexPath) superAttributes.addObject(layoutAttributes!) }
The text was updated successfully, but these errors were encountered:
Sorry, is there a bug here or not?
Sorry, something went wrong.
Comment by Shiva Kumar (JIRA)
missingSections.enumerate throws a error in Xcode beta 4 "I get the Swift compiler error "Ambiguous use of .enumerate"
Ah, yes, thanks. You can work around this by not using trailing closures.
No branches or pull requests
Environment
iOS 10 , Xcode Beta 4, Swift 3
Additional Detail from JIRA
md5: cef5cb0f109e1eaad5ec74d2737ec4b1
duplicates:
Issue Description:
let missingSections = NSMutableIndexSet()
missingSections.enumerate { idx, stop in
let indexPath = NSIndexPath(forItem: 0, inSection: idx)
let layoutAttributes = self.layoutAttributesForSupplementaryViewOfKind(UICollectionElementKindSectionHeader, atIndexPath: indexPath)
superAttributes.addObject(layoutAttributes!)
}
The text was updated successfully, but these errors were encountered: