I have a UI label say "ABCDEFGH". In iPhone 6 etc wider devices I can show the complete text. In small screen devices like iPhone 5, I see text as "ABCD...". I want the following:

if(complete text can be shown) 
{
    // show UILabel with text
} else // if text can not fit in, "ABCD..." case 
{    
    // hide the UILabel
}


How can I do this?


Question: Long rest regains half hit dice - round up or down?
Answer: The general rule is to round down, so you round down.

Unless you are told otherwise in the rules, D&amp;D always mandates you round down. The Long rest section has no such exception (the only exception I've seen so far is for the wizard's spell recovery)

v.2 of BD&amp;D now includes language that indicates a minimum of 1 HD is recovered during a long rest.


  The character also regains spent Hit Dice, up to a number of dice equal to half of the character’s total number of them (minimum of one die). (p 67)