Swift-based version of JVFloatLabeledTextField