Enable network sharing on Mac OS X

sugartin wifi share network

Using this post, I am going to illustrate – How to enable network sharing over wifi when using Mac OS X ? 1. Ensure that you are connected to internet. 1.1. Go to System Preferences. 1.2. Click on Network. 1.3. … Continue reading

Detect Device Version – iPhone 2G, 3G, 3Gs, 4, 4s, iPad 1, iPad2, iPad3

sugartin iphones detect device by coding

Sometimes, Your application might need to check which device is being used by the user. For example – My App needs to track that – iPhone3G users are 120, iPhone3Gs users are 340 & iPad2 users are 100. So, I … Continue reading

Detecting Network Status

Grab the sample code from here from Apple. 1) Add SystemConfiguration.framework into your project. 2) Drag & Drop 2 files Reachability.h & Reachability.m files into your project. 3) Go to your classXYZ.h file & declare – @class Reachability 4) Create … Continue reading