Latest 1.2.0
Homepage https://github.com/dyljqq/DJHUD
License MIT Licensed under the Apache License, Version 2.0 (the “License”);
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an “AS IS” BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Platforms ios 9.0
Authors

A simple swift HUD framework.It is refer to a github project named PKHUD

Usage

Default type is Success.

HUD.flash() 
or
HUD.flash(.Success)

And it is also very simple for you to use the view single, for example:

If you have a variable is a DJActivityIndicatorType type, and then:

let type: DJActivityIndicatorType = .NineDots
let view = type.contentView

Integrate

Now it is support pod, and very easy for you to integrate this framework to your project like this way:

Use pod:

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

target 'Your project name' do

pod 'DJHUD', '~> 1.1.3'

end

Type

It has ten types of activity indicator, there are type names:

case Success
case Error
case Progress

// ActivityIndicatorType
case NineDots
case TriplePulse
case FiveDots
case RotatingSquare
case DoubleBounce
case BallPulse
case BallRotateClip
case BallClipRotatePulse
case BallRotateMultiple
case BallRotate
case BallTriaglePath
case BallScale
case LineScale
case LineScaleParty
case BallScaleMultiple

ScreenShot

DJHUD
DJHUD

Latest podspec

{
    "name": "DJHUD",
    "version": "1.2.0",
    "summary": "A HUD for swift project...",
    "description": "u8f7bu91cfu7ea7u7684HUDu5b9eu73b0u5e93uff0cu7b80u5355u6613u7528...u6a21u4effu7684PKHUD",
    "homepage": "https://github.com/dyljqq/DJHUD",
    "license": {
        "type": "MIT",
        "text": "    Licensed under the Apache License, Version 2.0 (the "License");n    you may not use this file except in compliance with the License.n    You may obtain a copy of the License atnn    http://www.apache.org/licenses/LICENSE-2.0nn    Unless required by applicable law or agreed to in writing, softwaren    distributed under the License is distributed on an "AS IS" BASIS,n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.n    See the License for the specific language governing permissions andn    limitations under the License.n"
    },
    "authors": {
        "u4e1cu65b9u5b9cu73b2": "[email protected]"
    },
    "platforms": {
        "ios": "9.0"
    },
    "source": {
        "git": "https://github.com/dyljqq/DJHUD.git",
        "tag": "1.2.0"
    },
    "source_files": "DJHUD/Class/**/*.{c,h,hh,m,mm,swift}",
    "exclude_files": "Classes/Exclude"
}

Pin It on Pinterest

Share This