Xcode-Beta (6D520o): UITableView.visibleCells() Swift API returns [AnyObject] but docs say [UITableViewCell]
| Originator: | andrew | ||
| Number: | rdar://19886723 | Date Originated: | 19-Feb-2015 10:20 AM |
| Status: | Duplicate of 19491544 | Resolved: | |
| Product: | Developer Tools | Product Version: | Xcode-Beta (6D520o) |
| Classification: | Other Bug | Reproducible: | Always |
Summary: UITableView.visibleCells() Swift API returns [AnyObject] but docs say “Return Value: An array containing UITableViewCell objects”. Which means we all have to do a forced cast in our code, which is both naughty and nasty. Steps to Reproduce: N/A Expected Results: API should be consistent with the documentation. Actual Results: Disparity between API and docs which means our code gets janky. Regression: N/A Notes: N/A
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!