three20 TTTextBarController semantic error ios 6 -


i'm having semantic issues tttextbarcontroller.m

the error relates 2 lines. both of relate read:

property 'viewcontroller' not found on object of type uiview * 

happening on these lines

 - (void)texteditordidendediting:(tttexteditor*)texteditor {   uiviewcontroller* controller = self.view.viewcontroller;   [controller.navigationitem setrightbarbuttonitem:_previousrightbarbuttonitem animated:yes];   tt_release_safely(_previousrightbarbuttonitem); 

and here:

    (void)texteditordidbeginediting:(tttexteditor*)texteditor {   [self retain];    _origintop = self.view.top;    uiviewcontroller* controller = self.view.viewcontroller;   _previousrightbarbuttonitem = [controller.navigationitem.rightbarbuttonitem retain]; 

how resolve this. appreciated.

i know it's not answer you're looking for, should think of stop using three20. it's old library, , it's been officially discontinued.


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

c# - must be a non-abstract type with a public parameterless constructor in redis -

ajax - PHP/JSON Login script (Twitter style) not setting sessions -