[Xcode9b1] NSData quicklook has non-useful byte stride

Originator:markd
Number:rdar://32590691 Date Originated:6/6/2017
Status:Open Resolved:
Product:Developer Tools Product Version:Version 9.0 beta (9M136h)
Classification:Serious Bug Reproducible:Always
 
Summary:
See attached image.

NSData's quick look shows a hex/ascii view, which is nice.  Unfortunately the number of bytes across is random - usually it's prime or some odd number.  When data, addresses, and generally thinking about bytes at that level, power-of-twos are very useful, especially when thinking "here's a landmark, and I know that the part interesting to me is 32  bytes from here".  With a consistent 8 or 16 byte stride, that's a trivial mental operation.  When it's 9 (in the attached screen shot) or 11, or 13, that's pretty hard to do

Steps to Reproduce:
see summary

Expected Results:
see summary

Observed Results:
see summary

Version:
Version 9.0 beta (9M136h)
10.12.5 (16F73)

Notes:


Configuration:

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!