Giter VIP home page Giter VIP logo

hhfloatingview's People

Contributors

hemangshah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

hhfloatingview's Issues

Update options at run time.

Implement a way to update options at run time.

Example:

Favourite

[Show UnFavourite Icon, Other options...]

Un favorite

[Show Favourite Icon, Other options...]

Handler and Option buttons transparency according to UI requirements

So here's the case:

You have added floating view top above some descriptions so because of the space occupied by the handle button and (when open) by the option buttons we need to provide a way to developer that they can set the transparency level of these buttons.

handlerButtonTransparency | when open | when close
optionButtonsTransparency | when open | when close

Add a title to HHFloatingViewButton

Hello,

Thanks for this great repo.
I'de like to add a title to each of the options in the menu.
I tried to modify the setupUI() and updateUI() but they're not displaying. Any idea ?

Can't follow example code if I install via Pod

As I follow Installation section

If I install manually and follow example project, It works well.

If I install via cocoa pod and follow the same example project, I get this error
internal access level

When I change access level of reload and close functions to public, it works well.
change to public

@hemangshah
Please help consider change these methods accordingly. Or if you're OK with these changes, I will create PR for them.

Thanks,
Huy

How to change Handler image when we click on it

hello, I want to change background of handler when we click on it i tried this way but not working can you please help me out and also i want transparent background when we click on handler also please guid me on how to achieve that functionality.

func floatingView(floatingView: HHFloatingView, didTapHandler isOpening: Bool) {
       let configure = HHFloatingViewConfiguration()
       if isOpening == true {
           configure.handlerImage = #imageLiteral(resourceName: "closeFloting")
           configure.handlerColor = UIColor.white
           
       }
       else {
           
          configure.handlerImage = #imageLiteral(resourceName: "FloatingButton")
          configure.handlerColor = UIColor(red: 47/255.0, green: 89/255.0, blue: 246/255.0, alpha: 
       }
   }

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.