Skip to content

Commit

Permalink
fix Example
Browse files Browse the repository at this point in the history
  • Loading branch information
Pavlo Aksonov committed Aug 19, 2015
1 parent 38d4ff0 commit 6212d4e
Show file tree
Hide file tree
Showing 14 changed files with 14 additions and 135 deletions.
Binary file removed .DS_Store
Binary file not shown.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ RCTSVG.xcodeproj/xcuserdata
RCTSVG.xcodeproj/project.xcworkspace

.npm-debug.log
.DS_Store
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
<string>https://github.com/aksonov/react-native-tableview.git</string>
</dict>
<key>IDESourceControlProjectPath</key>
<string>examples/TableViewDemo/node_modules/react-native-tableview/RCTTableView.xcodeproj</string>
<string>RCTTableView.xcodeproj</string>
<key>IDESourceControlProjectRelativeInstallPathDictionary</key>
<dict>
<key>315E056E8429F8CF8B34998964C5F52485938FC8</key>
<string>../../../../../..</string>
<string>../..</string>
</dict>
<key>IDESourceControlProjectURL</key>
<string>https://github.com/aksonov/react-native-tableview.git</string>
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<dict>
<key>SchemeUserState</key>
<dict>
<key>RCTSvg.xcscheme</key>
<key>RCTTableView.xcscheme</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
Expand Down
Binary file removed examples/.DS_Store
Binary file not shown.
2 changes: 1 addition & 1 deletion examples/TableViewDemo/.idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -515,7 +515,7 @@
"$(inherited)",
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
"$(SRCROOT)/node_modules/react-native/React/**",
"$(SRCROOT)/node_modules/react-native-tableview/**",
"$(SRCROOT)/node_modules/react-native-tableview",
);
INFOPLIST_FILE = iOS/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
Expand All @@ -532,7 +532,7 @@
"$(inherited)",
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
"$(SRCROOT)/node_modules/react-native/React/**",
"$(SRCROOT)/node_modules/react-native-tableview/**",
"$(SRCROOT)/node_modules/react-native-tableview",
);
INFOPLIST_FILE = iOS/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
Expand Down
22 changes: 0 additions & 22 deletions examples/TableViewDemo/components/ContactList.js

This file was deleted.

6 changes: 3 additions & 3 deletions examples/TableViewDemo/index.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ class TableViewExample extends React.Component {
return (
<TableView selectedValue="" style={{flex:1}} json="states" filter={`country=='${country}'`}
tableViewCellStyle={TableView.Consts.CellStyle.Subtitle}
onPress={(event) => console.log(event.nativeEvent)}>
onPress={(event) => alert(JSON.stringify(event))}>
<Item value="">All states</Item>
</TableView>
);
Expand All @@ -25,15 +25,15 @@ class TableViewExample extends React.Component {
return (
<TableView selectedValue="ES" style={{flex:1}} json="countries"
tableViewCellStyle={TableView.Consts.CellStyle.Subtitle}
onPress={(event) => console.log(event.nativeEvent)}/>
onPress={(event) => alert(JSON.stringify(event))}/>
);
}
render3(){
return (
<TableView style={{flex:1}}
tableViewStyle={TableView.Consts.Style.Grouped}
tableViewCellStyle={TableView.Consts.CellStyle.Subtitle}
onPress={(event) => console.log(event.nativeEvent)}>
onPress={(event) => alert(JSON.stringify(event))}>
<Section label="Section 1" arrow={true}>
<Item value="1" detail="Detail1" >Item 1</Item>
<Item value="2">Item 2</Item>
Expand Down
3 changes: 2 additions & 1 deletion examples/TableViewDemo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"start": "node_modules/react-native/packager/packager.sh"
},
"dependencies": {
"react-native": "^0.8.0"
"react-native": "^0.8.0",
"react-native-tableview": "^1.0.3"
}
}
99 changes: 0 additions & 99 deletions npm-debug.log

This file was deleted.

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-native-tableview",
"version": "1.0.3",
"version": "1.0.4",
"description": "Native iOS TableView wrapper for React Native",
"main": "index.js",
"scripts": {
Expand All @@ -21,7 +21,5 @@
"url": "https://github.com/aksonov/react-native-tableview/issues"
},
"homepage": "https://github.com/aksonov/react-native-tableview#readme",
"dependencies": {
"react-native": "^0.9.0"
}
"dependencies": {}
}

0 comments on commit 6212d4e

Please sign in to comment.