Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.

Commit 1865b20

Browse files
committed
Update README and Credentials.swift file.
Update README. Update README. Update README.
1 parent 2fba14e commit 1865b20

File tree

3 files changed

+41
-26
lines changed

3 files changed

+41
-26
lines changed

README.md

Lines changed: 36 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,55 @@
1-
# ios-sdk-watson-speaks
2-
An example application using the Text to Speech service from the Watson
3-
Developer Cloud iOS SDK.
1+
# Text to Speech Swift Starter Application
42

3+
The [Text to Speech][service_url] service uses IBM's speech synthesis capabilities to convert English or Spanish text to an audio signal. The audio is streamed back to the client with minimal delay. The service can be accessed via a REST interface.
4+
5+
Give it a try!
56

6-
### Documentation and Git Access
77

8-
You can find most information concerning the development of ios sdk for watson
9-
at the source repository available via Git; look here for details:
8+
### Documentation and Git Access
109

11-
https://github.com/watson-developer-cloud/ios-sdk
10+
You can find most information concerning the development of iOS SDK for Watson
11+
at the source repository available via Git; look at [iOS SDK Repository](https://github.com/watson-developer-cloud/ios-sdk) for details.
1212

13-
New code releases, bug fixes, and general information about the iOS Watson sdk
13+
New code releases, bug fixes, and general information about the iOS Watson SDK
1414
can be found at the above site.
1515

1616
# Setup
1717

1818
Clone this repo and add your credentials given by the Text to Speech Watson
1919
services into `Credentials.swift`.
2020

21-
Run ```carthage update --platform iOS```
21+
Run `carthage update --platform iOS` in the command line.
2222

2323
### Getting Started
2424

25-
1. Log in to Bluemix at [https://bluemix.net](https://bluemix.net) to create a
26-
service by clicking on Catalog in the website header. (Select "Watson" under
27-
Services on the left hand sidebar to narrow down the list.)
25+
1. Create a Bluemix Account
2826

29-
<img src="http://i.imgur.com/tmlSKCE.png" width="500">
27+
[Sign up][sign_up] in Bluemix, or use an existing account. Watson Services in Beta are free to use. Create a service by clicking on Catalog in the website header.
3028

31-
2. Select 'Text to Speech'
32-
1. Choose which space you want to store the service in.
33-
2. Choose the option 'Leave unbound' if you have no application you want to
34-
use the service with.
29+
2. On the new page that loads upon clicking 'Create Service,' select 'Service
30+
Credentials'
31+
3. Update the `TextToSpeechUsername` and `TextToSpeechPassword` properties in `Credentials.swift`.
32+
4. Run the following command from the home directory to ignore new changes to the `Credentials.swift` file.
3533

36-
<img src="http://i.imgur.com/Dpa4oXt.png" width="500">
34+
```sh
35+
$ git update-index --assume-unchanged Text\ to\ Speech/Credentials.swift
36+
```
3737

38-
3. On the new page that loads upon clicking 'Create Service,' select 'Service
39-
Credentials'
40-
4. Copy `CredentialsExample.swift` to `Credentials.swift`.
41-
5. Update the `TextToSpeechUsername` and `TextToSpeechPassword` properties in `Credentials.swift`.
38+
## License
39+
40+
This sample code is licensed under Apache 2.0. Full license text is available in [LICENSE](LICENSE).
41+
The sample uses jQuery which is licensed under MIT
42+
43+
## Contributing
44+
45+
See [CONTRIBUTING](CONTRIBUTING.md).
46+
47+
## Open Source @ IBM
48+
49+
Find more open source projects on the
50+
[IBM Github Page](http://ibm.github.io/).
51+
52+
[service_url]: http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/text-to-speech.html
53+
[cloud_foundry]: https://github.com/cloudfoundry/cli
54+
[getting_started]: http://www.ibm.com/smarterplanet/us/en/ibmwatson/developercloud/doc/getting_started/
55+
[sign_up]: https://apps.admin.ibmcloud.com/manage/trial/bluemix.html?cm_mmc=WatsonDeveloperCloud-_-LandingSiteGetStarted-_-x-_-CreateAnAccountOnBluemixCLI

Text to Speech.xcodeproj/project.pbxproj

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
7A261F921DDB958700B6FAFA /* TextToSpeechV1.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7A261F901DDB958700B6FAFA /* TextToSpeechV1.framework */; };
1717
7A261F981DDB968300B6FAFA /* UIViewExtensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7A261F951DDB968300B6FAFA /* UIViewExtensions.swift */; };
1818
7A261F991DDB968300B6FAFA /* VoicesTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7A261F961DDB968300B6FAFA /* VoicesTableViewCell.swift */; };
19-
7A261F9B1DDB980300B6FAFA /* Credentials.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7A261F9A1DDB980300B6FAFA /* Credentials.swift */; };
19+
CE042D371E2576BB001559FB /* Credentials.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE042D361E2576BB001559FB /* Credentials.swift */; };
2020
/* End PBXBuildFile section */
2121

