Sam
03/27/2023, 10:18 PM@ShouldRefineInSwift
annotation making the method disappear entirely? The method disappears, but no __
-prefixed version appears (I know it won't show in autocomplete, but it produces an error if I try writing it anyway).
Currently working around by doing @ObjCName("__method")
, which is almost as good, just pollutes autocomplete.Anonymike
03/28/2023, 9:33 PM@ObjCName
properties generated by KMP Native Coroutines autocomplete at all and I get a red line as if its an error though the code compiles and works. I'll try it outside of the generated methods and see if I see the same result as you but it would be great if all my viewmodel properties actually autocompleted. I honestly don't know if its a known issue currently or if it is supposed to work with autocomplete.Sam
03/28/2023, 9:35 PMcreatePublisher(for:)
Combine function.Chris Mulder
03/29/2023, 3:11 PMWithCompletionHandler
suffix is added. You can always check the generated header file for the hidden method namesSam
03/29/2023, 3:12 PMAnonymike
03/30/2023, 12:04 PMSam
03/30/2023, 3:38 PMAnonymike
03/30/2023, 5:04 PMYou have new messages in kotlinlang (kotlinlang.slack.com)
From a thread in #ios
Sam March 30th at 8:38 AM
I always follow the “private mutable flow, public `asStateFlow()`” pattern, but yeah if I mark a flow as native I can find it in Swift just fine. In fact that’s been my only use case so far.
Open in Slack
Slack <eb-T09229ZC6-U04UNDEGHNC-kygkzquqrhitzedo47jj5h5riq@slack-mail.com?subject=Reply to thread in #ios|Reply>
Manage your notifications
Snooze them for an hour, eight hours, a day, three days, or the next week. Or, turn email notifications off. For more detailed preferences, see your account page.
Workspace name: kotlinlang
kotlinlang
Workspace URL: kotlinlang.slack.com
Email: elegant.moon7699@fastmail.com
Sign In
Our Blog | Policies | Help Center | Slack Community
©2023 Slack Technologies, LLC, a Salesforce company.
415 Mission Street, San Francisco, CA 94105
All rights reserved.