P. P1 {margin: 0.0px 0.0px 0.0px; line-Height: 2020.px; Font: 14.0px consolas; color: # ff605d}
P. P2 {margin: 0.0px 0.0px 0.0px; line-Height: 2020.px; Font: 14.0px las; color: #101010}
P. P3 {margin: 0.0px 0.0px 172.16px 0.0px; line-Height: 23.0px; Font: 172.16px 'helvetica Neue light '}
Span. S1 {color: #101010}
Span. S2 {color: # b9bdb6}
Span. S3 {color: #0154a6}
Table. T1 {border-collapse: Collapse}
TD. TD1 {width: 368.0px; padding: 0.0px 0.0px 0.0px 5.0px}
TD. td2 {width: 392.0px; padding: 0.0px 0.0px 0.0px 5.0px}
[Map from: @ "TT: // menu/(initwithmenu :)/(page :)" |
Tosharedviewcontroller: [menucontroller class]; |
Opening "TT: // menu/1/5" will call
[[Menucontroller alloc] initwithmenu: 1 page: 5] |
The input parameters are automatically mapped to the Data Type of the method.
However, in the official example, only auto- ing enumeration and nsstring data types are provided. How can this problem be mapped?
Initialize a uiviewcontroller and Input Multiple object parameters.
P. P1 {margin: 0.0px 0.0px 0.0px 0.0px; Font: 11.0px Menlo; Min-Height: 13.0px}
P. P2 {margin: 0.0px 0.0px 0.0px 0.0px; Font: 11.0px Menlo}
P. P3 {margin: 0.0px 0.0px 0.0px 0.0px; Font: 11.0px Menlo; color: # 2e595d}
P. P4 {margin: 0.0px 0.0px 0.0px 0.0px; Font: 11.0px Menlo; color: # d62c24}
P. P5 {margin: 0.0px 0.0px 0.0px 0.0px; Font: 11.0px Menlo; color: # 40207c}
Span. S1 {color: #4b8186}
Span. S2 {color: # 2e595d}
Span. S3 {color: #743fa4}
Span. S4 {color: # 40207c}
Span. S5 {color: #000000}
Span. S6 {color: # d62c24}
Span. S7 {color: # c02d9d}
Ttnavigator * navigator = [ttnavigator navigator];
Navigator. Window = [[uiwindow alloc] initwithframe: [uiscreen mainscreen]. bounds];
Navigator. persistencemode = ttnavigationmodenone;
Tturlmap * map = navigator. urlmap;
[Map from: @ "TT: // testviewcontroller/(initwithname :)" toviewcontroller: [testviewcontroller class];
Nsarray * AR = [[nsarray alloc] initwithobjects: @ "1", nil] autorelease];
[Navigator openurlaction: [[tturlaction actionwithurlpath: @ "TT: // testviewcontroller/diyago"] applyquery: [nsdictionary dictionarywithobject: Ar forkey: @ "Ar"];
[Navigator restoreviewcontrollers];
He will look for the-(ID) initwithname :( nsstring *) name query :( nsdictionary *) array; function in testviewcontroller. Fixed.
P. P1 {margin: 0.0px 0.0px 0.0px 0.0px; Font: 11.0px Menlo}
Span. S1 {color: # c02d9d}
Span. S2 {color: #743fa4}