title: Swift segue to xib file programmatically
body: <p>I need to load a xib file from a navigation bar button item. I have to do this outside the storyboard because the same button item changes depending if the user is logged in or not. It reads "Login/Register" if a user is not logged in and goes to a login xib file and if a user is logged in it reads "Add Story" and goes to a add story xib file.</p>