Tapslash

The Tapslash Developer Hub

Welcome to the Tapslash developer hub. Here you'll find comprehensive guides and documentation to help you start working with the SDK(s) as quickly as possible, as well as support if you get stuck slong the way. Let's jump right in!

Get Started    

Install the SDK

Tapslash can be installed into your application via CocoaPods or by directly importing the source code files.

CocoaPods Installation

CocoaPods provides a simple, versioned dependency management system that automates the tedious and error prone aspects of manually configuring libraries and frameworks. You can add Tapslash to your project via CocoaPods by doing the following:

$ sudo gem install cocoapods
$ pod setup

Now create a Podfile in the root of your project directory and add the following:

platform :ios, '8.0'
source 'https://github.com/CocoaPods/Specs.git'
use_frameworks!

target 'MyApp' do
 pod 'SlashSDK', :git => 'https://github.com/tapslash/slash-ios-sdk.git'
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    target.build_configurations.each do |config|
      config.build_settings['SWIFT_VERSION'] = '3.0'
    end
  end
end

Complete the installation by executing:

$ pod install

These instructions will setup your local CocoaPods environment and import Tapslash into your project.

Please note that Tapslash was written in Swift 3.0, which means you'll need to use at least Xcode 8.0 to properly install the SDK. The minimum iOS version the SDK supports is iOS 8.0.

Permissions

Certain services require user permission to access location and photos. As of iOS 10, developers need to add the following privacy keys to the Info.plist in order to request these permissions.

NSLocationWhenInUseUsageDescription
NSPhotoLibraryUsageDescription

Permissions are handled automatically by the Tapslash SDK. When a permission is needed for a service, an SLKPermissionView will show in the place of search results asking the user to allow access. For custom permission views, subclass SLKPermissionView.

Install the SDK