Latest 0.0.1
Homepage https://github.com/akhilrajtr/PatientDetailModule
License Apache
Platforms ios 9.0
Dependencies AppModules
Authors

Overview

Patient Detail Module is an example implementation of a test module that can be addressible by its containing application using HTTP GET. The module will show a detail screen if correct parameter is passed in URL or shows an error screen.

Example

To run the example project, clone the repo, and run pod install from the directory.

Installation

PatientDetailModule is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "PatientDetailModule"

Usage

import PatientDetailModule

Add module

let moduleConnector = ModuleConnector()

override func viewDidLoad() {
    super.viewDidLoad()
    moduleConnector.mount(module: DetailModule())
}

Module accessing

guard let url = URL(string: "PatientDetail://patientDetailVC?patientID=1234") ,
      let viewController = moduleConnector.get(url: url) as? UIViewController
      else { return }

navigationController?.pushViewController(viewController, animated: true)

License

PatientDetailModule is available under the Apache license. See the LICENSE file for more info.

Latest podspec

{
    "name": "PatientDetailModule",
    "version": "0.0.1",
    "summary": "A sample PatientDetail module.",
    "description": "Patient Detail Module is an example implementation of a test module that can be addressible by its containing application using HTTP GET. The module will show a detail screen if correct parameter is passed in URL or shows an error screen.",
    "homepage": "https://github.com/akhilrajtr/PatientDetailModule",
    "license": {
        "type": "Apache",
        "file": "LICENSE"
    },
    "authors": {
        "Akhilraj Rajkumar": "https://github.com/akhilrajtr"
    },
    "source": {
        "git": "https://github.com/akhilrajtr/PatientDetailModule.git",
        "tag": "0.0.1"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source_files": "Module/**/*",
    "resources": "Asset/*.storyboard",
    "dependencies": {
        "AppModules": []
    },
    "pushed_with_swift_version": "3.0"
}

Pin It on Pinterest

Share This