Post

Replies

Boosts

Views

Activity

Xcode 15 Beta 7 1. In expansion of macro '_PersistedProperty' here
My Code was working fine with Beta 6. After updating Beta 7. it throws following error Return from initializer without initializing all stored properties @Model public class Product { public var id:UUID public var name: String //relationship public var category:Category! //1. In expansion of macro '_PersistedProperty' here public init(id:UUID, name: String){ self.id = id self.name = name }
1
0
814
Aug ’23
ScrollView cause Evaluating dispatch of UIEvent:
Why ScrollView shows event logs in console. ScrollView { VStack(alignment: .leading, spacing:0) { HStack{ Text("ScrollView Testing").font(.largeTitle) Spacer() } } } code-block # Logs `Evaluating dispatch of UIEvent: 0x600003909ad0; type: 0; subtype: 0; backing type: 11; shouldSend: 1; ignoreInteractionEvents: 0, systemGestureStateChange: 0` Is this behavior normal or something messing up with UIEvent ? I am new bee with ScrollView.
0
0
759
Aug ’23
The model configuration used to open the store is incompatible with the one that was used to create the store.
I have deleted the app and try to run the Xcode project again. How can I remove this error ? Thread 1: Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=NSCocoaErrorDomain Code=134020 "The model configuration used to open the store is incompatible with the one that was used to create the store." UserInfo={NSAffectedObjectsErrorKey=<NSManagedObject: 0x6000021c5310>
2
1
1.5k
Jul ’23
Swift Chart LineMark create chart each time different
Hi There, Same data shows different line drawing. What I am missing here ? Each time I click to see chart, its drawing is different. Chart{ ForEach(data) { series in ForEach(series.data){ entry in LineMark( x: .value("Day", entry.day), y: .value("Amount", entry.amount) ) .foregroundStyle(by: .value("Doc", series.Doc)) .symbol(by: .value("Doc", series.Doc)) PointMark( x: .value("Day", entry.day), y: .value("Sales", entry.amount) ) .foregroundStyle(.purple) .symbolSize(symbolSize) } .lineStyle(StrokeStyle(lineWidth: lineWidth)) } } .chartLegend(position: .top) .chartYScale(domain: .automatic(includesZero: false)) .chartXAxis { AxisMarks(values: .automatic(roundLowerBound: false, roundUpperBound: false)) { value in if value.index < value.count - 1 { AxisValueLabel() } AxisTick() AxisGridLine() } }
2
0
1.6k
Jul ’23
XCode 15 dyld[879]: Symbol not found: _$s21DeveloperToolsSupport17UVPreviewRegistryCMn
While running app on mac or ipad, i get following error dyld[879]: Symbol not found: _$s21DeveloperToolsSupport17UVPreviewRegistryCMn Referenced from: /private/var/containers/Bundle/Application/EE11D387-C205-4752-82AC-823056F5DC4F/MyApp.app/MyApp Expected in: <47E42B18-0D71-31F2-98EA-51B5CBAB1549> /System/Library/Frameworks/DeveloperToolsSupport.framework/DeveloperToolsSupport
7
2
3.3k
Jun ’23