swiftui

Back Open Paginator
02.11.2024 22:49
ellenich (@ellenich@techhub.social)

Does anyone know how to get the tinted background like this Crouton example for your apps shortcuts? #swiftui #swift

I’m setting the ShortcutTileColor for @remainders, but it doesn’t seem to be changing anything. 🤔





Show Original Post


02.11.2024 18:42
rhysmorgan (@rhysmorgan@mastodon.social)

This change seems to have happened without anyone calling it out? It's a massive improvement to SwiftUI, because the problem was pretty much impenetrable. You just had to know that your tag type needed to match – including optionality, which goes against most other cases in Swift. Now, you get correct behaviour by default!




Show Original Post


02.11.2024 18:38
rhysmorgan (@rhysmorgan@mastodon.social)

omg, just discovered a new API that seems to have been added (and backported!) in SwiftUI for setting the tag of a view for situations like a tabItem or Picker when the Binding type is Optional, and you're ForEach-ing over non-Optional values.

Instead of having to remember the magick invocation of:

Text(flavour.rawValue).tag(Optional.some(flavour))

you can now just use:

Text(flavour.rawValue).tag(flavour)

developer.apple.com/documentat




Show Original Post


02.11.2024 17:13
edoardovicoli (@edoardovicoli@iosdev.space)

There are some issues with #SwiftUI + CoreData, I think. If I omit the ' ' in the NSPredicate I lose the List auto refresh. And no warnings in the console 😩 2 hours debugging, but I finally got it! #iosdev




Show Original Post


02.11.2024 15:13
Typ0genius (@Typ0genius@mastodon.social)

Designing tinted and dark app icon variants is pain.





Show Original Post


02.11.2024 15:03
nemecek_f (@nemecek_f@iosdev.space)

Fixing #SwiftUI randomly clipping Text without any reason by just randomly dropping `fixedSize()` in the layout hierarchy until it works 🙃 🙃

#iOSDev




Show Original Post


02.11.2024 13:42
habr (@habr@zhub.link)

Малоизвестные фичи SwiftUI

Я уже 2 месяца прохожу обучение в онлайн-школе и у нас на этой неделе был открытый урок, нужно было подготовить доклад на тему “ Малоизвестные фичи или особенности языка Swift ” Так вот - я решила погуглить этот вопрос, подготовилась, написала код. Но когда дело дошло до самого выступления, оказалось, что говорить ртом - это не так-то и просто. Да и в целом выступать, даже в Zoom. Тем не менее, поделюсь с вами маленькими фишечками, которые я нашла. Уровень легкий, в отличие от меня там ребята подготовили нормальные доклады про SPM и пр. Я же решила начать с простых вещей, которые, тем не менее, мне были неизвестны. Надеюсь кому-то тоже окажется полезным.

habr.com/ru/articles/855484/

#swiftui #xcode




Show Original Post


02.11.2024 12:44
gallaugher (@gallaugher@mastodon.world)

#YouTube content creators - I assume the answer is “no” but appreciate advice. I have two primary content topics on one educational channel - building #iOS apps in #SwiftUI and building #Maker projects with #CircuitPython (it’s flipped class content I share from my uni courses). I have a steadily growing channel of 8k subs. But every time I post on one topic I loose subs - assuming it’s a fan of the other topic. There is no easy way to “split” the channel without starting another anew, correct?




Show Original Post


02.11.2024 10:54
dimitribouniol (@dimitribouniol@mastodon.social)

Put together a robust plan for server-side account merges, and finally made original-tab authorization more secure by adding an additional button press. Tomorrow, let's implement that merge. See you then!

🔜 Tomorrow’s stream: youtube.com/live/n514RXQbGLM
⏮️ Playlist so far: youtube.com/playlist?list=PLRx
📲 Download Jiiiii: apps.apple.com/app/apple-store




Show Original Post


02.11.2024 09:03
dimitribouniol (@dimitribouniol@mastodon.social)

I'm making a seasonal anime guide app, in the open for all to experience and learn from!

Let's start thinking about merging accounts on the web!

Come chill with me: youtube.com/live/5BBVG2CSXAo




Show Original Post


01.11.2024 22:51
swiftdevjournal (@swiftdevjournal@mastodon.world)

The following article has tips on working with images in SwiftUI apps:

bugfender.com/blog/swiftui-ima

#SwiftUI




Show Original Post


01.11.2024 19:42
reedy (@reedy@mastodon.social)

We're looking for a new team member who cares deeply about testing and code quality to join us in our work supporting some of the most high profile frameworks, such as and . jobs.apple.com/en-us/details/2




Show Original Post


1 2 3 4 5 6 ...51
UP