jordan0420 0 Light Poster

I am Currently teaching myself PyObjC through tutorials and then modifying them.
Now the time has come to open a second nib (addtv) and i cant for the life of me figure it out.

@objc.IBAction
    def open_(self, sender):
        addtv = AddTvControlleralloc().initWithWindowNibName_('addtv')
        addtv.showWindow_(self)
        #addtv.retain()

What i am attempting to do in this code is open a window ontop of the current window i believe it is called a modal? this window would be controlled by the AddTvController.py module.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.