Skip to content
mengfung.com

Programming

58 posts

My grep commands

When I search for things in my codebase I find that using the terminal and grep is usually the best option. Here is what I usually run:

 ·  1 min

Swift – Convert String to Double

Swift has conventions to convert a string into an int But for doubles, lets say you want var dblString = “5.559” converted from a string to a double....

 ·  1 min