Skip to content

Commit b84cf41

Browse files
authored
Merge pull request #112475 from stevemunk/quick-ios-app
Minor grammatical changes to the iOS Quickstart.
2 parents 46723dc + ac6892c commit b84cf41

File tree

1 file changed

+25
-22
lines changed

1 file changed

+25
-22
lines changed

articles/azure-maps/quick-ios-app.md

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ If you don't have an Azure subscription, create a [free account] before you begi
3535

3636
Create a new Azure Maps account with the following steps:
3737

38-
1. In the upper left-hand corner of the [Azure portal](https://portal.azure.com/) , select **Create a resource**.
38+
1. In the upper left-hand corner of the [Azure portal], select **Create a resource**.
3939

4040
2. In the _Search the Marketplace_ box, type **Azure Maps**.
4141

@@ -63,7 +63,7 @@ Once your Maps account is successfully created, retrieve the primary key that en
6363
3. Copy the **Primary Key** to your clipboard. Save it locally to use later in this tutorial.
6464

6565
>[!NOTE]
66-
> This quickstart uses the [Shared Key](azure-maps-authentication.md#shared-key-authentication) authentication approach for demonstration purposes, but the preferred approach for any production environment is to use [Azure Active Directory](azure-maps-authentication.md#azure-ad-authentication) authentication.
66+
> This quickstart uses [Shared Key authentication] for demonstration purposes, but the preferred approach for any production environment is to use [Azure Active Directory authentication].
6767
<!--
6868
> If you use the Azure subscription key instead of the Azure Maps primary key, your map won't render properly. Also, for security purposes, it is recommended that you rotate between your primary and secondary keys. To rotate keys, update your app to use the secondary key, deploy, then press the cycle/refresh button beside the primary key to generate a new primary key. The old primary key will be disabled. For more information on key rotation, see [Set up Azure Key Vault with key rotation and auditing](../key-vault/secrets/tutorial-rotation-dual.md)
6969
-->
@@ -79,7 +79,7 @@ First, create a new iOS App project. Complete these steps to create an Xcode pro
7979

8080
3. Enter app name, bundle ID then select **Next**.
8181

82-
See the [Creating a Xcode Project for an App](https://developer.apple.com/documentation/xcode/creating-an-xcode-project-for-an-app) for more help with creating a new project.
82+
See the [Creating an Xcode Project for an App] for more help with creating a new project.
8383

8484
![Create the first iOS application.](./media/ios-sdk/quick-ios-app/create-app.png)
8585

@@ -91,7 +91,7 @@ The next step in building your application is to install the Azure Maps iOS SDK.
9191

9292
![Add package dependency.](./media/ios-sdk/quick-ios-app/xcode-add-package-dependency.png)
9393

94-
2. Enter the following in the resulting dialog:
94+
2. Enter the following values in the resulting dialog:
9595
* Enter `https://github.com/Azure/azure-maps-ios-sdk-distribution.git` in the search bar that appears in the top right corner.
9696
* Select `Up to Next Major Version` in the **Dependency Rule** field.
9797
* Enter `1.0.0-pre.3` into the **Dependency Rule** version field.
@@ -115,7 +115,7 @@ The next step in building your application is to install the Azure Maps iOS SDK.
115115
* add import for the Azure Maps SDK
116116
* set your Azure Maps authentication information
117117

118-
By setting the authentication information on the AzureMaps class globally using the `AzureMaps.configure(subscriptionKey:)` or `AzureMaps.configure(aadClient:aadAppId:aadTenant:)` you won't need to add your authentication information on every view.
118+
By setting the authentication information on the AzureMaps class globally using the `AzureMaps.configure(subscriptionKey:)` or `AzureMaps.configure(aadClient:aadAppId:aadTenant:)`, you don't need to add your authentication information on every view.
119119

120120
1. Select the run button, as shown in the following graphic (or press `CMD` + `R`), to build your application.
121121

@@ -127,7 +127,7 @@ Xcode takes a few seconds to build the application. After the build is complete,
127127

128128
## Access map functionality
129129

130-
You can start customing map functionality by getting hold to `AzureMap` instance in a `mapView.onReady` handler. For a MapControl view added above, your sample `ViewController` may look the following way:
130+
You can start customizing map functionality by getting hold to `AzureMap` instance in a `mapView.onReady` handler. Once the `MapControl` view is added, your sample `ViewController` should look similar to the following code:
131131

132132
```swift
133133
class ViewController: UIViewController {
@@ -144,15 +144,10 @@ class ViewController: UIViewController {
144144
}
145145
```
146146

147-
Proceed to [Add a polygon layer to the map in the iOS SDK](add-polygon-layer-map-ios.md) for one such example.
147+
Proceed to [Add a polygon layer to the map in the iOS SDK] for one such example.
148148

149149
## Clean up resources
150150

151-
<!--
152-
> [!WARNING]
153-
> The tutorials listed in the [Next Steps](#next-steps) section detail how to use and configure Azure Maps with your account. Don't clean up the resources created in this quickstart if you plan to continue to the tutorials.
154-
-->
155-
156151
Take these steps to clean up the resources created in this quickstart:
157152

158153
1. Close Xcode and delete the project you created.
@@ -171,23 +166,31 @@ If you don't plan on continuing to develop with the Azure Maps iOS SDK:
171166

172167
See the following articles for more code examples:
173168

174-
* [Manage authentication in Azure Maps](how-to-manage-authentication.md)
175-
* [Change map styles in iOS maps](set-map-style-ios-sdk.md)
176-
* [Add a symbol layer](add-symbol-layer-ios.md)
177-
* [Add a line layer](add-line-layer-map-ios.md)
178-
* [Add a polygon layer](add-polygon-layer-map-ios.md)
169+
* [Manage authentication in Azure Maps]
170+
* [Change map styles in iOS maps]
171+
* [Add a symbol layer]
172+
* [Add a line layer]
173+
* [Add a polygon layer]
179174

180-
<!--
181-
## Next steps
175+
<!--## Next steps
182176
183177
In this quickstart, you created your Azure Maps account and created a demo application. Take a look at the following tutorials to learn more about Azure Maps:
184178
185179
> [!div class="nextstepaction"]
186180
187-
> [Load GeoJSON data into Azure Maps](tutorial-load-geojson-file-ios.md)
188-
-->
181+
> [Load GeoJSON data into Azure Maps](tutorial-load-geojson-file-ios.md)-->
182+
183+
[Add a line layer]: add-line-layer-map-ios.md
184+
[Add a polygon layer to the map in the iOS SDK]: add-polygon-layer-map-ios.md
185+
[Add a polygon layer]: add-polygon-layer-map-ios.md
186+
[Add a symbol layer]: add-symbol-layer-ios.md
187+
[Azure Active Directory authentication]: azure-maps-authentication.md#azure-ad-authentication
189188
[Azure Maps account]: quick-demo-map-app.md#create-an-azure-maps-account
190-
[subscription key]: quick-demo-map-app.md#get-the-subscription-key-for-your-account
189+
[Azure portal]: https://portal.azure.com
190+
[Change map styles in iOS maps]: set-map-style-ios-sdk.md
191+
[Creating an Xcode Project for an App]: https://developer.apple.com/documentation/xcode/creating-an-xcode-project-for-an-app
191192
[free account]: https://azure.microsoft.com/free/
192193
[manage authentication in Azure Maps]: how-to-manage-authentication.md
194+
[Shared Key authentication]: azure-maps-authentication.md#shared-key-authentication
195+
[subscription key]: quick-demo-map-app.md#get-the-subscription-key-for-your-account
193196
[‎Xcode]: https://apps.apple.com/cz/app/xcode/id497799835?mt=12

0 commit comments

Comments
 (0)