iOS Documentation: CBPeripheral identifier property marked deprecated
| Originator: | wetzeal | ||
| Number: | rdar://23226134 | Date Originated: | 22-Oct-2015 05:07 PM |
| Status: | Closed | Resolved: | 01-Jul-2016 |
| Product: | Documentation | Product Version: | Xcode 7.1 (7B91b) |
| Classification: | Serious Bug | Reproducible: | Always |
Summary: When viewed in the Xcode Documentation viewer or online, the “identifier” property of CBPeripheral is marked deprecated as of iOS 7.1: “identifier Available in iOS 7.0 through iOS 7.1” However, the attribute is not deprecated in the headers, and indeed appears to be the correct property to use: @property(readonly, nonatomic) NSUUID *identifier NS_AVAILABLE(NA, 7_0); Steps to Reproduce: Go to https://developer.apple.com/library/prerelease/ios/documentation/CoreBluetooth/Reference/CBPeripheral_Class/index.html#//apple_ref/occ/instp/CBPeripheral/identifier Expected Results: The identifier property is marked as available Actual Results: The identifier property is marked deprecated Notes: See also this Stack Overflow discussion: http://stackoverflow.com/questions/31729115/ios-identifier-property-deprecated The property is not listed as deprecated in the OS X documentation.
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!