viewControllerWithRestorationIdentifierPath(_:coder:) arguments are incorrect type
Originator: | samuel.watts | ||
Number: | rdar://24547336 | Date Originated: | |
Status: | Open | Resolved: | |
Product: | iOS SDK | Product Version: | iOS 9.2 + Documentation |
Classification: | Reproducible: | Always |
Summary: the UIViewControllerRestoration protocol has one required function: static func viewControllerWithRestorationIdentifierPath(identifierComponents: [AnyObject], coder: NSCoder) -> UIViewController? The function signature says to expect an array of AnyObject but the documentation says to expect an array of NSString The documentation or method signature should be updated to be consistent Steps to Reproduce: Look at documentation for UIViewControllerRestoration Read function signature for viewControllerWithRestorationIdentifierPath(_:coder:) Expected Results: Documentation and function signatures should match (the function signature should be updated) Actual Results: Function and documentation do not match Version: iOS 9.2 + Documentation Notes: Configuration: iOS 9.2 + Documentation Attachments:
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!