Latest 1.0
Homepage https://github.com/unsignedapps/Turms
License MIT
Platforms ios 9.0
Frameworks UIKit

Turms is a limited port of TSMessages to Swift

At present, it supports only the "over navigation bar" style.

Requirements

  • iOS 9.0+
  • Xcode 7.1+

Installation

CocoaPods

CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:

$ gem install cocoapods

To integrate Turms into your Xcode project using CocoaPods, specify it in your Podfile:

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

pod 'Turms', '~> 1.0'

Then, run the following command:

$ pod install

Carthage

Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.

You can install Carthage with Homebrew using the following command:

$ brew update
$ brew install carthage

To integrate Turms into your Xcode project using Carthage, specify it in your Cartfile:

github "unsignedapps/Turms" ~> 1.0

Run carthage to build the framework and drag the built Turms.framework into your Xcode project, then follow the other instructions to setup the remaining build steps.

Usage

Some simple examples of Turms in use:

import Turms

MessageController.show(type: .Error, message: "This is a test error message.")

MessageController.show(type: .Success, title: "Title", subtitle: "Message Body", duration: .Automatic, dismissible: true)

License

Turms is released under a MIT license. See the LICENSE file for more.

Latest podspec

{
    "name": "Turms",
    "version": "1.0",
    "summary": "Turms is a limited port of TSMessages to Swift.",
    "description": "Turms is a limited port of TSMessages to Swift.nAt present, it supports only the "over navigation bar" style.",
    "homepage": "https://github.com/unsignedapps/Turms",
    "license": "MIT",
    "authors": "Rob Amos",
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/unsignedapps/Turms.git",
        "tag": "v1.0"
    },
    "source_files": "Turms",
    "resource_bundles": {
        "TurmsResources": [
            "Images.xcassets/*.imageset/*.png",
            "Images.xcassets"
        ]
    },
    "frameworks": "UIKit"
}

Pin It on Pinterest

Share This