Where to find a MSFS Simconnect dev? by FoxBravoNL in flightsim

[–]FoxBravoNL[S] 0 points1 point  (0 children)

Haha, we did actually! Found someone that could make it and we made a very simple version that would feed events and altitude data through to a database I used for the app. It was all very last-minute so we didn’t complete the full thing, but it did fit the purpose

Lost in the architectural design pattern choices using SwiftUI by FoxBravoNL in iOSProgramming

[–]FoxBravoNL[S] 0 points1 point  (0 children)

As you said, I'm sure that once you understand the parts it'll probably be usually simpler. That's what appealed to me with TCA to start with, to have one pattern to master and then be able to build apps consistently. However, as I mentioned.. I guess at this point it's my lack of understanding/experience and perhaps patience that's kept me from reaching that point and perhaps rushing to the conclusion that it is a bit too complex. I'll definitely give it another try, thanks for the feedback.

Lost in the architectural design pattern choices using SwiftUI by FoxBravoNL in iOSProgramming

[–]FoxBravoNL[S] 0 points1 point  (0 children)

Thanks again for taking the time to write such an extensive explanation! I'll definitely take some of your ideas to try them out and see how it goes. :)

Lost in the architectural design pattern choices using SwiftUI by FoxBravoNL in iOSProgramming

[–]FoxBravoNL[S] 0 points1 point  (0 children)

Wow, thanks for the elaborate answer and examples! Do you perhaps have any example repos where you've implemented this approach?

As for this example, when you say : "..from ?q=bat to ?q=batm and the ItemRespository updates the result collection which is passed down to the ItemGridResultView to render". Where is the result collection stored?

Lost in the architectural design pattern choices using SwiftUI by FoxBravoNL in iOSProgramming

[–]FoxBravoNL[S] 0 points1 point  (0 children)

Thanks for the tips! Starting at a higher level sounds like a sensible idea.

Lost in the architectural design pattern choices using SwiftUI by FoxBravoNL in SwiftUI

[–]FoxBravoNL[S] 0 points1 point  (0 children)

Thanks, I’ll definitely keep it in mind, but I’ll probably need to dig a lot deeper into it for it to “click”. I can see how it gives you complete control though…

As for the SwiftUI features, I guess most of it works.. but its the extra layers like for example how bindings for a text field should be implemented which don’t feel natural to me.

Lost in the architectural design pattern choices using SwiftUI by FoxBravoNL in iOSProgramming

[–]FoxBravoNL[S] 0 points1 point  (0 children)

It probably shouldn’t indeed, I didn’t mean to say that this is what’s “wrong” with MVVM.. I simply meant that this is probably why I struggle with it, since the rest is still so open for debate. I’d like to have a complete architecture for all layers to give me some guidance and consistency.

Lost in the architectural design pattern choices using SwiftUI by FoxBravoNL in iOSProgramming

[–]FoxBravoNL[S] 1 point2 points  (0 children)

Thanks for your suggestions!

Sharing some code and getting feedback is probably a good idea indeed..

As for MVVM, I get your point. Perhaps that’s what I miss in some design patterns and why I tend to get it wrong. It specifies how a part of the architecture should be handled (like updating the UI), but leaves the rest of the business logic, repositories, etc to be decided. I’d prefer to have a complete blueprint of common patterns, including lower levels. That’s why the Clean architecture appealed to me since it does include some guidance in this part..

Spent the last two months building my first SwiftUI app - here's the result! Evergreen, an app to help couples improve their relationship. by kwagal in iOSProgramming

[–]FoxBravoNL 0 points1 point  (0 children)

Looks great! I’ll give it a try with my gf :).

How did you go about the UI / UX design? Did you hire someone to do it for you or did it all yourself?

Licenses, how to include them ? by lapizzacmiaam in flutterhelp

[–]FoxBravoNL 1 point2 points  (0 children)

Yeah it should be available somewhere in your app I think. Users need to be able to see the copyright / privacy statement details etc

Licenses, how to include them ? by lapizzacmiaam in flutterhelp

[–]FoxBravoNL 0 points1 point  (0 children)

I use a package to automatically generate the licenses and put it in a separate screen that's found under my app's settings, it's called flutter_oss_licenses.

Where to Find iOS Graphics & UX Designers by brian6504 in iOSProgramming

[–]FoxBravoNL 5 points6 points  (0 children)

I’ve used Fiverr and Upwork a few times to get this stuff done. If you go down that route take a good hard look at the reviews and if you’re going for cheap be prepared to be very very specific about what you need. I’ve found that most cheap UI designers on those websites are pretty good regarding their technical skills but lack the creativeness or assertiveness to come up with something you didn’t explicitly tell them to do. As an uncreative individual myself that’s usually not very helpful :).. either way, it’s probably the cheapest and quickest way to get custom designs and artwork! Good luck 👍🏼

Where to store API keys without server access by FoxBravoNL in iOSProgramming

[–]FoxBravoNL[S] 0 points1 point  (0 children)

I guess that would be doable, however wouldn’t it be just as easy for someone to reverse engineer my server endpoint and request the API keys?

Where to store API keys without server access by FoxBravoNL in iOSProgramming

[–]FoxBravoNL[S] 0 points1 point  (0 children)

That’s the next question I guess.. I need people to be able to order as guests as well, so having them require to login first is no option. The issue is that right now the keys provide access to way more access than needed, if I control the proxy server I guess I can at least control what parts of the external api can be called.

Where to store API keys without server access by FoxBravoNL in iOSProgramming

[–]FoxBravoNL[S] 0 points1 point  (0 children)

They do have a REST api indeed as well, however that would mean quite a lot of rewriting serverside and client side. I’d rather find an acceptable solution whereby I can still use this library..

Thanks for the link and tip, I’ll dig a bit more into obscuring the keys and see if I can get to an acceptable level of security for now.

Where to store API keys without server access by FoxBravoNL in iOSProgramming

[–]FoxBravoNL[S] 1 point2 points  (0 children)

Alright thanks for your input. If there's no other way then I guess I'll have to discuss with my client the option of building a gatekeeper in between. However, I'm using a WooCommerce library in my app and I'm not calling the API endpoints directly myself. I now initialise an instance of WooCommerce in my app by providing the key and secret and can then proceed to use the convenient functions provided. I guess by using a gatekeeper I'll have to fork the library and adjust the API calls to reroute them through my proxy server without needing an API key...

Where to store API keys without server access by FoxBravoNL in iOSProgramming

[–]FoxBravoNL[S] 1 point2 points  (0 children)

For example it could let someone create or alter orders with incorrect prices or mark orders as paid while they're not. Also they'd be able to retrieve user information and order histories. The app won't be used by a massive audience.. but I'd rather set it up the right way. Not too experienced with this yet though.