-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Run pod install
to create Lets Do This.xcworkspace.
Working on the News Feed requires installing React Native locally.
Add the following files to the project, which are untracked in our repo:
- Lets Do This/keys.plist
- Lets Do This/Resources/Fonts/Brandon_bld.otf
- Lets Do This/Resources/Fonts/Brandon_med.otf
- Lets Do This/main.jsbundle -- Required for React Native
- We use Gitflow for branching.
- We're adhering to Ray Wenderlich's style guide.
We're using React Native to render the News Feed. The LDTNewsFeedViewController
view is set to a RCTRootView
which embeds a NewsFeedView
React Native component.
The NewsFeedView
queries the LDT News API to populate the News Feed content and render it as a React Native ListView
.
Our LDTAppDelegate
stores a global jsLocation
property that all RCTRootView
classes should use, in order to make local development easier.
To develop locally, I comment/uncomment relevant lines in LDTAppDelgate - (BOOL)application:didFinishLaunchingWithOptions:
(see inline comments). If developing locally, you'll need to run npm start
within the root directory to start the Node server.