After my recent switch over to Mac as my main laptop for O365 / SharePoint development, Finally I got an IOS native app running using the O365 IOS SDK and Swift. Nearly after 15 years of development using Microsoft Technologies and Tools, the mobile app development using XCode and Swift rekindles my memory of learning the Object Oriented Programming using C and C++.
Referenced Article:
- Office 365 IOS Apps using Swift - Sahil Malik - This article contains the step by step details about using O365 SDKs within the IOS app using Swift.
- O365 SDKs - GitHub - Contains the full list of O365 SDKs for files, onenote, exchange etc.
- Using the Office 365 Unified API in ASP.Net MVC - Vardhaman - This article explains how to register an app with the Azure AD to access the unified api.
Step 1 : Register the app on the Azure AD
Step 2: Create a Single View application in the XCode
Step 3 : Setup the Pod file to install the following
-
pod 'ADALiOS', '~> 1.2.2'
- pod 'Office365', '~> 0.9.1' (The previous versions does not have the unified api end point).
- run "pod install" on the terminal or "pod update" if you want to upgrade to the latest. (The below screen shot shows the output of the update - because I installed the old version first and updated to the latest).
Step 4: Create the Header file as below
- Include the ADAuthenticationContext.h, office365_odata_base.h and office365_graph_sdk.h (graph - unified api)
Step 5: Initialise the Azure AD app details
Step 6: Initialise the Authentication Context
by Balamurugan Kailasam via Everyone's Blog Posts - SharePoint Community
Swift is a robust and intuitive programming language created by Apple for building apps.Employ the service of Volive developer and lets turn your app into someone great ahead of other competitors with the use of Swift.
ReplyDeleteswift Mobile app Development