xcode - how to push objective c view controller to swift view controller -



xcode - how to push objective c view controller to swift view controller -

in objective-c view controller need force next swift view controller, basic project - obj c, after add together swift file, xcode generate bridging-header.h, not see -swift.h file

hot force in swift view obj-c view ?

-(void)longtapindaclub:(uilongpressgesturerecognizer *)longtap { uistoryboard *storyboard = [uistoryboard storyboardwithname:@"mail" bundle:nil]; nextview *view = (nextview *) [stb instantiateviewcontrollerwithidentifier:"next"]; [nextview getidsample: _idsample]; [self.navigationcontroller pushviewcontroller:view animated:yes]; }

nextview - swift view controller

it same - using storyboard define transitions , force segue connected swift view controller. long 'next' pointing right place doesn't matter if it's swift or not.

objective-c xcode uiviewcontroller swift

Comments

Popular posts from this blog

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

mediawiki - How do I insert tables inside infoboxes on Wikia pages? -

Local Service User Logged into Windows -