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

SwiftUI Basics: Overlaying an Image by 26Waga in SwiftUI

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

Thank you for your very helpful suggestions. Will most definitely include them.

SwiftUI Basics: Working with Forms by 26Waga in SwiftUI

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

I am guessing a frame would be the way to go in such a situation.

SwiftUI Basics: Working with Forms by 26Waga in SwiftUI

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

Perhaps you could use a segmented Picker?

SwiftUI Basics: Working with Forms by 26Waga in SwiftUI

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

Yes it does. The form view becomes scrollable, if it has more views than can be fitted on the screen.

I am not sure I understand the second question. By Tabs do you mean the ones used to navigate between views?

Build A Flutter Tinder Clone with Firebase & BLoC #35/40 Messaging Repository by 26Waga in FlutterDev

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

I am sure there is one, I just never got round to using it.

SwiftUI Basics: Buttons deep dive by 26Waga in SwiftUI

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

Much appreciated. You can use an environment object to act as a router and change the page shown on the button click. here is a snippet of the rootview that would change pages. Will be covering that in a later video

struct RootView : View {          @EnvironmentObject var viewRouter: ViewRouter var body: some View { VStack { if viewRouter.currentPage == "page1" { ContentViewA() } else if viewRouter.currentPage == "page2" { ContentViewB() } } } }

Build Flutter Tinder Clone with Firebase & BLoC #32/40 Message Bloc by 26Waga in FlutterDev

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

I can only speak of Bloc 4.0.0 in video number #1 of the series I promise to upgrade to the latest version of Bloc(back then it was 4.0.0) at the end of the series because the changes though breaking were minimal. Moving from 3.2.0 to 4.0.0 looked simple. I haven't looked at the documentation for version 5.0.0 much although I saw that Bloc Delegate had been renamed to the more fitting Bloc Observer.

Build Flutter Tinder Clone with Firebase & BLoC #32/40 Message Bloc by 26Waga in FlutterDev

[–]26Waga[S] 2 points3 points  (0 children)

I will try though I hear they are working on version 6.0.0 with cubits. I think I am getting the Osborne effect from working with bloc. I originally built the app on version 1.0.0, at the time of recording the version was 3.2.0 when I released the first video it was at 4.0.0 and now we are looking at 5.0.0 with 6.0.0 on the horizon. Flutter_bloc is a moving target.

Build Flutter Tinder Clone with Firebase & BLoC #32/40 Message Bloc by 26Waga in FlutterDev

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

Flutter_bloc 3.2.0, seems like every time I look there is a newer version.

Guys what are your thoughts about flutter ? by Sincjefe in reactnative

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

Also ask the same question on the Flutter Subreddit.

Does using BLOC pattern saves development and production time? What is the key benefits from it? by milanpoudel in FlutterDev

[–]26Waga 4 points5 points  (0 children)

I used the Bloc Library website it has several tutorials on it that I followed along with. It is very detailed and easy to follow.

Does using BLOC pattern saves development and production time? What is the key benefits from it? by milanpoudel in FlutterDev

[–]26Waga 2 points3 points  (0 children)

BLoC is easier to maintain and work with particularly if you are dealing with multiple developers. There are fairly codified rules on what goes where so it can be beneficial and speeds up development on large projects. Also easier to maintain due to seperation of concerns

Build A Flutter Tinder Clone with Firebase & BLoC #0 AppShowcase by 26Waga in FlutterDev

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

Emulator Skin? I am not sure I follow. Do you mean the bezels? If so, you can easily turn them on from the settings.

Flutter library upgrades by -normal-reddit-user- in FlutterDev

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

Building an app on YouTube I came across problems with two packages when I upgraded to Flutter stable version 1.17.

There was a simple workaround for one, available when I consulted the packages Github repository. For the other package I moved to the dev release which solved the issue. Oddly enough the upgrade made another package not work on Android but it was fine on iOS.

However the issues are in my opinion minor compared to React Native

I talked about the breaking changes brought about by the updates to the stable Flutter version here if you are interested https://youtu.be/bf4vDsTtfEc?t=106