Skip to content

Teamiha/TinderDog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

39 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Tinderdog

Project based on https://dog.ceo/dog-api The user browses through different images of dogs, adds the ones he likes to the favorites gallery, and has the opportunity to find out which breeds he likes the most.

Implementation

  • MVC with interface layout code. (MVC)
  • JSON comes from dog-api upon request, from which links to the image are obtained. (URLSession)
  • When saving an image to "favorites", a link to the image is saved both in the gallery of the favorite itself and in the application's memory. (core data)
  • Favorites itself is based on TableView. There is an option to remove an image from favorites (and from the database) when you tap on it. (table view)
  • The recommendation system remembers the breeds of dogs that the user likes (regardless of their presence in favorites), and when you click on the button, it displays the name of the favorite and requests pictures of this particular breed. It is possible to clear the base by pressing the corresponding button. (core data)

ΠŸΡ€ΠΎΠ΅ΠΊΡ‚ Π½Π° основС https://dog.ceo/dog-api ΠŸΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚Π΅Π»ΡŒ просматриваСт Ρ€Π°Π·Π½Ρ‹Π΅ изобраТСния собак, добавляСт ΠΏΠΎΠ½Ρ€Π°Π²ΠΈΠ²ΡˆΠΈΡ…ΡΡ Π² Π³Π°Π»Π΅Ρ€Π΅ΡŽ ΠΈΠ·Π±Ρ€Π°Π½Π½ΠΎΠ³ΠΎ, ΠΈ ΠΈΠΌΠ΅Π΅Ρ‚ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡ‚ΡŒ ΡƒΠ·Π½Π°Ρ‚ΡŒ ΠΊΠ°ΠΊΠΈΠ΅ ΠΏΠΎΡ€ΠΎΠ΄Ρ‹ Π΅ΠΌΡƒ нравятся большС всСго.

РСализация

  • MVC с вёрсткой интСрфСйса ΠΊΠΎΠ΄ΠΎΠΌ. (MVC)
  • ΠžΡ‚ dog-api ΠΏΠΎ запросу ΠΏΡ€ΠΈΡ…ΠΎΠ΄ΠΈΡ‚ JSON, ΠΈΠ· ΠΊΠΎΡ‚ΠΎΡ€ΠΎΠ³ΠΎ Π΄ΠΎΡΡ‚Π°ΡŽΡ‚ΡΡ ссылки Π½Π° ΠΈΠ·ΠΎΠ±Ρ€Π°ΠΆΠ΅Π½ΠΈΠ΅. (URLSession)
  • ΠŸΡ€ΠΈ сохранСнии изобраТСния Π² "ΠΈΠ·Π±Ρ€Π°Π½Π½ΠΎΠ΅", ссылка Π½Π° ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΡƒ сохраняСтся ΠΊΠ°ΠΊ Π² Π³Π°Π»Π΅Ρ€Π΅Π΅ самого ΠΈΠ·Π±Ρ€Π°Π½Π½ΠΎΠ³ΠΎ, Ρ‚Π°ΠΊ ΠΈ Π² памяти прилоТСния. (CoreData)
  • Π‘Π°ΠΌΠΎ ΠΈΠ·Π±Ρ€Π°Π½Π½ΠΎΠ΅ созданно Π½Π° основС TableView. ΠŸΡ€ΠΈΡΡƒΡ‚ΡΠ²ΡƒΠ΅Ρ‚ Π²ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎΡΡ‚ΡŒ удалСния изобраТСния ΠΈΠ· ΠΈΠ·Π±Ρ€Π°Π½Π½ΠΎΠ³ΠΎ (ΠΈ ΠΈΠ· Π±Π°Π·Ρ‹) ΠΏΡ€ΠΈ Ρ‚Π°ΠΏΠ΅ Π½Π° Π½Π΅Π³ΠΎ. (TableView)
  • БистСма Ρ€Π΅ΠΊΠΎΠΌΠ΅Π½Π΄Π°Ρ†ΠΈΠΈ, Π·Π°ΠΏΠΎΠΌΠΈΠ½Π°Π΅Ρ‚ ΠΏΠΎΡ€ΠΎΠ΄Ρ‹ собак ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Ρ… Π»Π°ΠΉΠΊΠ°Π» ΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚Π΅Π»ΡŒ (нСзаивисимо ΠΎΡ‚ ΠΈΡ… наличия Π² ΠΈΠ·Π±Ρ€Π°Π½Π½ΠΎΠΌ), ΠΈ ΠΏΡ€ΠΈ Π½Π°ΠΆΠ°Ρ‚ΠΈΠΈ Π½Π° ΠΊΠ½ΠΎΠΏΠΊΡƒ Π²Ρ‹Π²ΠΎΠ΄ΠΈΡ‚ Π½Π°Π·Π²Π°Π½ΠΈΠ΅ Ρ„Π°Π²ΠΎΡ€ΠΈΡ‚Π° ΠΈ Π·Π°ΠΏΡ€Π°ΡˆΠΈΠ²Π°Π΅Ρ‚ ΠΊΠ°Ρ€Ρ‚ΠΈΠ½ΠΊΠΈ ΠΈΠΌΠ΅Π½Π½ΠΎ этой ΠΏΠΎΡ€ΠΎΠ΄Ρ‹. Π’ΠΎΠ·ΠΌΠΎΠΆΠ½ΠΎ ΠΎΡ‡ΠΈΡ‰Π΅Π½ΠΈΠ΅ Π±Π°Π·Ρ‹ Ρ‡Π΅Ρ€Π΅Π· Π½Π°ΠΆΠ°Ρ‚ΠΈΠ΅ Π½Π° ΡΠΎΠΎΡ‚Π²Π΅Ρ‚ΡΠ²ΡƒΡŽΡ‰ΡƒΡŽ ΠΊΠ½ΠΎΠΏΠΊΡƒ. (CoreData)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages