Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

167,656 results found

Post

Replies

Boosts

Views

Activity

Programmatically determining if my user using Two Step, Two Factor or none
I want to help users enroll into Two Step / Two Factor authentication for iCloud in order to best secure their data.The tool I'm building is a privacy-helper tool that walks users through the nessary steps of achieving better security, and answers questions they may have along the way.To help with this workflow, I want to take my iCloud/ CloudKit app and determine what (if any) actions need to be taken. The only properties I need are:enum:isTwoStepisTwoFactornoneNo other personal information is needed other than that enum. Is this possible, or how can I request this to be a feature?
2
0
435
Apr ’17
NSOutlineView with 2 columns
Hi, ALL,I am developing an application and I need to create NSOutlineView. I need it to look like the List Control (not a Tree Control). I need the control to not to have the column header. I also need the control to have 2 columns as follows:Second column will have a constant width (lets say 100 - this is not the actual width). It will be permanent for all rows in control.First column (the leftmost one) will have a width of (view_width - width_of_second_column).First column will contain the strings of the different width. The second column will contain the checkbox with the labelThere will be no horizontal scrollbar visible - the strings will be short enough to fit in the column.And as I said before - the control will not have a column header.Is creating such control with such layout possible?My understanding is that I can do something like this:[m_OutlineView setColumnAutoresizingStyle:NSTableViewSequentialColumnAutoresizingStyle];[column resizingMask:NSTableColumnAutoresizingMask];[m_OutlineView s
Topic: UI Frameworks SubTopic: AppKit Tags:
1
0
693
Jun ’20
Airplay 2 implementation on Linux
Hi all, I am looking for the information about the Airplay2 (client) implementation on linux but there aren't much info about it. As far as I searched on the internet, it seems possible to implement it on the linux by Swift which is cross platform supported solution, but I wonder what the specific procedure for developing Airplay 2 on the linux . Is Apple providing Airplay2 source code in Swift form? Is there any detail guide about this? if there's is any person who have experience about it, please share the information. Thanks.
0
0
1.5k
Oct ’21
Reply to Bad File Descriptor
More details hereIt appears to be when the download or writing the file is failing, its every time at the same Chunk :Jul 2 08:07:27 MacBook-Pro osinstallersetupd[611]: Got chunk 217 of 477Jul 2 08:07:59 MacBook-Pro osinstallersetupd[611]: Connection did fail with error: Error Domain=NSPOSIXErrorDomain Code=22 Invalid argumentJul 2 08:07:59 MacBook-Pro osinstallersetupd[611]: Chunk download failed, retrying...Jul 2 08:07:59 MacBook-Pro osinstallersetupd[611]: Connection did fail with error: Error Domain=NSPOSIXErrorDomain Code=5 Input/output errorJul 2 08:07:59 MacBook-Pro osinstallersetupd[611]: Chunk download failed, retrying...Jul 2 08:07:59 MacBook-Pro osinstallersetupd[611]: Connection did fail with error: Error Domain=NSPOSIXErrorDomain Code=5 Input/output errorJul 2 08:07:59 MacBook-Pro osinstallersetupd[611]: Chunk download failed, retrying...Jul 2 08:07:59 MacBook-Pro osinstallersetupd[611]: Connection
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’17
Reply to What does ^ do in swift
You have an infinite loop !when n == 2, n^2 = 0then, n^2 = 2then again n^2 = 0So you never get out of the while.Test the following code with a Run button connected to this IBAction: @IBAction func run(sender: AnyObject) { var n = 2 for i in 0..<10 { n = n^2 print(i) print(n) } }If you want exponentiation, you should write n *= 2
Topic: Programming Languages SubTopic: Swift Tags:
Apr ’16
Swift 2 REPL
HiWhere can I find the swift 2 REPL? I'm now running Mac OSX v10.11 with XCode 7 installed and running, but when I use the swift command in Terminal it tells me its using swift 1.2.Thanks in advance,Rugen Heidbuchel
1
0
425
Jun ’15
CloudKit and Swift 2
I am trying to simultaiously learn iOS, Swift 2, x-code, and how to use CloudKit (yeah, unlikely). This is frustrating due to lack of Swift 2.0 examples provided by Apple and the fact that there's a lot of out-of-date info on the web. I have this code trying to get data out of the Cloud. Lines 40 & 41 throw consecutive statements on a line must be separated by ';' I don't understand the reason. I suspect I am conflating two different ways of using CloudKit in trying to hack something together from various examples. I can get records out from iCloud, but I am struggling to understand how to get data out, that is, what's in values={ . . . }}> as shown in output at line 38.If someone could point me in the direction of getting ICloudKit to work, I'd be greatful.import Foundation import CloudKit protocol CloudKitDelegate { func errorUpdating(error: NSError) func modelUpdated() } class MovieDataBase { var container : CKContainer var publicDB : CKDatabase let privateDB : CK
2
0
718
Oct ’15
two finger tap - trackpad
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?
4
0
948
Sep ’15
Programmatically determining if my user using Two Step, Two Factor or none
I want to help users enroll into Two Step / Two Factor authentication for iCloud in order to best secure their data.The tool I'm building is a privacy-helper tool that walks users through the nessary steps of achieving better security, and answers questions they may have along the way.To help with this workflow, I want to take my iCloud/ CloudKit app and determine what (if any) actions need to be taken. The only properties I need are:enum:isTwoStepisTwoFactornoneNo other personal information is needed other than that enum. Is this possible, or how can I request this to be a feature?
Replies
2
Boosts
0
Views
435
Activity
Apr ’17
NSOutlineView with 2 columns
Hi, ALL,I am developing an application and I need to create NSOutlineView. I need it to look like the List Control (not a Tree Control). I need the control to not to have the column header. I also need the control to have 2 columns as follows:Second column will have a constant width (lets say 100 - this is not the actual width). It will be permanent for all rows in control.First column (the leftmost one) will have a width of (view_width - width_of_second_column).First column will contain the strings of the different width. The second column will contain the checkbox with the labelThere will be no horizontal scrollbar visible - the strings will be short enough to fit in the column.And as I said before - the control will not have a column header.Is creating such control with such layout possible?My understanding is that I can do something like this:[m_OutlineView setColumnAutoresizingStyle:NSTableViewSequentialColumnAutoresizingStyle];[column resizingMask:NSTableColumnAutoresizingMask];[m_OutlineView s
Topic: UI Frameworks SubTopic: AppKit Tags:
Replies
1
Boosts
0
Views
693
Activity
Jun ’20
Airplay 2 implementation on Linux
Hi all, I am looking for the information about the Airplay2 (client) implementation on linux but there aren't much info about it. As far as I searched on the internet, it seems possible to implement it on the linux by Swift which is cross platform supported solution, but I wonder what the specific procedure for developing Airplay 2 on the linux . Is Apple providing Airplay2 source code in Swift form? Is there any detail guide about this? if there's is any person who have experience about it, please share the information. Thanks.
Replies
0
Boosts
0
Views
1.5k
Activity
Oct ’21
Reply to Need a game app source code
See your other two same posts.How can I get my source code from Apple?Need missing app source code
Topic: Graphics & Games SubTopic: GameKit Tags:
Replies
Boosts
Views
Activity
Nov ’17
Reply to Bad File Descriptor
More details hereIt appears to be when the download or writing the file is failing, its every time at the same Chunk :Jul 2 08:07:27 MacBook-Pro osinstallersetupd[611]: Got chunk 217 of 477Jul 2 08:07:59 MacBook-Pro osinstallersetupd[611]: Connection did fail with error: Error Domain=NSPOSIXErrorDomain Code=22 Invalid argumentJul 2 08:07:59 MacBook-Pro osinstallersetupd[611]: Chunk download failed, retrying...Jul 2 08:07:59 MacBook-Pro osinstallersetupd[611]: Connection did fail with error: Error Domain=NSPOSIXErrorDomain Code=5 Input/output errorJul 2 08:07:59 MacBook-Pro osinstallersetupd[611]: Chunk download failed, retrying...Jul 2 08:07:59 MacBook-Pro osinstallersetupd[611]: Connection did fail with error: Error Domain=NSPOSIXErrorDomain Code=5 Input/output errorJul 2 08:07:59 MacBook-Pro osinstallersetupd[611]: Chunk download failed, retrying...Jul 2 08:07:59 MacBook-Pro osinstallersetupd[611]: Connection
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jul ’17
Reply to What does ^ do in swift
You have an infinite loop !when n == 2, n^2 = 0then, n^2 = 2then again n^2 = 0So you never get out of the while.Test the following code with a Run button connected to this IBAction: @IBAction func run(sender: AnyObject) { var n = 2 for i in 0..<10 { n = n^2 print(i) print(n) } }If you want exponentiation, you should write n *= 2
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’16
Swift 2 REPL
HiWhere can I find the swift 2 REPL? I'm now running Mac OSX v10.11 with XCode 7 installed and running, but when I use the swift command in Terminal it tells me its using swift 1.2.Thanks in advance,Rugen Heidbuchel
Replies
1
Boosts
0
Views
425
Activity
Jun ’15
Sphero Playgrounds 2 Randomise Game
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
Replies
0
Boosts
0
Views
639
Activity
Feb ’22
CloudKit and Swift 2
I am trying to simultaiously learn iOS, Swift 2, x-code, and how to use CloudKit (yeah, unlikely). This is frustrating due to lack of Swift 2.0 examples provided by Apple and the fact that there's a lot of out-of-date info on the web. I have this code trying to get data out of the Cloud. Lines 40 & 41 throw consecutive statements on a line must be separated by ';' I don't understand the reason. I suspect I am conflating two different ways of using CloudKit in trying to hack something together from various examples. I can get records out from iCloud, but I am struggling to understand how to get data out, that is, what's in values={ . . . }}> as shown in output at line 38.If someone could point me in the direction of getting ICloudKit to work, I'd be greatful.import Foundation import CloudKit protocol CloudKitDelegate { func errorUpdating(error: NSError) func modelUpdated() } class MovieDataBase { var container : CKContainer var publicDB : CKDatabase let privateDB : CK
Replies
2
Boosts
0
Views
718
Activity
Oct ’15
Reply to Objective C Iphone take photos both cameras simultaneously
You already have the AVCam-IO example software.Have you tried modifying that code to set up two capture sessions, one using the front camera and the other using the rear camera? Alternately, you should be able to take that same code and rearrange it so that it switches back and forth between the two capture sessions.
Topic: Media Technologies SubTopic: Audio Tags:
Replies
Boosts
Views
Activity
Mar ’18
Metal 2 game template?
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
Replies
1
Boosts
0
Views
937
Activity
Aug ’17
Reply to What does ^ do in swift
Thanks man I wrote a code like this var n = 2 While n < 100 { n = n^2 } Print(n) And xcode blew up
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Apr ’16
I uploaded two IPA files two days ago and they have not been complete yet, any idea?
I uploaded two IPA files two days ago and they have not been complete yet, any idea?
Replies
0
Boosts
0
Views
285
Activity
May ’20
two finger tap - trackpad
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?
Replies
4
Boosts
0
Views
948
Activity
Sep ’15
Reply to Two factor verification problem.
Hey can I turn my 2 factor activation code back on.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Mar ’21