For some funny reason, I been writing the same code over and over again to display alerts to the end user, I know pretty non practical but it was just some really low level function that I never thought about it until now. Here is a simple class that will save a lot time.
iOS
iOS Danish CPR Validation with Swift
The main problem to be solved is to validate danish CPR numbers before it is send it to the server to get validated and check if the person really exist, why? well why waste network data and send something that is not valid creating a waste data and time. While all this can make be …