My advice around `nil` checks has a few exceptions, and this is one.  `[NSMutableString initWithString:]` will throw a failed assertion if the input string is nil, so you'll want to set a local instance of `absoluteString` first here, and bail if it's nil.