Question: what is nsdata in swift?
Answer: Overview. NSData and its mutable subclass NSMutableData provide data objects, or object-oriented wrappers for byte buffers. ... The Swift overlay to the Foundation framework provides the Data structure, which bridges to the NSData class and its mutable subclass NSMutableData .