MagnificationGesture or MagnifyGesture
Which ru supposed to use? Magnification Gesture is deprecated and MagnifyGesture is IOs17 only
Single Line text detection with DataScannerViewController
Anybody know how to use the DataScannerViewController for detecting text line by line? Right now it just detects large blobs of text (each RecognizedItem) but I want to be able to split these detection blobs into multiple lines of detected text. I dont want to use VNTextRequest because detection is more spotty
OnChange() doesn't trigger inside picker navigation view
For some reason the on change that I put on textfield only triggered after I close the selection view.
```swift
Picker("Game", selection: $selectedGame) {
Text("No Game Selected").tag(0 as Int?)...
Viewing A 360 Degree Images and videos
I am making a app for viewing 360 images and videos using gesture I am unable to find out it how it will be done
Offset very strange
I have a CameraPreview which is displaying very strange on the bottom of the screen
i have following code
```swift...
Assigning propertyWrapper
Hi, I am learning propertyWrappers in Swift last days and I found something strange on the internet. In this article https://nshipster.com/propertywrapper/
import Foundation
@propertyWrapper...
For??
the
for
word is throwing me off here, he could've used any other word right? it's not anything syntaxt related?
( the for
in func setAge(for person: String, to value: Int) {
)...menubar extra swiftui open main window on tray click?
Like title menubar extra swiftui open main window on tray click?
There seem
To be no way to just implement this.
...
Can progress reporting be added to this style of https transfer?
```swift
import Foundation
func fetchData() async throws -> Data {
let url = URL(string: "https://gist.github.com/khaykov/a6105154becce4c0530da38e723c2330/raw/41ab415ac41c93a198f7da5b47d604956157c5c3/gistfile1.txt")!...
Can't run Xcode at all
Hi. I'm using a MacBook Air M1, running Xcode Version 15.0 beta 2, on macOS Sonoma 14.0. When running a simple playground code of swift, i get an error: failed to launch proccess. this operation couldn't be complete. StackOverflow claims the solution is to disable Rosetta for xcode by going to the xcode app file, selecting get info and unchecking the Rosetta checkbox. However, I don't have such a box. I tried to run some command someone said and it shows i'm using 2 different architectures as showin in picture. Is that okay?
Anyways, I don't know what to do. Apprecieate any help, thanks....
XCode concern please help
Hello, I am a user on Macbook, and I am looking to make a simple website on XCode, preferably with HTML/CSS/Java but it seems incredibly confusing to do so.
I see that most people use swift on XCode but I was just wondering if there was a way to make a regular html site on Xcode...
AR Measurement app using RealityKit
#swift-development
Value of type - 'ARViewContainer' has no member 'parentSession'
can anyone please help me with the error in the image...
opensource / full version paddle alternative opensource?
Hi everyone im building a swift ui app with a free version and an upgraded features for a small payment.
Is there anywhere in the xcode swiftui world
For licensing software with a femote api like paddle does?
...
Is it possible to replicate Mac's standard Help menu Search item?
Old programmer but Apple programming noob. I wanted to make a menubar-only app that had a text entry field in its submenu, just like Help/Search.
It compiles with no errors and runs with no errors and no log output but the
TextField
between the "Button
s" dosn't appear.
```swift...How to position vertical Slider
I'm an old programmer but new to Mac and SwiftUI. I'm trying to get a vertical Slider positioned right up against the right edge of the window. Apparently this requires rotation:
But this rotation is just an effect. All measurements, bounding boxes, alignment, etc that effect its size and position behave as though it's still horizontal, which makes it incredibly unintuitive and frustrating to reason about, especially when new and unfamiliar with how positioning etc is done even for normal UI elements....
Slider(value: $vx).rotationEffect(.degrees(v1))
Slider(value: $vx).rotationEffect(.degrees(v1))