                     statusCallback(status: .Unauthorized)
                 case .CouldNotComplete:
                     // Error ocurred.
-                    print(error!.localizedDescription, appendNewline: true)
+                    print(error!.localizedDescription, terminator: "\n")
                     // TODO: What should we return ? Use throws ?
                     statusCallback(status: .Unknown)
                 }

        var index = 0
        for button in permissionButtons {
            button.center = contentView.center
            button.frame.offset(dx: -contentView.frame.origin.x, dy: -contentView.frame.origin.y)
            button.frame.offset(dx: 0, dy: -((dialogHeight/2)-160) + CGFloat(index * baseOffset))
            
            let type = configuredPermissions[index].type
            

                    
                    let label = self.permissionLabels[index]
                    label.center = self.contentView.center
                    label.frame.offsetInPlace(dx: -self.contentView.frame.origin.x, dy: -self.contentView.frame.origin.y)
                    label.frame.offsetInPlace(dx: 0, dy: -((dialogHeight/2)-205) + CGFloat(index * baseOffset))
                    
                    index++
            })
