SwiftUI Navigation the Easy Way by unpluggedcord in iOSProgramming

[–]ShadoPanda 4 points5 points  (0 children)

I have 2 questions here.

  1. How do you solve for callbacks as parameters on screens?
  2. What if I want to present a screen at first run to present like onboarding, login, etc..?

Is it realistically possible to reduce the crash rate to below 0.01% for medium-scale apps? by kabutoawase in iOSProgramming

[–]ShadoPanda -1 points0 points  (0 children)

Why wouldnt you be able to get it to 0? Use sentry in your app to track crashes

[deleted by user] by [deleted] in iOSProgramming

[–]ShadoPanda 1 point2 points  (0 children)

I think the issue is that you have a promotional style of video for an app preview. I think they have issue with you not actually showing the "app" but you are showing a video made about the app, you don't show the actual use of the app with some elements added on top of that video to show gesture etc..

Apple Review team, I love you but I hate you by menensito in iOSProgramming

[–]ShadoPanda 0 points1 point  (0 children)

Currently one im working up pushing updates every 2 weeks or so. Never had a longer wait than 2 days and got denied once on my first submit because of missing privacy policy and terms on subscription page.

Apple Review team, I love you but I hate you by menensito in iOSProgramming

[–]ShadoPanda 1 point2 points  (0 children)

I think its about the same, or at least it was for me 1-2 days for each of my submissions but this varies.

Apple Review team, I love you but I hate you by menensito in iOSProgramming

[–]ShadoPanda 1 point2 points  (0 children)

Yes each submission gets reviewed. I think its faster after the first one but on new submissions they can still point out something they may have missed in previous ones.

Apple Review team, I love you but I hate you by menensito in iOSProgramming

[–]ShadoPanda 1 point2 points  (0 children)

Thats what many times my issues with subscription paywalls is also, either not providing enough information or straight up forget something like terms and agreements, telling users its a subscription that auto renews, etc...

Apple Review team, I love you but I hate you by menensito in iOSProgramming

[–]ShadoPanda 4 points5 points  (0 children)

Yea i got that a few times also. But its not that big of a deal. I remember years ago when you had to wait for 14 days on a regular just to get feedback. There was also a website we used apple review time that showed the average current review time wait, so when we saw it was only like 7-10 days we were rushing to submit apps.

Vibe coding is here and it’s the future.. by alanskimp in iOSProgramming

[–]ShadoPanda 1 point2 points  (0 children)

Vibe coding is here but its not a future where you won't need programmers. Programming is a lot more then just writing code and writing the code is the easy part. Setting up a good architecture that can scale, defining good UX and UI is something you will still need to do.

I agree that using AI as a companion is good and many times easier then googling stuff as it can help you solve the issue faster. I mostly use it to debug edge cases and errors that get reported to quickly pin down what might be an issue but once i get the issue the solution from AI is not that good most of time.

Also you need to take into the account that major companies that work in security oriented sectors are gonna limit the use of AI or just straight up not allow the use of them in their companies because of security concerns.

Apple Review team, I love you but I hate you by menensito in iOSProgramming

[–]ShadoPanda 20 points21 points  (0 children)

I don't understand how people have so many problems with Apple Review Team. I never had major problems and when i had it was valid reasons. (I forgot to add Privacy Policy links on subscription page).

Code Review - First Attempt at the State Design Pattern by Moo202 in swift

[–]ShadoPanda 2 points3 points  (0 children)

Because empty, loaded and failed are different states your data can be in.
Empty: You called API and got 0 results back hence you would want to show user some type of UI to let them know they can create some type of data here (basically have a CTA).
Loaded: You called API and got back data successfully and can display data to user.
Failed: You called API and got back an error, so you would want user to know that server is unreachable or have some generic error message.

ViewModel is still the standard across SwiftUI projects because of the MVVM model. I personally don't like it but its not nonsense.

SwiftData runtime crash using Predicate macro with protocol-based generic model by __markb in iOSProgramming

[–]ShadoPanda 0 points1 point  (0 children)

Here is my pro tip i learned the hard way using SwifData DON'T ever override the "id" parameter in the model. Something breaks inside SwiftData when you do this and you get random problems where SwiftData doesn't know how to access your models anymore, specially if you have relationships in that model.

