In a recent blog post Klaas Pieter Annema wrote about using the builder pattern in Objective-C. Inspired by his post I created two categories that bring similar functionality to NSURL and NSDate. An example: 1 2 3 4 5 NSURL *url = [NSURL URLWithBuilderBlock:^(NSURLComponents *builder) { builder.scheme = @"http"; builder.host = @"joris.kluivers.nl"; builder.path = @"/blog/2014/04/08/the-builder-pat