A couple of months ago I wrote a blog post on xcconfig files. Today I got a tweet reference from James Dempsey who has taken the concept of xcconfig files adoption to a higher level by building the BuildSettingsExtractor utility app available on github. Seems like a very interesting open source project and…
Fish Shell Function for Xcode SourceKitService Crash Bug
Have you ever run into that insanely irritating SourceKitService Crash Bug in Xcode? You know the one where a splash flashes like a strobo on the screen for every character typed? Especially if you’re coding and writing tests in Swift? Turns out there is a work-around, waiting for a proper fix from…
Using xcconfig files for your XCode Project
Notice: This tutorial has not been updated to the lastest XCode and Swift release. Please forgive any errors found in the code. I plan on releasing an update but it might take a while to find the time. Please read the comments below to see highlighted changes in the syntax and…
Cocoapods and Swift Compiler Warning
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…