Data Detection in Swift
I have a love/hate relationship with regular expressions. I love them because they’re great for examining text to find useful information and, often, to change the text in some way. I hate them because once you get beyond basic matching, they descend into bizarre write-only code that gives me flashbacks to my days writing Perl. In extreme cases they may well endanger the universe. And so we come to one of my recent coding issues: How can I find out if a string contains a valid email address?
I have a love/hate relationship with regular expressions. I love them because they’re great for examining text to find useful information and, often, to change the text in some way. I hate them because once you get beyond basic matching, they descend into bizarre write-only code that gives me flashbacks to my days writing Perl. In extreme cases they may well endanger the universe. And so we come to one of my recent coding issues: How can I find out if a string contains a valid email address?
https://www.vaporforums.io/thread/30?utm_source=newsletter_mailer&utm_medium=email&utm_campaign=weekly
Introduction to Server Side Swift with Vapor, Part 1--Hello World (Swift 4, Xcode9)
Introduction to Server Side Swift with Vapor, Part 1--Hello World (Swift 4, Xcode9)
https://developers.soundcloud.com/blog/leveraging-frameworks-to-speed-up-our-development-on-ios-part-1
Leveraging frameworks to speed up our development on iOS - Part 1
Leveraging frameworks to speed up our development on iOS - Part 1
http://khanlou.com/2017/12/enums-and-protocols/
Enums And Protocols
Over the course of this week, a few bloggers have written about a problem — analytics events — a proposed multiple solutions to for this problem: enums, structs, and protocols. I also chimed in with a cheeky post about using inheritance and subclassing to solve this problem. I happened to have a post in my drafts about a few problems very similar to the analytics events that John proposed, and I think there’s no better time to post it than now.
Enums And Protocols
Over the course of this week, a few bloggers have written about a problem — analytics events — a proposed multiple solutions to for this problem: enums, structs, and protocols. I also chimed in with a cheeky post about using inheritance and subclassing to solve this problem. I happened to have a post in my drafts about a few problems very similar to the analytics events that John proposed, and I think there’s no better time to post it than now.