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. 🤔
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!
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)
https://developer.apple.com/documentation/swiftui/view/tag(_:includeoptional:)/
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
Designing tinted and dark app icon variants is pain.
Fixing #SwiftUI randomly clipping Text without any reason by just randomly dropping `fixedSize()` in the layout hierarchy until it works 🙃 🙃
Малоизвестные фичи SwiftUI
Я уже 2 месяца прохожу обучение в онлайн-школе и у нас на этой неделе был открытый урок, нужно было подготовить доклад на тему “ Малоизвестные фичи или особенности языка Swift ” Так вот - я решила погуглить этот вопрос, подготовилась, написала код. Но когда дело дошло до самого выступления, оказалось, что говорить ртом - это не так-то и просто. Да и в целом выступать, даже в Zoom. Тем не менее, поделюсь с вами маленькими фишечками, которые я нашла. Уровень легкий, в отличие от меня там ребята подготовили нормальные доклады про SPM и пр. Я же решила начать с простых вещей, которые, тем не менее, мне были неизвестны. Надеюсь кому-то тоже окажется полезным.
https://habr.com/ru/articles/855484/
#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?
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: https://youtube.com/live/n514RXQbGLM
⏮️ Playlist so far: https://www.youtube.com/playlist?list=PLRxjf93xotuofCtaxtGOcWeuxVZYJyY-m
📲 Download Jiiiii: https://apps.apple.com/app/apple-store/id6472801548?pt=14724&ct=MastodonCCStreams&mt=8
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #Swift #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA
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!
#Jiiiii #DevStream #tvOS #visionOS #macOS #iOS #iPadOS #Anime #Swift #SwiftUI #Vapor #WebAuthn #BuildInPublic #TestFlight #PWA
Come chill with me: https://youtube.com/live/5BBVG2CSXAo
The following article has tips on working with images in SwiftUI apps:
https://bugfender.com/blog/swiftui-image/
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 #Apple frameworks, such as #SwiftUI and #UIKit. https://jobs.apple.com/en-us/details/200576722/software-developer-in-test-swift-platform-experience?team=SFTWR