[Add] DSPSDK 1.0.1.8
[CocoaPods.git] / Specs / 8 / f / 7 / PTDLoadingViewController / 1.0.0 / PTDLoadingViewController.podspec.json
blob7604821ffab8b94c5b863ac2f8063117f73f4242
2   "name": "PTDLoadingViewController",
3   "version": "1.0.0",
4   "summary": "PTDLoadingViewController implements a simple code to inform the user during loading.",
5   "description": "PTDAlertViewController is a wrapper around UIalertcontroller that displays Alerts with simple code.\n\n  Example Usages\n\n  ```swift\n  // MARK: covering all screens.\n\nlet loadingView = PTDLoadingViewController.shared\nloadingView.showLoadingIndicatorCoveringAllScreens()\n\n//disappear after 2 seconds.\nDispatchQueue.main.asyncAfter(deadline: .now() + 2.0) {\n    //hide indicator\n    loadingView.hideLoadingIndicator()\n}\n\n// MARK: above the specified view\n\nlet loadingView = PTDLoadingViewController.shared\nloadingView.showLoadingIndicatorOnView(self.view)\n\n//disappear after 2 seconds.\nDispatchQueue.main.asyncAfter(deadline: .now() + 2.0) {\n    //hide indicator\n    loadingView.hideLoadingIndicator()\n}\n\n// MARK: cancelable indicator covering all screens\nlet loadingView = PTDLoadingViewController.shared\nloadingView.showCancelableLoadingIndicatorCoveringAllScreens {\n    print(\"cancel button tapped\")\n    //hide indicator\n    loadingView.hideLoadingIndicator()\n}\n\n//disappear after 5.0 seconds.\nDispatchQueue.main.asyncAfter(deadline: .now() + 5.0) {\n    //hide indicator\n    loadingView.hideLoadingIndicator()\n}\n\n// MARK: cancelable above the specified view\nlet loadingView = PTDLoadingViewController.shared\nloadingView.showCancelableLoadingIndicatorOnView(self.view) {\n    print(\"cancel button tapped\")\n    //hide indicator\n    loadingView.hideLoadingIndicator()\n}\n\n//disappear after 5.0 seconds.\nDispatchQueue.main.asyncAfter(deadline: .now() + 5.0) {\n    //hide indicator\n    loadingView.hideLoadingIndicator()\n}\n\n// MARK: example of decorating a cancel button\nlet loadingView = PTDLoadingViewController.shared\nloadingView.cancelButton.backgroundColor = UIColor.green\nloadingView.cancelButton.layer.cornerRadius = 5\n//and so on\n  ```",
6   "homepage": "https://github.com/pontake-dev/PTDLoadingViewController",
7   "license": {
8     "type": "MIT",
9     "file": "LICENSE"
10   },
11   "authors": {
12     "pontake-dev": "pontake.dev@gmail.com"
13   },
14   "platforms": {
15     "ios": "9.0"
16   },
17   "swift_version": "4.0",
18   "source": {
19     "git": "https://github.com/pontake-dev/PTDLoadingViewController.git",
20     "tag": "1.0.0"
21   },
22   "source_files": "PTDLoadingViewController/**/*.{swift}"