I have created a custom control by inheriting the UITextField control. My requirements are to display the custom password character and when typing there should be some delay like UITextField when setting the SecureTextEntry as true. I have achieved the custom password character displaying but I am unable to achieve the second requirement. I tried to achieve the second requirement by using DispatchQueue. When typing a single character I can have some delay before it changes to password character but when typing multiple characters fastly I cant able to achieve the requirement similar to SecureTextEntry. I have attached the sample in the below link: https://github.com/Eswaran17392/CustomSamples. Anyone, please suggest me how to achieve the delay similar to SecureTextEntry.