Giter VIP home page Giter VIP logo

mcconkiee / emhint Goto Github PK

View Code? Open in Web Editor NEW
250.0 250.0 30.0 632 KB

EMHint is an iOS class group that easily adds a spotlight-like effect to a view highlighting or hinting at something that may be important on the screen.The protocols of EMHintDelegate allow users to override many of the default actions and views. Tapping the black overlay fades it away. Great for quick "how to" or tutorials in your app.

License: MIT License

Ruby 2.16% Objective-C 97.84%

emhint's People

Contributors

luugiathuy avatar mcconkiee 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  avatar  avatar  avatar  avatar  avatar

Watchers

 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

emhint's Issues

on the iPad,some error

on the iPad, I set the _hintInfo to the third tab on the bottom,but the hightspot is show some error arrow,just like the screenshot:
qq20151117-0

Spotlight needs passthrough views

As it is currently written, tapping on a control that is highlighted just dismisses the overlay--it does not allow the touch to register with the highlighted item. Some hit detection should be implemented, allowing the highlighted view to "pass through". It is confusing to focus the user on a control but not allow them to use that control.

Unwanted files in podspec

To use this component we only need 2 files: EMHint and EMHintsView. However the pod spec lists all the classes, even the ones for the example, as source files making it necessary to remove those files afterwards.

The example and the component should be separated and the pod spec should only point to the component sources.

As a workaround I'm using the following script:

#Removes unwanted EMHint files. Saves us the work of removing them from the target manually
pre_install do |installer_representation|
    installer_representation.pods.each do |pod|
        if pod.name == "EMHint"
            puts "Removing unwanted EMHint files"
            pod.source_files.each do |source_file|
                if not(source_file.to_s.end_with? "EMHint.h") and not(source_file.to_s.end_with? "EMHint.m") and not(source_file.to_s.end_with? "EMHintsView.h") and not(source_file.to_s.end_with? "EMHintsView.m")
                    FileUtils.rm_rf(source_file)
                end
            end
        end
    end
end

Example doesn't work

It bombs out with an exception:

2012-03-23 19:43:23.078 HintMakerExample[34148:f803] *** Terminating app due to uncaught exception 'No ModalView protocols', reason: 'you must at least implement a view or point '

Not Support to iOS 11

Hi
I am using your library and this is awesome library for hints. i love it but now i am stuck over here when i update my iphone to iOS 11, Hintsview is not working. Please reply asap

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.