Return to the iOS project. The first thing you need to do is update the URL for the server, so your device knows where to make the network calls. There is an
NSString constant called
kShoutOutServerURLString in the
ShoutOut-Prefix.pch file to identify the server on the local network:
#define kShoutOutServerURLString @"http://twiki.local:3000"
twiki in that address with the name of your computer that is running the Rails server—if it has Bonjour networking that address will work.
Check to be sure your computer and wireless network are not set up to block port 3000.
You need to add logic to tell the server about the user’s device. In the
ICFMainViewController, there is a method ...