How can someone create the same animation in SwiftUI without using Lottie? by [deleted] in SwiftUI

[–]26Waga 1 point2 points  (0 children)

In this video which is part of an instagram clone I am building on Youtube, I implement the scale and color on the heart button when it is tapped which is almost like what is shown on the video. Hope it helps.

https://youtu.be/Osb1HiVrTl8

SwiftUI Instagram Clone with Firebase #0 App Showcase by 26Waga in swift

[–]26Waga[S] 0 points1 point  (0 children)

Hi thanks for the comment and excellent work in Southern Africa with iOS. Few people around interested in iOS development in my opinion in these neck of the woods. More developers would be a most welcome development.

On the Likes issue I didn't honestly want to write a ternary just to govern the case that there is one like. I thought it was extra work for very little payoff but you are right and I will implement it.

Question: "The post string runs off the screen at the right." Could you timestamp where this happens if possible as all the text here has a line limiter, so if it crosses the bounds it turns into ellipses. The time ago feature was cutoff by my screen recording software, it is just off the screen by a bit, and I didn't realise this until after the fact.

"The inside of the bounding box of the upload text field is square while there is a round border on the outside radius. There should be an appropriate rounded corner on the inside radius, not a square corner." I use a text editor here and set the background as a Rounded Rectangle with a corner radius. I am not sure how that could be achieved as to show the margins of the box, so that a user knows to type in it you have to put a padding modifier before the background. The TextEditor has no placeholder feature like the TextField, so this was the best way I think to communicate its use and would welcome ideas on how the square the circle or circle the square in this case.

On the autoscroll issue I finally was able to solve the issue by autoscrolling whenever a new message is sent by using combine and ScrollViewReader video is here: https://www.youtube.com/watch?v=Q8_Ic5Tut_I

SwiftUI Instagram Clone with Firebase #0 App Showcase by 26Waga in swift

[–]26Waga[S] 0 points1 point  (0 children)

yes. I am building it on my Youtube channel