Welcome to the iMore Forums Create Your Account or Ask a Question Answers in 5 minutes - no registration required!
Results 1 to 2 of 2
  1. Thread AuthorThread Author   #1  
    Qfanvnaa's Avatar
    iPhone Beginner

    93 Posts

    Default NSData vs NSString

    I'm well aware of the difference of NSData and NSString, but my curiosity is from a storage point of view, if I am to load a file into an NSString object , how much more memory would it be vs if the file is loaded into an NSData object.

    Thanks in advance...
  2. #2  
    paul100's Avatar
    iPhone Intermediate

    445 Posts
    Global Posts
    449 Global Posts


    Nice question - might be worth trying it both ways, see which object is smaller.

Posting Permissions