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
Post a Comment