NSDataAsset should expose a `path` property

Originator:ross.kimes
Number:rdar://22251272 Date Originated:12-Aug-2015 12:07 PM
Status:Open Resolved:
Product:iOS SDK Product Version:9.0
Classification:Enhancement Reproducible:Not Applicable
 
Summary:
It would be useful if the new NSDataAsset would expose a readonly `path` property.

Steps to Reproduce:
N/A

Expected Results:
The path property would return a NSString to the path of that asset on disk.

Actual Results:
The property does not exist.

Regression:
This would allow developers to store things like sql databases (that are initialized by their path, not their data) in Asset Catalogs.

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!