curly braces means it’s a block type variable but what is that exactly... A block variable encapsulates code that is executed at either a different time, on a different thread, or both. In our case, the code in the block isn’t executed until the view controller leaves the Window.