         }
         
         button.addTarget(self, action: Selector("request\(type.rawValue)"), forControlEvents: UIControlEvents.TouchUpInside)
-
+        
         return button
     }
 

import CoreLocation
import AddressBook
import AVFoundation

public enum PermissionType: String {
    case Contacts = "Contacts"

                    setButtonUnauthorizedStyle(button)
                    button.setTitle("Denied \(type.rawValue)".uppercaseString, forState: UIControlState.Normal)
                }
            case .Photos:
                if statusPhotos() == .Authorized {
                    setButtonAuthorizedStyle(button)
                    button.setTitle("Allowed \(type.rawValue)".uppercaseString, forState: UIControlState.Normal)
                } else if statusPhotos() == .Unauthorized {
                    setButtonUnauthorizedStyle(button)
                    button.setTitle("Denied \(type.rawValue)".uppercaseString, forState: UIControlState.Normal)
                }
            }

            let label = permissionLabels[index]
