CMPopTipView icon indicating copy to clipboard operation
CMPopTipView copied to clipboard

Word wrap not working

Open mworsnop opened this issue 10 years ago • 4 comments

I am not using ARC as my app is huge and haven't figured out how to convert everything, So I am using 1.3 of CMPopTip.

The demo app works fine.

I copied sections of the demo into my app and the text does not word wrap. It seems to be 1 line short. So in other words if it needed 3 lines, it only shows 2.

Any ideas?

mworsnop avatar Feb 27 '15 20:02 mworsnop

I would guess height calculations are off, the last line isn't fitting so is being truncated?

Note that you can opt-in to ARC for selected files only. That may be easier for you so you can add the latest version.

chrismiles avatar Feb 27 '15 21:02 chrismiles

Having ARC on selected files would be great. I haven’t seen anything that says how to do that? Would you mind pointing me in the right direction?  THANK YOU

On February 27, 2015 at 1:16:33 PM, Chris Miles ([email protected]) wrote:

I would guess height calculations are off, the last line isn't fitting so is being truncated?

Note that you can opt-in to ARC for selected files only. That may be easier for you so you can add the latest version.

— Reply to this email directly or view it on GitHub.

mworsnop avatar Feb 27 '15 22:02 mworsnop

I found -fno-objc-arc so disabled everything except the new stuff.  This is great maybe I can get my code updated to ARC one at a time!  On February 27, 2015 at 2:22:42 PM, Mark Worsnop ([email protected]) wrote:

Having ARC on selected files would be great. I haven’t seen anything that says how to do that? Would you mind pointing me in the right direction?  THANK YOU

On February 27, 2015 at 1:16:33 PM, Chris Miles ([email protected]) wrote:

I would guess height calculations are off, the last line isn't fitting so is being truncated?

Note that you can opt-in to ARC for selected files only. That may be easier for you so you can add the latest version.

— Reply to this email directly or view it on GitHub.

mworsnop avatar Feb 27 '15 22:02 mworsnop

Thank you again the ARC version works great! Have a great day and thanks for some cool code!

On February 27, 2015 at 2:31:31 PM, Mark Worsnop ([email protected]) wrote: I found -fno-objc-arc so disabled everything except the new stuff.  This is great maybe I can get my code updated to ARC one at a time!  On February 27, 2015 at 2:22:42 PM, Mark Worsnop ([email protected]) wrote:

Having ARC on selected files would be great. I haven’t seen anything that says how to do that? Would you mind pointing me in the right direction?  THANK YOU

On February 27, 2015 at 1:16:33 PM, Chris Miles ([email protected]) wrote:

I would guess height calculations are off, the last line isn't fitting so is being truncated?

Note that you can opt-in to ARC for selected files only. That may be easier for you so you can add the latest version.

— Reply to this email directly or view it on GitHub.

mworsnop avatar Feb 27 '15 22:02 mworsnop