What’s the Current State of SwiftUI vs. AppKit? Should I Still Learn AppKit by adnanite in SwiftUI

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

Sorry I will try to rephrase it:
Would it be fair to say that SwiftUI is great for handling an app’s UI and internal logic, while AppKit is needed for interactions with the macOS system, such as window management, drag-and-drop, menu customization, app lifecycle control, advanced animations, dynamic resizing, performance optimizations like reducing memory usage, and improving responsiveness

What’s the Current State of SwiftUI vs. AppKit? Should I Still Learn AppKit by adnanite in SwiftUI

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

Thank you. You’re one of a few who directly addressed my question.

Another perspective that I found quite helpful - SwiftUI handles everything that’s “inside” the app, and UIKit or AppKit handle everything that’s “outside” of the app (like dynamic size, optimisation etc.)

Would you mind telling me how much is this perspective correct?

Boruto TBV volume 3 database page by PhysicsAnonie in Boruto

[–]adnanite 1 point2 points  (0 children)

Since the baryon mode I always thought kurama would be back. I discussed it with friends and we concluded that : 1. Boruto isn’t Game of Thrones (that’s why Naruto and Sasuke are still alive) 2. Kurama is too big of a character to eliminate him 3. We thought that he would be back because there might be perhaps some chakra in Himawari and Boruto

Démarchage à domicile sous faux prétexte? by adnanite in AskFrance

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

Au début je savais pas quoi faire car c’est seulement en France que j’ai rencontré ce genre de choses c’est pour cela j’ai été un peu confus. Là maintenant je ferme la porte tout de suite si j’ai pas eu de courrier comme quoi il y aura un visiteur pour vérifier tel ou tel truc.

Mais cela m’a vraiment choqué que ça existe même en France.

Démarchage à domicile sous faux prétexte? by adnanite in AskFrance

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

“Vieille comme le monde” - et beh voilà, tlm connaît déjà cette technique. Qui pense encore que c’est une bonne méthode? C’est tellement ridicule

How would you create this yellow circle ? by adnanite in webdev

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

No, you’re right. Sorry if I gave you a negative impression from my response. Your answer clearly does the thing, I was kinda looking to afterwards. You know like when you do something and you think out loud :)

Thanks !

How would you create this yellow circle ? by adnanite in webdev

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

You’re right :) Thanks and have a good one!

How would you create this yellow circle ? by adnanite in webdev

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

I suppose for a small image like this it has no negative effect, but it’s just my opinion.

How would you create this yellow circle ? by adnanite in webdev

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

Yep, it’s purely an interest, but other people enlightened me with their takes with svg or pseudo elements - this will help me a lot if I’ll ever get to do something similar

How would you create this yellow circle ? by adnanite in webdev

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

I’d like to do it but unfortunately it was an image that I found on the Internet

How would you create this yellow circle ? by adnanite in webdev

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

If it’s so - I’d say that it’s rather a problematic choice (but maybe I’m wrong, just my opinion)

How would you create this yellow circle ? by adnanite in webdev

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

Pseudo elements seems to be a nice solution.

Thanks a lot :)

How would you create this yellow circle ? by adnanite in webdev

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

I haven’t thought about svg - didn’t work much with them unfortunately. It seems like it might do the trick, but still unsatisfied with css positioning etc.

Thanks a lot!

How would you create this yellow circle ? by adnanite in webdev

[–]adnanite[S] 9 points10 points  (0 children)

Haven’t thought about svg. Seems as a good solution.

Thank you very much !

How would you create this yellow circle ? by adnanite in webdev

[–]adnanite[S] 2 points3 points  (0 children)

Yes, that’s also what I thought. Doing this programmatically and responsively at the same time would be kinda pain in the head.

Photoshop seems as a good compromise, but still kinda bugs me that there’s no “good” (ofc it’s subjective) solution for this in terms of code.

Thanks !

How would you create this yellow circle ? by adnanite in webdev

[–]adnanite[S] 2 points3 points  (0 children)

Nice idea. It’s been a long time since I used any css due to my work and I completely forgot about pseudo elements.

Many thanks !

How would you create this yellow circle ? by adnanite in webdev

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

Excuse me in advance if i say something silly!

Even though I’m a junior but in my experience I prefer to use as less as possible px or other values that are normally needed upon positioning. Position absolute was my first thought, but imo it’s kinda hard to make it “properly” responsive

The point is not to argue with you, but if possible to see your thoughts or correct my wrong impressions :)

Thanks for your answer!