Posts

Post not yet marked as solved
1 Replies
0 Views
It is most likely caused by: renderer.lineWidth = 0.7 Try... renderer.lineWidth = 1 ...and see if that fixes it.
Post not yet marked as solved
1 Replies
0 Views
In the Preview, you need to pass a "scannedCode" to your "PageThree" struct. Try this: struct PageThree_Previews: PreviewProvider { static var previews: some View { PageThree(scannedCode: "some text...") } }
Post marked as solved
1 Replies
0 Views
From the Xcode 14 Beta Release Notes Xcode 14 beta requires a Mac running macOS Monterey 12.4 or later. Some features require Apple silicon, but Xcode 14 itself does not.
Post marked as solved
2 Replies
0 Views
Try something like this, to get started: struct TabScreen: View { var body: some View { TabView() { Text("HomeScreen") .tabItem { Image(systemName: "house") Text("Home") } Text("NotificationsScreen") .tabItem { Image(systemName: "bell") Text("Notifications") } Text("ExploreScreen") .tabItem { Image(systemName: "binoculars") Text("Explore") } Text("ProfileScreen") .tabItem { Image(systemName: "person") Text("Profile") } } } }
Post not yet marked as solved
1 Replies
0 Views
On App Store Connect, under Users and Access: Having set the "Role" for a developer, you can set the "Apps" that they have access to. This can be: All Apps or one or more specific apps (which you can choose from a drop-down list) Of course, the Apple account itself, and the Account Holder role, should be under your control. For the "Developer" role, you may need to add additional permissions such as "Access to Certificates, Identifiers and Profiles", depending on how you manage the app. A full list of permissions for each role is shown, on tapping the role.
Post marked as solved
2 Replies
0 Views
You mean a TabView?
Post marked as solved
1 Replies
0 Views
It looks like having both axes in your ScrollView is forcing the content to the center. Removing .horizontal sends it to the top. So as a possible fix (here's a minimal example), try: var body: some View { ScrollView(.horizontal, showsIndicators: true) { ScrollView(.vertical, showsIndicators: true) { ZStack { Text("content appears at top") } } } }
Post not yet marked as solved
4 Replies
0 Views
Should it be Memo1.string.length - 1 ?
Post not yet marked as solved
5 Replies
0 Views
You are talking about NOT With a Swift Bool, you can use toggle()
Post marked as solved
2 Replies
0 Views
DateFormatter is now threadsafe, but creating one is quite expensive. You certainly shouldn't be creating one every time you call logToFile! So you might try using an extension, like this: extension DateFormatter { static let myFormatter: DateFormatter = { let formatter = DateFormatter() formatter.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSS" formatter.timeZone = TimeZone(secondsFromGMT: TimeZone.current.secondsFromGMT()) formatter.locale = Locale(identifier: "en_US_POSIX") return formatter }() } (Give it a more meaningful name, of course) Then in your logToFile, you can use it like this: let localDate = DateFormatter.myFormatter.string(from: Date()) This will be more efficient, and should fix your issue.
Post not yet marked as solved
1 Replies
0 Views
What Edit Menu?
Post marked as Apple Recommended
0 Views
It's Betas all the way down. Ventura > Xcode 14 > iOS 16
Post not yet marked as solved
3 Replies
0 Views
The future does not look good for Intel Macs, Looking at the rate they are being dropped from macOS Ventura support. Some Ventura features are also exclusive to Apple Silicon Macs.
Post marked as solved
4 Replies
0 Views
The line: public func storeFaveArtwork(artwork) { does not make sense. I would expect something like: public func storeFaveArtwork(artwork: Artwork) {