Skip to content

Building components, mostly Views, while using Mathematical functions in Swift.

License

Notifications You must be signed in to change notification settings

egzonpllana/SwiftAndMathematicalChallenges

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to iOS UI Components challenges

This repository will be showing to you some of the components that I have build during the weeknds to explore new Swift API (for me) so I don't feel bored during the weekend :)

1st Challenge: Gauge View

In this challenge, I will demonstrate how to build a gauge view, applying trigonometric functions to calculate positions and angles to build gradient path, labels position and the move logic of the gauge indicator. With this approach I will try to show the bridge between abstract mathematics and practical coding in Swift for iOS.

gaugeviewxk-preview

2nd Challenge: Airbnb Host Passport view

In this interesting challenge, we delve into creating a flippable page effect using UIKit, exploring the nuances of achieving a realistic page-turning animation. Our analysis begins with understanding the pivotal role of the anchor point in view rotations, which defaults to the center of the view. This central pivoting can lead to a card-like rotation, rather than the desired page-flipping effect.

gaugeviewxk-preview

3rd Challenge: searching for a challenge :)

About

Building components, mostly Views, while using Mathematical functions in Swift.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages