SyntaxFix
Write A Post
Hire A Developer
Questions
sleep(3) is in unistd.h, not stdlib.h. Type man 3 sleep on your command line to confirm for your machine, but I presume you're on a Mac since you're learning Objective-C, and on a Mac, you need unistd.h.
sleep(3)
unistd.h
stdlib.h
man 3 sleep