Giter Club home page Giter Club logo

cmhtmlview's Introduction

Hey, I'm Constantine.

A human being 😉 leading software development teams at ACI Worldwide.

I believe in good people, curiosity & hard work.

Have a good day!

--
Constantine Mureev
mureev.com

cmhtmlview's People

Contributors

mureev avatar readmecritic 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

cmhtmlview's Issues

CMHTMLView may be lead to crash

Application received signal SIGSEGV
(null)
(
0 CoreFoundation 0x34e9e2bb + 186
1 libobjc.A.dylib 0x331ae97f objc_exception_throw + 30
2 CoreFoundation 0x34e9e1c5 + 0
3 iTennisforiPhone 0x000c83f5 SignalHandler + 84
4 libsystem_c.dylib 0x38c58e8b _sigtramp + 34
5 CoreFoundation 0x34e7c63b + 2138
6 myApp 0x00089c0f -[CMHTMLView prepareImagesInHtml:] + 890
7 myApp 0x00089037 __39-[CMHTMLView loadHtmlBody:competition:]_block_invoke_0 + 50
8 libdispatch.dylib 0x33b8f11f + 10
9 libdispatch.dylib 0x33b93961 + 252
10 libdispatch.dylib 0x33b93ac1 + 84
11 libsystem_c.dylib 0x38c26a11 + 360
12 libsystem_c.dylib 0x38c268a4 start_wqthread + 8
)

Is it all right?

Thanks for your CMHTMLView . It's very good.
I feel uncertain if it is all right when i load html string.
The effect screenshot is bellow
5dd3edd1-18f6-4400-9c59-d78309686742

Wich is the intended of replacing images html?

I need to add an id to my images so I can modify images styles, but I am getting my images html replaced in the prepareImagesInHtml method and it is changing the id.

What's the use of this?

CMHTMLView can't identify align

In use process discovery, CMHTMLView can't identify align="right" attribute.

For example, in CMHTMLView demo, change<img src="http://farm6.staticflickr.com/5213/5540314126_b6773ffa09_b.jpg" width="950" height="713" alt="The Apple of My Eye"> to <img src="http://farm6.staticflickr.com/5213/5540314126_b6773ffa09_b.jpg" align="right" width="950" height="713" alt="The Apple of My Eye">, add align="right", but picture still can't the right display in CMHTMLView.

UIWebview scroll size

Congratulations for the project!
Very easy to use.


I'm using the storyboard and autolayout.

After loading the html page (loadHtmlBody:), I use the htmlViewDidFinishLoad:withError: to set new value for a CMHTMLView height constraint.

When the HTML does't have images, the size of the scroll is correct.
But when images are displayed, the scroll is displayed wrong.

- (void)htmlViewDidFinishLoad:(CMHTMLView *)htmlView withError:(NSError *)error
{
    if (error) {
        htmlView.alpha = 0;
    } else {
        self.constraint.constant = htmlView.webView.scrollView.contentSize.height;

        [UIView animateWithDuration:0.2 animations:^{
            htmlView.alpha = 1;
        }];
    }
}

Is there any way to solve this problem?

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.