File tree Expand file tree Collapse file tree 1 file changed +4
-25
lines changed
Expand file tree Collapse file tree 1 file changed +4
-25
lines changed Original file line number Diff line number Diff line change @@ -459,33 +459,12 @@ Only `Item`s can be edited or moved. However you can create a complex component
459459that is referenced by an Item using ` reactModuleForCell ` . You will need to do
460460several things to set this up.
461461
462- 1 . Add some lines to ` AppDelegate.m `
463- 2 . Write your view component.
464- 3 . Pass the name of your view component as a prop in your ` <TableView> `
462+ 1 . Write your view component.
463+ 2 . Pass the name of your view component as a prop in your ` <TableView> `
465464 component.
466- 4 . Create a list of ` <Item> ` s in your TableView, passing props intended for your
465+ 3 . Create a list of ` <Item> ` s in your TableView, passing props intended for your
467466 view component.
468- 5 . Register your view component as an ` App ` root view.
469-
470- #### Modifying ` AppDelegate.m `
471-
472- Add the following import statement with the other imports at the top of the
473- file:
474-
475- ``` objective-c
476- #import < RNTableView/RNAppGlobals.h>
477- ```
478-
479- Add the following two lines
480-
481- ``` objective-c
482- // Save main bridge so that RNTableView could access our bridge to create its RNReactModuleCells
483- [[RNAppGlobals sharedInstance ] setAppBridge: rootView.bridge] ;
484- ```
485-
486- just before the `self.window =` line near the bottom of the file. If you have
487- not already done so, add the header search path as shown in
488- [Getting Started](#getting-started).
467+ 4 . Register your view component as an ` App ` root view.
489468
490469### Write your cell view component.
491470
You can’t perform that action at this time.
0 commit comments