Skip to content

Librari/FeedRead

 
 

Repository files navigation

FeadReed

This is a sample project to demonstrate a clean architecture approach for sharing code between Android and iOS. j2objc is used to translate the project's core Java module and it's unit tests into Objective-C.

The features are intentionally contrived for proof of concept. Here is the central user story:

As a mobile user I want to provide an RSS URL and see a list of the articles.

- Title and date should be displayed for each article
- Selecting the title opens the web link in a browser.
- Limit the list to a maximum of 5 articles

Run tests

To execute the core unit tests: ./gradlew core:test

To execute the data integration tests: ./gradlew data:test

j2objc output

To generate Objective-C files for the core module

  1. set your j2objcHome path in the core build.gradle
  2. run ./gradlew core:j2objcCompile
  3. find the generated files in ./core/build/j2objc

About

Demonstrates a clean architecture approach for sharing code between Android and iOS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 98.3%
  • Java 1.7%