Posts

Showing posts from November, 2014

NSUserDefaults - Swift

NSUserDefaults is a class that allows simple storage of different data types.  It is ideal for small bits of information you need to persist between app launches or device restarts. NSUserDefaults supports the following data types: NSString NSNumber NSDate NSArray NSDictionary NSData NSUserDefaults should be used to store small amounts of data.  Here is simple use of NSUserDefaults to save the  user name  so that the next time they open up the app, I don’t have to ask them again. In this case, it would be overkill for me to store this type of data in Core Data or other complex mechanism. I simply check NSUserDefaults for a value and go from there. It is important to remember that NSUserDefaults are just that, helpful for reading/writing user preferences and other similar things. Saving data: Before we read or write data from NSUserDefaults, we must first get a reference to the NSUserDefaults class.              1.  let  refs  =   NSUserDefaults . standar

Top searched keywords on Google by people

Top searched keywords on Google by people and the first link in google as on 4th of July 2015 hotels - http://www.hotels.com facebook - http://www.facebook.com youtube - http://www.youtube.com craigslist - http://craigslist.org aquarius google - http://www.google.com ebay - http://www.ebay.com yahoo - http://www.yahoo.com amazon - http://www.amazon.com google maps walmart http://www.walmart.com home depot hotmail.com pthc msn backpage netflix aol weather cnn lowes best buy dogpile target cars espn wikipedia hot fox news ls island sears nudist bing white pages southwest airlines peachtree accounting currper drudge report verizon wireless jebanje matorke plenty of fish dictionary ls dreams kim kardashian comcast.net motherless occupation of america showtimeback.homestead.com teeny angels dezzyb.homestead.com badoneent.homestead.com news lovelybadone.homestead.com girls msnbc imdb walmart.com hulu egotastic virgo bikini cancer