If Src is an instance of NSString
and you are worried that your number when opening a file can be seen by everyone, and the goal is just to hide it from the public’s eyes by hiding behind the symbols of the cracks, then write not a string representation of the number but this number. And that is, NSInteger (float, double, short на выбор) -> NSData -> file
. Example:
NSInteger integer = [Scr integerValue]; NSData *data = [NSData dataWithBytes:&integer length:sizeof(integer)]; [data writeToFile:pth atomically:YES];
This will not save from determining the number of more or less IT-literate person, but from the general public will protect. So the problem seems to be solved.