Giter Club home page Giter Club logo

hmtextview's People

Contributors

gokhanmandaci avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hmtextview's Issues

Avoid global variables

public var hmTextViewDelegate: HMTextViewProtocol? should be moved inside HMTextView class

Error

When I click on hashtags I get error:

[default] Failed to open URL hash:0:9: Error Domain=NSOSStatusErrorDomain Code=-10814 "(null)" UserInfo={_LSLine=229, _LSFunction=-[_LSDOpenClient openURL:options:completionHandler:]}

HMTextView initialize

I try to implement HMTextView, but it initialize only when I start editing text. When I just open TextView, HMTextView doesn't initialize.

ezgif com-video-to-gif-4

How I can resolve this issue and make HMTextView initialize when I just open TextView without start typing.

How to get custom hashtag

Hello. For example, I want to every time print custom hashtag. For example, current time. But when I try to use custom value in your demo, I get no hashtag inserted. For example:

let time = "3"

@IBAction func gokhanAction(_ sender: Any) {
    self.hmTextView.addLink(time, type: .hashtag, withReplacing: true)
}

Happens nothing.

regex configuration parameter

Hello. Can you provide sample code how I can modify rerex to allow using numbers in hashtags? For some reasong I cannot use them now.

Failed to open URL hash

Hello. Thanks for your support.

I implemented all the requirments for HMTextView as it's in Example project, but when I click on hastag I get Failed to open URL hash:12:12: Error Domain=NSOSStatusErrorDomain Code=-10814 "(null)" UserInfo={_LSLine=247, _LSFunction=-[_LSDOpenClient openURL:options:completionHandler:]}

And delegate method not works in some reason. Can you help me what I can do to resolve this issue?

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.