Giter VIP home page Giter VIP logo

tiki-home-test's Introduction

Home test for Candidate

Ứng dụng từ khoá hot

Ứng dụng có một màn hình chính để thể hiện giả lập danh sách các từ khóa hot mà user tìm kiếm trên trang web thương mại điện tử Tiki.vn.

Từ khoá hot

Hot-Keyword-Photo.png

Dữ liệu từ khoá hot được lấy về từ https://tiki-mobile.s3-ap-southeast-1.amazonaws.com/ios/keywords.json 1 từ khoá hot sẽ có nội dung và hình ảnh được thể hiện giống như UI:

Padding 2 bên 16px.

Font size 14px.

Lưu ý phần hiển thị nội dung từ khoá có các rules sau:

Nếu nội dung chỉ có 1 từ thì sẽ hiển thị 1 dòng.

Nếu nội dung có nhiều hơn 1 từ thì sẽ hiển thị 2 dòng. Nội dung được align center. Nội dung từ khóa phải hiển thị đầy đủ, không bị truncate

Cần tính toán chiều rộng của vùng hiển thị nội dung sao cho chiều rộng đó là nhỏ nhất có thể.

Background color của phần nội dung được lấy theo thứ tự #16702e, #005a51, #996c00, #5c0a6b, #006d90, #974e06, #99272e, #89221f, #00345d.

Yêu cầu:

Ứng dụng được viết bằng Swift 4 trên Xcode bản mới nhất.

Tổ chức cấu trúc cho tầng networking.

Ứng viên làm bài và gửi lại link github của project.

UI đẹp và Unit Test là điểm cộng thêm.

tiki-home-test's People

Contributors

nguyenvanuyn96 avatar nguyenhunga5 avatar tridh60035-tiki avatar

Watchers

James Cloos 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.