pkluz / PKHUD

A Swift based reimplementation of the Apple HUD (Volume, Ringer, Rotation,…) for iOS 8.
MIT License
3.79k stars 494 forks source link

README needs update #33

Closed xissburg closed 9 years ago

xissburg commented 9 years ago

The API changed and the README still reflects the old API usage.

germanger commented 9 years ago

How is the new usage? I guess its something like PKHUD.sharedHUD.something.something?

germanger commented 9 years ago

If it helps someone:

The README now says this:

    var contentView = HUDContentView.ProgressView()
    HUDController.sharedController.contentView = contentView
    HUDController.sharedController.show()

And the way to achieve that today is this:

    var contentView = PKHUDProgressView()
    PKHUD.sharedHUD.contentView = contentView
    PKHUD.sharedHUD.show()

So, for the rest of the examples: you get the idea.

ctews commented 9 years ago

Thx @germanger for the hint, was just a lil bit confused. To save devs sanity an upgrade of the readme would be very appreciated!

androidcn commented 9 years ago

add cocoapods readme

dmyers commented 9 years ago

:+1:

ayushgoel commented 9 years ago

+1

pkluz commented 9 years ago

Resolved as of 2.2.1