2222
/* Begin PBXFileReference section */
@@ -31,7 +31,7 @@
3131
7A261F901DDB958700B6FAFA /* TextToSpeechV1.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = TextToSpeechV1.framework; path = Carthage/Build/iOS/TextToSpeechV1.framework; sourceTree = "<group>"; };
3232
7A261F951DDB968300B6FAFA /* UIViewExtensions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UIViewExtensions.swift; sourceTree = "<group>"; };
3333
7A261F961DDB968300B6FAFA /* VoicesTableViewCell.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = VoicesTableViewCell.swift; sourceTree = "<group>"; };
34-
7A261F9A1DDB980300B6FAFA /* Credentials.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Credentials.swift; sourceTree = "<group>"; };
34+
CE042D361E2576BB001559FB /* Credentials.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Credentials.swift; sourceTree = "<group>"; };
3535
/* End PBXFileReference section */
3636

3737
/* Begin PBXFrameworksBuildPhase section */
@@ -69,7 +69,7 @@
6969
children = (
7070
7A261F7C1DDB8CBE00B6FAFA /* AppDelegate.swift */,
7171
7A261F831DDB8CBE00B6FAFA /* Assets.xcassets */,
72-
7A261F9A1DDB980300B6FAFA /* Credentials.swift */,
72+
CE042D361E2576BB001559FB /* Credentials.swift */,
7373
7A261F881DDB8CBE00B6FAFA /* Info.plist */,
7474
7A261F851DDB8CBE00B6FAFA /* LaunchScreen.storyboard */,
7575
7A261F801DDB8CBE00B6FAFA /* Main.storyboard */,
@@ -180,9 +180,9 @@
180180
isa = PBXSourcesBuildPhase;
181181
buildActionMask = 2147483647;
182182
files = (
183-
7A261F9B1DDB980300B6FAFA /* Credentials.swift in Sources */,
184183
7A261F7F1DDB8CBE00B6FAFA /* ViewController.swift in Sources */,
185184
7A261F991DDB968300B6FAFA /* VoicesTableViewCell.swift in Sources */,
185+
CE042D371E2576BB001559FB /* Credentials.swift in Sources */,
186186
7A261F981DDB968300B6FAFA /* UIViewExtensions.swift in Sources */,
187187
7A261F7D1DDB8CBE00B6FAFA /* AppDelegate.swift in Sources */,
188188
);
@@ -354,6 +354,7 @@
354354
7A261F8D1DDB8CBE00B6FAFA /* Release */,
355355
);
356356
defaultConfigurationIsVisible = 0;
357+
defaultConfigurationName = Release;
357358
};
358359
/* End XCConfigurationList section */
359360
};
File renamed without changes.

0 commit comments

Comments
 (0)