I uploaded two IPA files two days ago and they have not been complete yet, any idea?
Search results for
DTiPhoneSimulatorErrorDomain Code 2
158,554 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
The XCode beta has a Metal game template -- is that Metal or Metal 2? What are the big differences programming wise between the two?ThanksBob
I'm trying to use ARWorldTrackingConfiguration and ARBodyTrackingConfiguration together. ARConfiguration here it says, a session can run only one configuration at a time. So, I made two ViewControllers that switches each ViewController through buttons but I can't run the two ViewControllers at the same. Is there any way to run two ViewControllers simultaneously or switching ViewControllers automatically?
I'd like to notice when a user clicks their Siri remote with two fingers on the trackpad instead of one. (A one-finger click increments; I'd like a two-finger click to decrement.) Is there a way to do this? A UITapGestureRecognizer with numberOfTouchesRequired set to 2 seems like the obvious solution, but it doesn't seem to be getting me anywhere.
Hi, I’ve been on Sphero Swift Playgrounds 2; Randomise Game for a while and I need help. This is my code; func pickNextGesture(availableGestures:[Gesture]) -> Gesture { randomNumber(min: 1, max: availableGesture.count) return .tap return .toss return .spin return .shake
Topic:
Developer Tools & Services
SubTopic:
Swift Playground
Tags:
Swift Playground
Playground Support
Hi,I understand that NSURLSession from iOS 9 automatically handles HTTP/2 without any user interaction.Is the same correct using CFNetwork (CFHTTP for example)? Or I need to handle the whole upgrade flow?Thanks, Israel
Hello Developers, I started learning how to code using Swift PlayGround on my iPad Pro. But in some levels , you know, there are no hints to anything to help you solve problems. Do you have any idea on how to learn coding from the beginning cuz I feel lost sometimes and I’m in (learn to code 2) level and I didn’t see how to take advantage of using what I’ve learned on an app, I’m not planning to develop a Game, although coding looks like a game to me ☺️, so can you help me guys on how and where to learn good, and what do you think of the Swift Playground as a start or is there a better way. !! thanks
If I past the samele code import RegexBuilder let fieldSeparator = /s{2,}|t/ let transactionMatcher = Regex { /CREDIT|DEBIT/ fieldSeparator One(.date(.numeric, locale: Locale(identifier: en_US), timeZone: .gmt)) fieldSeparator OneOrMore { NegativeLookahead { fieldSeparator } CharacterClass.any } fieldSeparator One(.localizedCurrency(code: USD).locale(Locale(identifier: en_US))) } It does not like the OneOrMore with the negative look ahead. Is there an updated example of this code from WWDC?
I just installed the GM for El Capitan, and it appers that the two finger tap (not click) is no longer working on the external trackpad? I used to be able to just two finger touch the track pad and it would bring up the context menu. Now I have to actually click the trackpad with 2 fingers?
There are two problems here.1. You have 2 variables called 'scalaRiduz'. They may look the same, but they are completely different. You could have written:var scalaRiduz1111:Double = 0 … func scalaTrafila (…) { var scalaRiduz2222:[Double] = [0, 1, 2] … }Why? Because a 'var' statement always declares a new variable. In your existing code, the 'scalaRiduz' inside the function hides the 'scalaRiduz' outside the function. But they're still different variables.2. This isn't your real code. In your main program, your 'scalaRiduz' isn't even array — it has type Double, not [Double].Here's what I think happened. You had code like this, in a single file:var scalaRiduz:[Double] = [] func scalaTrafila (…) { scalaRiduz:[Double] = [0, 1, 2] // <-- Note that there is NO var } print (scalaRiduz[0]) // prints 0Then you split it into 2 files:var scalaRiduz:[Double] = [0] scalaTrafila () print (scalaRiduz[0])func scalaTrafila () { scalaRiduz:[D
Topic:
Programming Languages
SubTopic:
Swift
Tags:
the alert action is displayed briefly then it disappears before the user has time to enter anything into the 2 text fields and before the OK button is pressed.I embedded your code in an @IBAction method, and I couldn't have find a behavior as such.The problem may very probably hide somewhere in the lines you have not shown yet.At least two lines of your code: foundLatitude.text = stringLatitude foundLongitude.text = stringLongitudedo not work as expected. (Or I may be mistaking your expectation for these two lines.)They should be in the action handler of OK.Generally, you should not write any code after calling presentViewController:animated:completion: .
Topic:
UI Frameworks
SubTopic:
UIKit
Tags:
There is no UICollectionViewCall in my code, any suggestion what it can be or how to resolve? You can use the above code to replicate the issue. Error #2, you were right. thanks
Topic:
Programming Languages
SubTopic:
Swift
Tags:
I am trying to create a slightly different version of the content tagging code in the documentation: https://developer.apple.com/documentation/foundationmodels/systemlanguagemodel/usecase/contenttagging In the playground I am getting an Inference Provider crashed with 2:5 error. I have no idea what that means or how to address the error. Any assistance would be appreciated.
Topic:
Machine Learning & AI
SubTopic:
Foundation Models
Hi at all,thats my issue: I have two iPad 4 and two iPad air 2 devices, both with iOS 10.2.1. I am managing the devices with Apple Conf. 2 and roll out the same profile on all devices. When starting ⚠ (not purchase, download, etc.) an app, itunes login is required at iPad air 2, not at iPad 4.Because we offer the devices to our library users to learn and live with them, I want a free use of apps. If a user wants to buy apps additionally, he may login with his own account. As I said, it all works with iPad 4, but not with iPad air 2. Any ideas?thx, Olli
Two approaches:1) set up notifications for records being created and when the correct number of notifications come in, do your extra code.2) create a simple counter and increment the counter in the modifyRecordsCompletionBlock (actually, count down to zero) and when the counter hits the correct number execute the extra code.
Topic:
App & System Services
SubTopic:
iCloud & Data
Tags: