         self.bundle = bundle
         super.init()
         NSNotificationCenter.defaultCenter().addObserver(self,
-            selector: "appDidFinishLaunchingNotification:",
+            selector: #selector(IconMaker.appDidFinishLaunchingNotification(_:)),
             name: NSApplicationDidFinishLaunchingNotification,
             object: nil)
     }

            menu.removeItem(ii)
        }
        if "IBICSourceListOutlineView" == self.className {
            if let selectedItems = self.performSelector("selectedItems")?.takeUnretainedValue() as? NSArray,
                let outlineViewItem = selectedItems.firstObject as? NSObject where "IBICOutlineViewItem" == outlineViewItem.className {
                    if let catalogItem = outlineViewItem.performSelector("catalogItem").takeUnretainedValue() as? NSObject where catalogItem.className == "IBICAppIconSet" {
                        if let url = catalogItem.performSelector("absoluteFileURL").takeUnretainedValue() as? NSURL,
                            let smi = separatorMenuItem,
                            let imi = iconMenuItem {
                                iconSetURL = url

    }
    
    static func createIconMenuItem() -> NSMenuItem {
        let iconMenuIcon = NSMenuItem(title:"Make An App Icon", action:#selector(IconMaker.doMenuAction), keyEquivalent:"")
        iconMenuIcon.target = sharedPlugin
        return iconMenuIcon
    }
