8 MONTHS AGOย โ€ขย 1 MIN READ

How to check if a string is a full of spaces ๐Ÿค”

profile

Think Different

iOS Engineer sharing weekly Swift tips that work in production, plus insights on personal growth and tech innovation. This newsletter is not just for iOS but for all the visionaries who dare to think differently - the ones who believe their code can change the world. ๐ŸŒ

โ€‹

Tip of the Day

Recently, I had a problem where the user can skip a certain text filed after write only spaces in the text filed so I came up with this code to check if the string is only white space and at this point consider this as empty:

From Community


โ€‹Unsubscribe ยท Preferencesโ€‹

Think Different

iOS Engineer sharing weekly Swift tips that work in production, plus insights on personal growth and tech innovation. This newsletter is not just for iOS but for all the visionaries who dare to think differently - the ones who believe their code can change the world. ๐ŸŒ