It is not working. Xcode says "the app has been killed by the operating system because it is using too much memory"
I tried to debug the code the same as your code(count 1,000,000)
I think it is not available anymore. (The article is written 7 years ago)