Latest 1.0.5
Homepage https://github.com/hideyukitone/AppProgress
License MIT
Platforms ios 9.0, requires ARC
Authors

AppProgress

Appleらしいローディングができます。

## CocoaPods
“`
use_frameworks!

pod ‘AppProgress’
“`

#### App Extension
App Extensionでも使えるようにするため、`UIApplication.shared.windows`から表示させるUIWindowを内部で取得せず、渡すようにしています。
“`
use_frameworks!

pod ‘AppProgressCore’
“`

## 使い方
### show
![AppProgress](https://user-images.githubusercontent.com/11258432/40573454-dc2e3208-60fc-11e8-8e0f-87952a46c10c.gif)
“`ruby
AppProgress.show()
“`

### done
![done](https://user-images.githubusercontent.com/11258432/40573722-60877890-6100-11e8-97d4-694c51161b59.gif)
“`ruby
AppProgress.done()
“`

### err
![error](https://user-images.githubusercontent.com/11258432/40573723-60ab03c8-6100-11e8-998f-ec5a34aa9024.gif)
“`ruby
AppProgress.err()
“`

### info
![info](https://user-images.githubusercontent.com/11258432/40573724-60cdba6c-6100-11e8-9f1b-42f0dbd8cffc.gif)
“`ruby
AppProgress.info()
“`

## メソッド
“`ruby
open static func set(colorType: ColorType)
open static func set(backgroundStyle: BackgroundStyle)
open static func set(minimumDismissTimeInterval: TimeInterval)

open static func show(string: String = “”)
open static func done(string: String = “”, completion: (() -> Void)? = nil)
open static func info(string: String = “”, completion: (() -> Void)? = nil)
open static func err(string: String = “”, completion: (() -> Void)? = nil)
open static func custom(image: UIImage?, imageRenderingMode: UIImageRenderingMode = .alwaysTemplate, string: String = “”, isRotation: Bool = false, completion: (() -> Void)? = nil)

open static func dismiss(completion: (() -> Void)? = nil)
“`

## License
MIT

Latest podspec

{
    "name": "AppProgressCore",
    "version": "1.0.5",
    "platforms": {
        "ios": "9.0"
    },
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "summary": "Appleu3089u3057u3044u30edu30fcu30c7u30a3u30f3u30b0u304cu3067u304du307eu3059u3002App Extensionu7528u3067u3059u3002",
    "homepage": "https://github.com/hideyukitone/AppProgress",
    "authors": {
        "hideyuki okuni": "[email protected]"
    },
    "source": {
        "git": "https://github.com/hideyukitone/AppProgress.git",
        "tag": "v1.0.5"
    },
    "source_files": [
        "AppProgress/*.{swift}",
        "AppProgress/View/*.{swift}",
        "AppProgress/Protocol/*.{swift}",
        "AppProgress/Enum/*.{swift}"
    ],
    "requires_arc": true,
    "swift_version": "4.1"
}

Pin It on Pinterest

Share This