Posts

Post not yet marked as solved
1 Replies
708 Views
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.
Posted
by jendakub.
Last updated
.
Post not yet marked as solved
7 Replies
4.7k Views
HelloI installed calatina and latest xcode, but i am unable to create any project with xcode. The xcode gets unresponsive everytime I want to create a new file or project. I can open existing projects but cannot create any file. Anybody gets the same issue?
Posted
by jendakub.
Last updated
.
Post not yet marked as solved
12 Replies
4.9k Views
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.
Posted
by jendakub.
Last updated
.
Post not yet marked as solved
1 Replies
927 Views
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
Posted
by jendakub.
Last updated
.
Post not yet marked as solved
1 Replies
634 Views
Currently the new addition to list has a children: {keypath} to react to child > parent state, I am unable to find a expanded state binding for list with outline support. How can I restore the expanded state in List with OutlineSupport? Will this support be added?
Posted
by jendakub.
Last updated
.
Post marked as solved
4 Replies
1.6k Views
The scene Commands are great way to create a main menu Like Project between the standard view || window menu on macOS, Is there a way to construct submenus? Currently the commands are listed in a main menu however is it possible to append a menu item that has its own submenu in SwiftUI?
Posted
by jendakub.
Last updated
.
Post not yet marked as solved
1 Replies
1k Views
The relativeWidth(:), relativeHeight(:), and relativeSize(width:height:) modifiers are deprecated. Use other modifiers like frame(minWidth:idealWidth:maxWidth:minHeight:idealHeight:maxHeight:alignment:) instead.Can anybody help with some real example???The frame parameters takes absolute values, how do I achive the same effect as with relativeWidth(0.5) setting the half of width of parent using the frame method?Thank you
Posted
by jendakub.
Last updated
.