That is, making the mistake of doing: NSLog(@"In format strings you can use %@ as a placeholder for an object, and %i for a plain C integer. ") Instead of: NSLog(@"%@", @"In format strings you can use %@ as a placeholder for an object, and %i for a plain C integer."); But I'm going to be surprised if this turns out to be the cause of your problem, as it usually causes random-looking output, rather than absolutely no output. And in some cases, Xcode also gives compiler warnings about it (when I tried NSLog(myString), I got "warning: format not a string literal and no format arguments").
So don't shoot me down if this answer doesn't help.It would be easier to answer your question if you could show us more of your logging code. As for the one line you provided, I can't detect anything wrong with it. Edit: Oops, I kind of missed that you mentioned you're using writeToFile:atomically:encoding:error: to write the string to the file, so it's even more unlikely you're accidentally treating it as a format string somewhere.
But I'm going to leave this answer up for now. Again, you should really show us more of your code though ... Edit: Regarding your question on a method in NSString that has similar percent encoding functionality, that would be stringByAddingPercentEscapesUsingEncoding:. I'm not sure what kind of problems you're thinking of when you say you've heard it doesn't always work.
But one thing is that CFURLCreateStringByAddingPercentEscapes allows you to specify extra characters that don't normally have to be escaped but which you still want to be escaped, while the method of NSString doesn't allow you to specify this.
I'll try stringByAddingPercentEscapesUsingEncoding: and see if it causes any problems. – edc1591 Mar 31 at 23:25 It appears that using stringByAddingPercentEscapesUsingEncoding: also results in nothing being logged to the file. I'll add some more code to my original post.
– edc1591 Apr 1 at 0:43.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.