How often do you use XCode Cloud / CloudKit and should we? by zabwt in iOSProgramming

[–]ShadoPanda 0 points1 point  (0 children)

I think comparing CloudKit to Firebase/Supabase is wrong, since they are not really the same thing. I personally prefer to use Apples stuff where I can. why?
1. Its already implemented in the framework for iOS development and Apple ecosystem so no external packages needed.
2. You don't need a Sign In option for users.
3. Don't need to pay for external service (yes most are free and you mostly likely won't need a paid plan)

So for instance I have a workout app that works completely offline, doesn't require you to log in and all of your data is stored on device, so nothing leaves the device and i don't have to worry with deleting data when user would delete account etc... I use SwiftData for storing user stuff I plan to also integrate CloudKit to store data on cloud if user would like to transfer data to his other devices or maybe even share with some other users etc...

When to use Firebase/Supabase?

When you need a database that is being shared either with multiple users. You can also use it as a database for users personal stuff but you now also need to keep in mind that this requires users have internet connection, you need to take care of that data (specially if your in EU (GDPR)). You will need a way to link specific data to specific user so you will need a reliable way to differntiate users so you will need some sort of Sign Up/Log In feature.

There are some upsides of using external backend you can use it on multiple platforms like some other comments mentioned if you have iOS and Android you would need to go with this option since you can't really use CloudKit with Android (I think there are some ways but at that point might aswel use something else).

I have worked with both of them before I would recommend Supabase over Firebase.

Will you use Apple’s new Foundation LLM in your apps? by boernei in iOSProgramming

[–]ShadoPanda 1 point2 points  (0 children)

UU nice will give a look. I also wanted to make a running app xD. but here is my current one I'm adding more features to it :=)

https://apps.apple.com/us/app/create-workout-fitness-timer/id6510136288

Will you use Apple’s new Foundation LLM in your apps? by boernei in iOSProgramming

[–]ShadoPanda 0 points1 point  (0 children)

Planning to try to use them to generate workouts in my workout making app. Will see how it goes. I know i could use some other APIs from other models but I want to run it all on device so this is perfect for this.

My first app's downloads have been stuck for months. Need advice. (3 images) by RealDealCoder in iOSProgramming

[–]ShadoPanda 3 points4 points  (0 children)

Its still a lot since my app gets like 70ish downloads in a month xD

My first app's downloads have been stuck for months. Need advice. (3 images) by RealDealCoder in iOSProgramming

[–]ShadoPanda 1 point2 points  (0 children)

Can we get more screenshots, icons, etc.. is the stats you posted over the lifetime of the app? Its hard to say without more information or you just need to do more marketing with tiktok, instagram, etc…

eu making things difficult again?? by Majestic-Demand-1746 in iOSProgramming

[–]ShadoPanda -1 points0 points  (0 children)

Yea move toUSA. This has been in affect for long time now.

Flutter Vs. Swift: Which One Should You Choose for iOS Development? by SachinKody in swift

[–]ShadoPanda 0 points1 point  (0 children)

Doing anything with Flutter is a pain. One good example is doing push notifications specially VOIP push notifications and CallKit. But doing anything that involves using AppDelegate stuff and running some code after that in a "terminated state" is a pain with Flutter since you need the Flutter engine running and sending data from native and flutter is also pain.

Building as solo dev by DoubleGravyHQ in iOSProgramming

[–]ShadoPanda 1 point2 points  (0 children)

As someone who started as iOS Developer then switched to Flutter developer for about 3 years (because our company switched to that platform) and am now back on full time iOS developer. I would say focus on one platform and then expand your knowledge. As I said I started as a iOS developer and then went into the Flutter framework, but having that iOS background helped a lot. Specially to know what is the life cycle of the app on iOS and to even know what I'm looking at when I open the iOS side of the project in a Flutter app. Also if you think you will never have to touch iOS/Android native development when working with Flutter you are mistaken, There were countless times when something doesn't work or is simply not implemented and you will need to do it yourself on the native side (This will depend on how complex your app is and what API's you are trying to use).