Giter VIP home page Giter VIP logo

braze's Introduction

Braze

A Crypto Currency App created using SwiftUI with MVVM architecture. Braze tracks live prices of crypto coins and can create mock portfolio.

Using Combine framework with Subscribers/Publishers for efficient Data loading and CoreData for Local Data Persistance.

⚠️ Note

This project contains several errors. For fixes and updates, please refer to the Braze 2.0 repository.

Features 📸

  • CoreData
  • Combine Framework
  • Light/dark mode
  • Live prices
  • User Portfolio
  • iphone and ipad support
  • MVVM architecture
  • Search Features
  • Details of Coins
  • Coin Price History

Built with ❣️ using

Xcode coingecko stackoverflow GitHub youtube Swift

ScreenShots

Home View Dark Home View Dark Portfolio View Light Portfolio View Dark Search View Light Search View Dark Search View Light Search View Light Search View Light

(back to top)

API Reference

Get all coins

  GET https://api.coingecko.com/api/v3/coins/markets?vs_currency=usd&order=market_cap_desc&per_page=250&page=1&sparkline=true&price_change_percentage=24h
Parameter Type Description
vs_currency string Required. currency format
order string valid values: market_cap_desc, gecko_desc, gecko_asc, market_cap_asc, market_cap_desc, volume_asc, volume_desc, id_asc, id_desc
per_page integer Total results per page
page integer Page through results
sparkline boolean Include sparkline 7 days data (eg. true, false)
price_change_percentage string Include price change percentage in 1h, 24h, 7d, 14d, 30d, 200d, 1y

Get details for coins

  GET /coins/{id}
Parameter Type Description
id string Required. pass the coin id (can be obtained from /coins) eg. bitcoin

Language

Swift - 100%

(back to top)

braze's People

Contributors

roynkem avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

braze's Issues

Buggy Search Bar Results Features

Description

First the required coin models are fetched and published to the View subscribers
When the user tries to search for a particular coin and text is entered in the keyboard, the "NO RESULT" View should show when the user enters unknown values.
Otherwise, the required coins List should be updated and displayed accordingly

Screenshots

Home View Dark

Files

SearchBarView
HomeViewModel
HomeView

Goal

Only show "NO RESULTS" when there are actually no coins returned

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.