//
//  UIWebViewNavigationType
//  Astro
//
//  Created by Mark Sandstrom on 5/29/15.
//  Copyright (c) 2015 Mobify Research and Development Inc. All rights reserved.
//

import UIKit

extension UIWebView.NavigationType {
    public var description: String {
        switch self {
        case .backForward:
            return "BackForward"
        case .formResubmitted:
            return "FormResubmitted"
        case .formSubmitted:
            return "FormSubmitted"
        case .linkClicked:
            return "LinkClicked"
        case .other:
            return "Other"
        case .reload:
            return "Reload"
        }
    }
}
