SetFloat: is just a convenience method that creates an NSNumber and then passes that to setObject: floatForKey: does the reverse.
SetFloat: is just a convenience method that creates an NSNumber and then passes that to setObject:. FloatForKey: does the reverse. NSDictionary can only hold object types, so you need to wrap primitives in the appropriate objects.So yes, you do need to do what you are doing to set up the default defaults.
It would be nice if you could use those methods directly on an NSDictionary, that would be a pretty trivial category to write.
Ahhha... so then it is fine to -registerDefaults using NSNumbers in the NSDictionary, and then later use the -floatForKey: and -setFloat:ForKey: convenience to make code tidier. Cool thanks. – trapper Dec 20 '11 at 17:20.
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.