Skip to content

Commit 9b7df20

Browse files
author
Antonis Tsakiridis
authored
Merge pull request #2632 from ognjenns/master
Updated quick start for beta.5.
2 parents f2e3c56 + 1c08e8c commit 9b7df20

1 file changed

Lines changed: 17 additions & 17 deletions

File tree

restcomm/restcomm.docs/sources-asciidoc/src/main/asciidoc/sdks/restcomm-client-ios-sdk-quick-start.adoc

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Prerequisites
55
^^^^^^^^^^^^^
66
77
* Restcomm Communications Platform
8-
* Xcode 6 with at least iOS SDK 8.0 or higher
8+
* Xcode 9.0 with at least iOS SDK 10.0 or higher
99
1010
[[restcomm]]
1111
1. Restcomm
@@ -25,12 +25,12 @@ Use the existing sample iOS App, 'HelloWorld'
2525

2626
For now let's try the Hello World Sample App to get acquainted:
2727

28-
* Grab the latest Restcomm iOS SDK release from link:https://github.com/RestComm/restcomm-ios-sdk/releases[GitHub]. At the time of this writing it is 1.0.0-beta.4.2.4 and the bundle you need to download is link:https://github.com/RestComm/restcomm-ios-sdk/releases/download/1.0.0-beta.4.2.4/restcomm-ios-sdk-1.0.0-beta.4.2.4.tar.bz2[restcomm-ios-sdk-1.0.0-beta.4.2.4.tar.bz2]
28+
* Grab the latest Restcomm iOS SDK release from link:https://github.com/RestComm/restcomm-ios-sdk/releases[GitHub]. At the time of this writing it is 1.0.0-beta.5 and the bundle you need to download is link:https://github.com/RestComm/restcomm-ios-sdk/releases/download/1.0.0-beta.5/restcomm-ios-sdk-1.0.0-beta.5.tar.bz2[restcomm-ios-sdk-1.0.0-beta.5.tar.bz2]
2929
* Extract it:
3030
+
3131
[source,theme:github,toolbar:2,lang:default,decode:true]
3232
----
33-
$ tar -jxvf restcomm-ios-sdk-1.0.0-beta.4.2.4.tar.bz2
33+
$ tar -jxvf restcomm-ios-sdk-1.0.0-beta.5.tar.bz2
3434
----
3535
3636
To illustrate the SDK, first we'll be using one of the sample Apps provided in the bundle, called 'Hello World':
@@ -42,9 +42,9 @@ $ pod install
4242
Analyzing dependencies
4343
Fetching podspec for `restcomm-ios-sdk` from `../../`
4444
Downloading dependencies
45-
Installing restcomm-ios-sdk (1.0.0-beta.4.2.4)
46-
Installing sofia-sip-library (1.12.11.2)
47-
Installing webrtc-framework (14493.2)
45+
Installing restcomm-ios-sdk (1.0.0-beta.5)
46+
Installing sofia-sip-library (1.12.11.6)
47+
Installing webrtc-framework (14493.4)
4848
Generating Pods project
4949
Integrating client project
5050
Sending stats
@@ -60,12 +60,12 @@ Pod installation complete! There is 1 dependency from the Podfile and 3 total po
6060
{
6161
....
6262
self.parameters = [[NSMutableDictionary alloc] initWithObjectsAndKeys:
63-
@"bob", @"aor",
64-
@"1234", @"password",
63+
@"bob", RCAorKey,
64+
@"1234", RCPasswordKey,
6565
nil];
6666
6767
// CHANGEME: set the IP address of your RestComm instance in the URI below (or leave empty for registrar-less access)
68-
[self.parameters setObject:@"<docker ip address>:5080" forKey:@"registrar"];
68+
[self.parameters setObject:@"<docker ip address>:5080" forKey:RCRegistrarKey];
6969
7070
// initialize RestComm SDK by setting up an RCDevice
7171
self.device = [[RCDevice alloc] initWithParams:self.parameters delegate:self];
@@ -77,7 +77,7 @@ Pod installation complete! There is 1 dependency from the Podfile and 3 total po
7777
...
7878
// CHANGEME: set the number of the RestComm Application you wish to contact (currently we are using '1235',
7979
// which is the Hello World RestComm Application). Also set the ip address for your RestComm instance
80-
[self.parameters setObject:@"+1235" forKey:@"username"];
80+
[self.parameters setObject:@"+1235" forKey:RCUsername];
8181
8282
// call the other party
8383
self.connection = [self.device connect:self.parameters delegate:self];
@@ -94,7 +94,7 @@ Pod installation complete! There is 1 dependency from the Podfile and 3 total po
9494
...
9595
// CHANGEME: set the number of the RestComm Application you wish to contact (currently we are using '1235',
9696
// which is the Hello World RestComm Application). Also set the ip address for your RestComm instance
97-
[self.parameters setObject:@"+1311" forKey:@"username"];
97+
[self.parameters setObject:@"+1311" forKey:RCUsername];
9898
9999
// call the other party
100100
self.connection = [self.device connect:self.parameters delegate:self];
@@ -125,11 +125,11 @@ $ pod init
125125
[source,theme:github,toolbar:1,lang:default,decode:true]
126126
----
127127
# Uncomment the next line to define a global platform for your project
128-
# platform :ios, '9.0'
128+
# platform :ios, '10.0'
129129
130130
target 'your-target' do
131131
# Pods for your-project
132-
pod 'restcomm-ios-sdk', '>= 1.0.0-beta.4.2.4'
132+
pod 'restcomm-ios-sdk', '>= 1.0.0-beta.5'
133133

134134
...
135135
end
@@ -164,12 +164,12 @@ $ pod install
164164
// Do any additional setup after loading the view, typically from a nib.
165165

166166
self.parameters = [[NSMutableDictionary alloc] initWithObjectsAndKeys:
167-
@"bob", @"aor",
168-
@"1234", @"password",
167+
@"bob", RCAorKey,
168+
@"1234", RCPasswordKey,
169169
nil];
170170

171171
// CHANGEME: set the IP address of your RestComm instance in the URI below (or leave empty for registrar-less access)
172-
[self.parameters setObject:@"<docker instance ip>:5080" forKey:@"registrar"];
172+
[self.parameters setObject:@"<docker instance ip>:5080" forKey:RCRegistrarKey];
173173

174174
// initialize RestComm SDK by setting up an RCDevice
175175
self.device = [[RCDevice alloc] initWithParams:self.parameters delegate:self];
@@ -190,7 +190,7 @@ image:./images/Screen-Shot-2015-05-26-at-5.39.57-PM-21.png[image,width=1030,heig
190190
- (IBAction)dialPressed:(id)sender {
191191
// CHANGEME: set the number of the RestComm Application you wish to contact (currently we are using '1235',
192192
// which is the Hello World RestComm Application). Also set the ip address for your RestComm instance
193-
[self.parameters setObject:@"+1235" forKey:@"username"];
193+
[self.parameters setObject:@"+1235" forKey:RCUsername];
194194

195195
// do the call
196196
self.connection = [self.device connect:self.parameters delegate:self];

0 commit comments

Comments
 (0)