Category "xcode"

it possible to Pass Data with popViewControllerAnimated?

I came across an interesting problem, i have main ViewController let's call him MainVC with navigationController and i am doing performSegueWithIdentifier from

Xcode does not accept provisioning profile

I have created a provisioning profile with e.g. Siri, app groups and imported it into Xcode. Now Xcode says that: provisioning profile "" doesn't support the "

How to create Generic if @EnvironmentObject?

I've recently come across the need to write a Mock of a Class, as it causes the SwiftUI preview from working. Unfortunately, I get the error: Property type 'T'

Simulate run on older OS X version

How can simulate a run on a older OS X version ? Right now my app works on 10.7 and 10.8 but I want to make it compatible with 10.6. Since I'm using some new

What do the null-related property attributes in Xcode do?

With Xcode 6.3 I noticed some property attributes, namely: nonnull null_resettable nullable Could someone explain what they do when applied?

The app delegate must implement the window property if it wants to use a main storyboard file swift

I have just developed an app, but when running in the simulator the debugger console says: The app delegate must implement the window property if it wants t

Xcode's Profiler does not show Symbol names

Updated to xCode 4.5 and when time profiling my app Symbol Name doesn't show classes or objects anymore, but shows memory addresses see below. 0x2fd42e13 0x380

How can I make animation with CAEmitterLayer on SwiftUI?

How can I convert this code to SwiftUI. It's a snow effect. I used CAEmitterLayer but I don't know how to use it in SwfitUI. There is no addSublayer in SwiftUI.

Access call history on iOS

In my iOS application I need to get all call history (dialled,recieved,missed) from an iOS device and display as a list in my application. So many answers are

Xcode Device Issue - Failed _shouldMakeReadyForDevelopment check even though device is not locked by passcode

Error and warnigs in devices and simulators Issue : Details Failed _shouldMakeReadyForDevelopment check even though device is not locked by passcode. Domain: co

What is the best/shortest way to convert a UIColor to hex (web color) in Swift?

I came up with the following solution, but would like to know if someone has a cleaner approach to it (tested it in Xcode-Playground): let colors = CGColorGetC

Cannot find type 'PiPViewCoordinator' in scope

I am getting following error when i install JitsiMeetSDK in flutter but i am unable to run app. Can somebody suggest me how can i resolve this issue? I am usin

Flutter build iOS got error: Requested but did not find extension point with identifier

I just upgraded to Xcode 13.3-beta, running a flutter project got this error: Error output from Xcode build: ↳ 2022-03-02 17:45:38.148 xcodebuild[6284

SwiftUI edges visible after using overlay

I'm trying to create rounded edges in one of my views using overlay. .background(Color.gray.opacity(0.2)) .overlay( RoundedRectangle(cornerRadius: 10)

Xcode 13 crashing when adding a dictionary to the Info.plist from a target

Xcode Version 13.3 beta 3 (13E5104i) or Version 13.2.1 (13C100) When I add a dictionary to the Info.plist file from the Info tab in the project (for example wit

SwiftUI Get Coordinates of TextField or any View

I'm struggling to find a way in SwiftUI to get the x,y coordinates of the origin of a TextField (or any view). I can certainly provide a position or offset to m

QLPreviewController missing navigation bar in SwiftUI

QLPreviewController navigation bar missing when I presented in sheet. It looks like this : How can I show up top navigation bar or navigationItem? QuickLook

SwiftUI: How to center a view vertically and horizontally inside of a container view and put something under it

I searched stackoverflow, but unfortunately didn't find a solution to this particular case. I try to display following scenario: a container view a Text that

How to create a delay in Swift?

I want to pause my app at a certain in point. In other words, I want my app to execute the code, but then at a certain point, pause for 4 seconds, and then cont

Apple Push Service certificate is not trusted

I have recently created an Apple Push Service certificate on my M1 mac mini. In the Keychain, it says the certificate is not trusted. I have installed the Deve