Post

Replies

Boosts

Views

Activity

Reply to Type of expression is ambiguous without more context
Type of expression is ambiguous without more context Unfortunately, your question is also ambiguous without more context. Please can you post the whole code, not just a (cut-off) snippet? The whole of the View body would be a good start... ...then indicate which expression is causing the error. You should also consider answering (or closing) your other recent posts, where people have tried to help you: https://developer.apple.com/forums/thread/692237 https://developer.apple.com/forums/thread/688935 https://developer.apple.com/forums/thread/691390 If you are struggling to use the forum correctly, then ask for help with that... people will be happy to contribute.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’21
Reply to Type of expression is ambiguous without more context
Your code is not valid, as your brackets { } do not match up correctly. Your struct "CalculatePaceView" is not a valid View, as it contains no "body". (The "body" in your code sample is entirely outside the "CalculatePaceView" struct.) I suggest you try separating out the View that you are using for the NavigationLink, and make it into a separate struct. This should clarify what you are trying to achieve, and may make the error more obvious.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Oct ’21
Reply to Turning an iOS Device into an iBeacon Device
Instead of uploading screenshots, please include your code in a Code Block (using "Paste and Match Style"). Then people may be able to help you.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to How to know a device is available to use captureTextFromCamera API?
My bad (typo), of course I meant "MLCDevice" (from the Machine Learning framework). ane() Creates a device that uses the Apple Neural Engine, if one exists
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to Passing casted Modified Image controls as parameters causes exception
Your code fragment is missing crucial information: ExpandingButtonPanel is incomplete You don't show your definition of getIconColor. What is EnvironmentVM If you can add these definitions, it may be possible to offer help.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to How to know a device is available to use captureTextFromCamera API?
captureTextFromCamera requires that the device has Neural Engine support. You could test for this using MCLDevice ane()... ...which returns nil if no Apple Neural Engine exists.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to Invalid bundle ID for container.
When you initialize your CKContainer, are you using "default()", or are you passing it a bundle identifier? Can you share the code?
Topic: App & System Services SubTopic: iCloud Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to Apple Enrollment Requirements For Company
I haven't seen a definitive answer to this (from Apple, or elsewhere), but the website must exist. In the early stages of a project, it seems entirely reasonable that the website would be under construction, when the Apple Developer account is first created.
Replies
Boosts
Views
Activity
Oct ’21
Reply to App name questions for Publishing on Store
If you change the Bundle ID, then that is a new app. If your new Bundle ID uses the same app name as the original Bundle ID app name, then that's a confilct. If you change the Bundle ID and the app name, then there is no conflict.
Replies
Boosts
Views
Activity
Oct ’21
Reply to NSImageView with corner radius and shadow
You have also failed to set: albumImage.wantsLayer = true
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to NSImageView with corner radius and shadow
Hi @aviorrok, try putting your code in a code block, and use "Paste and Match Style", then it will be readable.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to Trigger TouchID in Simulator Xcode 13
Usually when someone asks this, they are looking at a Simulator which simulates a device with Face ID, not Touch ID. Just saying! When I simulate a device with Touch ID, I can see: Features > Touch ID
Replies
Boosts
Views
Activity
Oct ’21
Reply to Can I publish multiple app from a single apple developer account?
No. Apps published from your account are shown as belonging to your account. I would suggest that your clients need to take control of their own apps, which should be hosted on their own accounts. People from your company can then be added as Team members (with appropriate roles) of your client accounts.
Replies
Boosts
Views
Activity
Oct ’21
Reply to SwiftUI Email message body - line or carriage return?
Did you try "\n"? As in: "Line 1\nLine 2\nLine 3" Or: "Time on: \(onTime)\nTime in: \(inTime)\nFuel on board: \(fuelRemaining)"
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to Type of expression is ambiguous without more context
Type of expression is ambiguous without more context Unfortunately, your question is also ambiguous without more context. Please can you post the whole code, not just a (cut-off) snippet? The whole of the View body would be a good start... ...then indicate which expression is causing the error. You should also consider answering (or closing) your other recent posts, where people have tried to help you: https://developer.apple.com/forums/thread/692237 https://developer.apple.com/forums/thread/688935 https://developer.apple.com/forums/thread/691390 If you are struggling to use the forum correctly, then ask for help with that... people will be happy to contribute.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to Type of expression is ambiguous without more context
Your code is not valid, as your brackets { } do not match up correctly. Your struct "CalculatePaceView" is not a valid View, as it contains no "body". (The "body" in your code sample is entirely outside the "CalculatePaceView" struct.) I suggest you try separating out the View that you are using for the NavigationLink, and make it into a separate struct. This should clarify what you are trying to achieve, and may make the error more obvious.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Replies
Boosts
Views
Activity
Oct ’21
Reply to Xcode 13 navigation bar title
Please share your code, so we can see what is going wrong.
Replies
Boosts
Views
Activity
Oct ’21