Alan Kinnaman

Results 10 comments of Alan Kinnaman

This sounds similar to our issue where our company name, hearTV, is being rendered as "Hear TV" in category headings. This seems to be related to https://github.com/gilbitron/Raneto/issues/66.

I think this is being caused by the `dasherize` function being called in the core: https://github.com/gilbitron/Raneto-Core/blob/master/lib/raneto.js#L47

I second this. For our support documentation, our company name, hearTV, is being rendered as "Hear TV".

You might try creating a custom view for your subtitle and setting this view for the callout's `subtitleView` property. For example (in Swift): ```Swift let customSubtitleView = UILabel(frame: .zero) customSubtitleView.numberOfLines...

This hasn't been tested, but here's what the equivalent in Objective-C should be: ```objc UILabel *customSubtitleView = [[UILabel alloc] initWithFrame:CGRectZero]; customSubtitleView.numberOfLines = 2; customSubtitleView.text = @"Line 1\nLine 2"; SMCalloutView *myCalloutView...

Can you post the portion of code where you're creating the callout and setting the subtitle view?

Maybe try setting a larger size instead of `CGRectZero` when creating the subtitle: ```objc UILabel *customSubtitleView = [[UILabel alloc] initWithFrame:CGRectMake(0, 0, 50, 30)]; ``` (The sizes I used here are...

What happens if you call `sizeToFit` on the subtitle? ```objc [customSubtitleView sizeToFit]; ```

Another thing you could try is wrapping your subtitle view in another view. According to the documentation in SMCalloutView.h: > wrap your view in a "generic" `UIView` if you do...

That will work, but I've found it's usually a good idea to keep third-party libraries unmodified so that they can be easily replaced with a newer version in the future....