I\'m trying to implement the answer to this SO question. The problem is: -[drawTextInRect] is apparently not called, and setting the shadow in -[drawRect]
-[drawTextInRect]
-[drawRect]
I note that -[drawTextInRect] is called once when the UITextField loses focus. Not what I wanted.