Coder Social home page Coder Social logo

periclesm / nimbus-ios Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 1.39 MB

A sample iOS app with REST API calls. Using RealmDB for caching. All code in Swift. Custom made networking for data fetching.

Ruby 0.48% Swift 99.52%
rest-api ios networking swift realmdb mvvm-architecture

nimbus-ios's Introduction

Nimbus for iOS

Nimbus is a reference application, a compendium of several techniques and architectural implementations in a test use-case on the iOS platform.

Simply put, the app:

  • Fetches data from the internet through a json REST API,
  • Parses the data into objects to be used in the app,
  • Stores the data in a caching database (Realm DB),
  • Displays the cached data in UI.

This reference app is making use of:

  • Initially started as an Obj-C project, now it has moved to Swift (there are a few Obj-C grains here and there),
  • Uses Cocoa Pods for third-party SDKs and APIs (do a pod install after cloning -- not all code is commited due to GitHub space limits),
  • Implements Realm DB to store data. Originally Core Data were used but Realm came as a replacement due to it's interoperability (see Android) and ease of use,
  • A custom Network Wrapper updated for iOS 15+ with async/await (though it's not complete to handle all network connections and calls)
  • Loose MVVM architecture (Don't expect to see codexes, canons and gospels here. I use what I see fit on a simple app such as this)
  • UIKit. Check the SwiftUI branch for... well, SwiftUI (still under development)

nimbus-ios's People

Contributors

periclesm avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.