Post

Replies

Boosts

Views

Activity

@StateObject for view owning "viewModel" to use with @Observable observation framework object
I have an issue with a View that owns @Observable object (Instantize it, and is owner during the existence) in the same notion as @StateObject, however when @State is used the viewModel is re-created and deallocated on every view redraw. In the previous models, @StateObject were used when the View is owner of the object (Owner of the viewModel as example) When @Observable object is used in the same notion, @State var viewModel = ViewModel() the viewModel instance is recreated on views redraws. @StateObject was maintaining the same instance during the View existence, that however is not happening when used @Observable with @State.
2
1
1.4k
Sep ’23
Critical Breaking Bug with Audio Units version 3 Midi Processors in Logic Pro X 10.5.1
Logic Pro X has a critical bug when using Audio Units version 3 Midi FX. The issue is very easy to reproduce: What happens: When Audio Unit v3 MIDI FX is inserted on instrument, the instrument will play and produce audio output reliably only when the instrument is currently selected track. If another track is selected, the instrument will not play even the MIDI FX Plugin is currently receiving the midi. The instrument will loose audio and will not play or the midi is not correctly passed. MIDI FX Plugins Audio Unit v3 appears 8x duplicated in Logic Pro X plugin menu This issue happens with any MIDI FX processor Audio Unit version 3
1
0
1.1k
Nov ’20
@FocusedBinding
Hello, During the talk there is a sample code using new property wrapper @FocusedBinding. Can you expand more on this topic with small example how to use this new property wrapper, there has been clear examples of @AppStorage, @StateObject, @SceneStorage however no talk expands more on @FocusedBinding. The documentation is not very clear neither. Thank you.
12
0
5.7k
Jun ’20