Skip to content

Refactoring codebase of the Twilio Voice Swift Quickstart for iOS

License

Notifications You must be signed in to change notification settings

SKrotkih/TwilioCallKitQuickstart

Repository files navigation

Twilio logo

Twilio Voice Quickstart

Twilio Voice Quickstart is a refactored codebase from the Twilio Voice Quickstart for iOS project.

Requirements

  • Xcode 13+
  • Swift 5

Introduction

Instalation

Download or clone the repository. Open TwilioQuickstart.xcworkspace in Xcode. There are two projects:

  • TwilioUiKitQuickstart - main view controller implemented with UIKit (storyboard)
  • TwilioSwiftUiQuickstart - same functionality as previous one but content view of main view controller implemented with SwiftUI.

Both projects use twilio-voice-ios-adapter - SPM package with refactored Twilio Voice Quickstart for iOS project.

To start using this code you should get an access token. Implement TwilioAccessTokenFetcher in TwilioVoicePackage for that. Read TwilioVoicePackage/README.md. Study original description Twilio Voice Quickstart for iOS.

Combine, SwiftUI, Concurrency

In the project developemnt were used SwiftUI, Combine and Concurrency Swift.

The Redux pattern

The app uses Redux pattern.

Changes history:

  • 12-22-2022 - redesigned for the current Twilio code base
  • 01-07-2023 - added TwilioSwiftUiQuickstart project with SwiftUI implementation
  • 01-09-2023 - created SPM package twilio-voice-ios-adapter

Releases

No releases published

Packages

No packages published

Languages