BlueKai/bluekai-ios-sdk — pull request #6 by shunchu (2014-06-01 22:25:50+00:00)
Title: Feature/v1.6.0 update

### Bug fixes
- `Cancel` button now will hide BlueKai user opt-in preference screen properly
- `setOptInPreference` should default to `YES`

### Enhancements
- Namespace `onDataPostedListener` protocol to `BlueKaiOnDataPostedListener` to avoid clashing
- Documentation now encourages using `@class` forward reference to include the BlueKai iOS SDK instead of `#import`
- Add support for more informative `BlueKai` object via Objective-C's native `description` and `debugDescription` methods. `NSLog(@"%@", BlueKaiObject)` will now log:

```objectivec

```
- Transition all the setter/getter functions to Objective-C's native `@property` declarations
- Free `setter` and `getter` functions
- Do not impact existing functionalities
- Sample app
- Enhance and update UI look & feel
- Explose new UI controls from the UI

### New features
- Add a new init method to tag on IDFA id: `initWithSiteId:withAppVersion:withIdfa:withView:withDevMode`
- Add a new `@property` declaration to set an IDFA id
- Add `showSettingsScreenWithBackgroundColor` public method to allow setting background color for user preference screen, examples:
- `[blueKaiSDK showSettingsScreenWithBackgroundColor:[UIColor whiteColor]]`
- `[blueKaiSDK showSettingsScreenWithBackgroundColor:[UIColor colorWithRed:(246/255.0) green:(247/255.0) blue:(220/255.0) alpha:1.0]]`
- Add unit test coverage

### Deprecated
- The SDK no lonoger uses OpenUDID since the industry is moving towards [IDFA](http://blog.appsfire.com/udid-is-dead-openudid-is-deprecated-long-live-advertisingidentifier/)
- `- (void)put:(NSString *)key withValue:(NSString *)value` is deprecated in favor of `- (void)updateWithKey:(NSString *)key andValue:(NSString *)value`; no functional change
- `- (void)put:(NSDictionary *)dictionary` is deprecated in favor of `- (void)updateWithDictionary:(NSDictionary *)dictionary`; no functional change
- Show setting screen methods; use the `setOptInPreference` property to set the opt-in preference instead
- `- (void)showSettingsScreen`
- `- (void)showSettingsScreenWithBackgroundColor:(UIColor *)color`
- Use iOS native graphic elements to replace custom `png` images previously required

@antonbk @ybhootada