<commit_before># IBM MobileFirst Platform for iOS Bluelist Sample App 
The Bluelist sample contains Objective-C and Swift projects that you can use to learn about the Beta.  The sample uses the Cloudant NoSQL DB, Advanced Mobile Access, and Push-iOS8 Beta services.
### Downloading the samples
Clone the samples from IBM DevOps Services with the following command:

    git clone https://github.com/ibm-bluemix-mobile-services/bms-samples-ios-bluelist

Select the Swift or Objective-C version of the Bluelist App:

- bluelist-swift

- bluelist-objective-c

Note: bluelist-swift requires latest version of Xcode (6.3) to compile swift 1.2 code.

NEW: A simple Android sample is now available that shows the interaction with Cloudant allowing optional local encryption. It can be found here:

- [bluelist-android](https://hub.jazz.net/project/mobilecloud/imf-bluelist/overview#https://hub.jazz.net/git/mobilecloud%2Fimf-bluelist/list/master/bluelist-android)

## Setting up the Bluelist sample
For more information see [Getting started with IBM MobileFirst Platform for iOS](https://www.ng.bluemix.net/docs/#starters/mobilefirst/gettingstarted/index.html#gettingstarted). Also checkout developerWorks tutorial [Build an iOS 8 App with Bluemix and the MobileFirst Platform for iOS](http://www.ibm.com/developerworks/mobile/library/mo-mfp-ios8-app/index.html)


### Configure the back end for your Bluelist application
Before you can run the Bluelist application, you must set up an app on Bluemix.  By setting up this app, service instances for the data, push, security, and monitoring functions of the app are configured.
1. Sign up for a [Bluemix](http://bluemix.net) Account. 
2. Create a mobile app.  In your dashboard, click **CREATE AN APP**.  Choose **MOBILE** > **iOS 8 BETA**.
3. Register Bluelist as a mobile client. Use your Bundle ID (for example: `com.ibm.Bluelist`) and version (for example: `1.0.0`)  These values can be found in Xcode, under Supporting Files/Info.plist
4. Set up at least one Authentication method on Bluemix for your mobile App(Facebook, Google+, or Custom)
5. Optional: Configure Push. Upload APNS certificate .p12 file that corresponds to your Bundle ID.



### Configure the front end in the Bluelist sample
1. Close the Bluelist project in Xcode if it is already open. 
2. In a terminal, navigate to the directory that contains `Podfile` file.<commit_msg>Updating Readme to show update to swift 2.0 and Xcode 7<commit_after># IBM MobileFirst Platform for iOS Bluelist Sample App 
The Bluelist sample contains Objective-C and Swift projects that you can use to learn about the Beta.  The sample uses the Cloudant NoSQL DB, Advanced Mobile Access, and Push-iOS8 Beta services.
### Downloading the samples
Clone the samples from IBM DevOps Services with the following command:

    git clone https://github.com/ibm-bluemix-mobile-services/bms-samples-ios-bluelist

Select the Swift or Objective-C version of the Bluelist App:

- bluelist-swift

- bluelist-objective-c

Note: bluelist-swift requires latest version of Xcode (7.0) to compile swift 2.0 code.
Some additional configuration may be needed from Facebook if you are experiencing any authentication errors. Please follow the doc below which is provided by Facebook:

- [Facebook-iOS9](https://developers.facebook.com/docs/ios/ios9)

NEW: A simple Android sample is now available that shows the interaction with Cloudant allowing optional local encryption. It can be found here:

- [bluelist-android](https://hub.jazz.net/project/mobilecloud/imf-bluelist/overview#https://hub.jazz.net/git/mobilecloud%2Fimf-bluelist/list/master/bluelist-android)

## Setting up the Bluelist sample
For more information see [Getting started with IBM MobileFirst Platform for iOS](https://www.ng.bluemix.net/docs/#starters/mobilefirst/gettingstarted/index.html#gettingstarted). Also checkout developerWorks tutorial [Build an iOS 8 App with Bluemix and the MobileFirst Platform for iOS](http://www.ibm.com/developerworks/mobile/library/mo-mfp-ios8-app/index.html)


### Configure the back end for your Bluelist application
Before you can run the Bluelist application, you must set up an app on Bluemix.  By setting up this app, service instances for the data, push, security, and monitoring functions of the app are configured.
1. Sign up for a [Bluemix](http://bluemix.net) Account. 
2. Create a mobile app.  In your dashboard, click **CREATE AN APP**.  Choose **MOBILE** > **iOS 8 BETA**.
3. Register Bluelist as a mobile client. Use your Bundle ID (for example: `com.ibm.Bluelist`) and version (for example: `1.0.0`)  These values can be found in Xcode, under Supporting Files/Info.plist
4. Set up at least one Authentication method on Bluemix for your mobile App(Facebook, Google+, or Custom)
5. Optional: Configure Push. Upload APNS certificate .p12 file that corresponds to your Bundle ID.



### Configure the front end in the Bluelist sample
1. Close the Bluelist project in Xcode if it is already open. 
2. In a terminal, navigate to the directory that contains `Podfile` file.
{'fraction_non_alphanumeric': 0.07852056962025317, 'fraction_numerical': 0.009295886075949366, 'mean_word_length': 4.520742358078603, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 9, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 7, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '390061', 'n_tokens_mistral': 1498, 'n_tokens_neox': 1413, 'n_words': 635}