I ran into an irritating problem with a project using CocoaPods. The codebase is written to a major part in Obj-C, but I’ve started initiating new code in Swift. I got these irritating Swift Compiler warnings that I had to add the frameworks for SystemConfiguration and MobileCoreServices . I was prompted to add…
Swift enum for sorting
Ok, so Swift is the new kid on the block. I love the new enums, and the fact that methods now can return tuplets (multiple return values). A cool example is a pull down meny with four buttons for sorting a table with contacts. Say you want to be able to sort…