NSNotification - Missing a rationale for the reverse DNS identifier
Closed this issue · 3 comments
guillaumealgis commented
When you define you own NSNotification you should define your notification's name as a string constant. [...] The value of the constant should be a reverse DNS identifier.
What is the rationale on this? Why isn't the three-letter prefix enough?
DaveBatton commented
I'll add a "me too" here. The three letter prefix is sufficient. If I saw the reverse DNS identifier I'd assume the value was being used outside of the normal scope of NSNotification.
almassapargali commented
Same here, think prefix is enough.
luca-bernardi commented
Thank you for bright this to our attentions and sorry for the delay in the response.
I believe that you all are right and the prefix should be enough. I'll update the book according.