Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

162,332 results found

Post

Replies

Boosts

Views

Activity

Drawing a single character with Core Text
I'm trying to rebuild a method to draw a single character as an image for an applicaiton icon. This previously worked with UIGraphics calls, but because of image orientation issues and the nil ContextRef warnings, I want to use a cleaner solution. I found this code to draw the text image online (credit raywenderlich.com):CGContextRef context = UIGraphicsGetCurrentContext(); CGMutablePathRef path = CGPathCreateMutable(); //1 CGPathAddRect(path, NULL, self.bounds ); NSAttributedString* attString = [[NSAttributedString alloc]initWithString:@A]; //2 CTFramesetterRef framesetter = CTFramesetterCreateWithAttributedString((CFAttributedStringRef)attString); //3 CTFrameRef frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, [attString length]), path, NULL); CTFrameDraw(frame, context); //4 CFRelease(frame); //5 CFRelease(path); CFRelease(framesetter);I've dynamically determined what I thought was a centered CGRect that will fit in my bounds. However, the text shows up VERY small at the top l
3
0
1.9k
Jun ’15
First install impressions?
Anyone get to it yet? Seems like a rather un-intimidating beta this year. Any first impressions on general relibality? (besides whats in the release notes)I have 2007 MBP 15 I'll load it on. If there is ever a good preformance stress test, it's on old hardare. (also itching to try iOS 9 on my iPad 2)
29
0
4.2k
Jun ’15
Reply to can't download
Same issue. I agreed to the new agreements and paid the $99 since I presume my last years account expired. Says order was processed and will be electronically delivered but haven't recieved any emails other than the order email. That was two hours ago and still doesn't show that Im an active developer when I try to download iOS or OS X. Not sure I need to keep waiting or if maybe my order got stuck in limbo during the initial launch of the new program? My card was charged.And if I try to re-enroll again, after entering in my info it says, We are unable to process your request. An unknown error occurred.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Split View
Split View will only work on an iPad Air 2, check out this table (scroll down a little): https://developer.apple.com/library/prerelease/ios/documentation/WindowsViews/Conceptual/AdoptingMultitaskingOniPad/index.html#//apple_ref/doc/uid/TP40015145-CH3-DontLinkElementID_2Are you using an Air 2?
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to No symbols for paired Apple Watch
Looks like I've solved this simply by disconnecting and reconnecting the phone.EDIT for Beta 2: I'm seeing the same issue as everybody else respodning after 6/24. My phone+watch target is listed as ineleigible for the reason: (no symbols for paired Apple Watch). Unmarking this answer as correct.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
I want to put bordercolor with uiview by swift.
Hi there.I want to put bordercolor with uiview by swift,but i can't do it on iOS7.----------------------------self.layer.borderColor = UIColor.blackColor().CGColorself.layer.borderWidth = 1.0---------------------------This code can be used on iOS8,but it can't be used on iOS7.In iOS7,i imported 'quartzcore' in my code,i couldn't do it.what should i do?Thank you.
Topic: UI Frameworks SubTopic: UIKit Tags:
6
0
4.4k
Jun ’15
Reply to **Organizing an entire list of Unstable Apps**
My 1Password seems to be functioning correctly. I will say this, mine uses iCloud syncing and I had a lot of trouble with my 10.11 install until I signed out of iCloud completely and signed back in fresh. My iPad did not have any such issues.Air 2 running 9 beta 1I noticed some other folks talking about SSL issues, perhaps there is an underlying bug with the networking stacks.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Reply to Why is Swift 2 switching from reStructuredText to Markdown?
Also worth pointing out: the Swift 1.x documentation format used a well-defined reST construct for doing parameter and return types (e.g. a field list with specific field names, which is exactly how that construct is meant to be used), but the Swift 2 markdown syntax is using an ad-hoc completely custom way of defining parameters.
Topic: Programming Languages SubTopic: Swift Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to This code has already been redeemed
Redemption code worked for me on 10.10.4 beta.. like butter.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Drawing a single character with Core Text
I'm trying to rebuild a method to draw a single character as an image for an applicaiton icon. This previously worked with UIGraphics calls, but because of image orientation issues and the nil ContextRef warnings, I want to use a cleaner solution. I found this code to draw the text image online (credit raywenderlich.com):CGContextRef context = UIGraphicsGetCurrentContext(); CGMutablePathRef path = CGPathCreateMutable(); //1 CGPathAddRect(path, NULL, self.bounds ); NSAttributedString* attString = [[NSAttributedString alloc]initWithString:@A]; //2 CTFramesetterRef framesetter = CTFramesetterCreateWithAttributedString((CFAttributedStringRef)attString); //3 CTFrameRef frame = CTFramesetterCreateFrame(framesetter, CFRangeMake(0, [attString length]), path, NULL); CTFrameDraw(frame, context); //4 CFRelease(frame); //5 CFRelease(path); CFRelease(framesetter);I've dynamically determined what I thought was a centered CGRect that will fit in my bounds. However, the text shows up VERY small at the top l
Replies
3
Boosts
0
Views
1.9k
Activity
Jun ’15
First install impressions?
Anyone get to it yet? Seems like a rather un-intimidating beta this year. Any first impressions on general relibality? (besides whats in the release notes)I have 2007 MBP 15 I'll load it on. If there is ever a good preformance stress test, it's on old hardare. (also itching to try iOS 9 on my iPad 2)
Replies
29
Boosts
0
Views
4.2k
Activity
Jun ’15
Redeem Code
Hello,I keep receiving Code Redemption is unavailable are released currently getting staggered or is there an issue with my code?Thank you.
Replies
6
Boosts
0
Views
1.1k
Activity
Jun ’15
Does WatchKit Extension code run on watch in watchOS 2?
I am wondering if there's any available documentation outlining the different approaches to building for OS 1 vs. OS 2, or if it's just the same and the WatchKit Extension code just runs on the watch...
Replies
7
Boosts
0
Views
2.2k
Activity
Jun ’15
Reply to can't download
Same issue. I agreed to the new agreements and paid the $99 since I presume my last years account expired. Says order was processed and will be electronically delivered but haven't recieved any emails other than the order email. That was two hours ago and still doesn't show that Im an active developer when I try to download iOS or OS X. Not sure I need to keep waiting or if maybe my order got stuck in limbo during the initial launch of the new program? My card was charged.And if I try to re-enroll again, after entering in my info it says, We are unable to process your request. An unknown error occurred.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to Split View
Split View will only work on an iPad Air 2, check out this table (scroll down a little): https://developer.apple.com/library/prerelease/ios/documentation/WindowsViews/Conceptual/AdoptingMultitaskingOniPad/index.html#//apple_ref/doc/uid/TP40015145-CH3-DontLinkElementID_2Are you using an Air 2?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Is there Force Touch in watchOS 2?
I can't find it in any docs ... so is Force Touch NOT supported for native app in watchOS2? I hope this isn't the case, because it will feel very werid for most users as Force Touch has been one of the most promanent interaction method on the watch.
Replies
1
Boosts
0
Views
1.8k
Activity
Jun ’15
Reply to Is there Force Touch in watchOS 2?
There is no direct access to touch events in watchOS 2.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to .bash_profile not being run in new bash sessions
Does .bashrc run? I've always let one of the two be a symlink to the other.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to No symbols for paired Apple Watch
Looks like I've solved this simply by disconnecting and reconnecting the phone.EDIT for Beta 2: I'm seeing the same issue as everybody else respodning after 6/24. My phone+watch target is listed as ineleigible for the reason: (no symbols for paired Apple Watch). Unmarking this answer as correct.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
I want to put bordercolor with uiview by swift.
Hi there.I want to put bordercolor with uiview by swift,but i can't do it on iOS7.----------------------------self.layer.borderColor = UIColor.blackColor().CGColorself.layer.borderWidth = 1.0---------------------------This code can be used on iOS8,but it can't be used on iOS7.In iOS7,i imported 'quartzcore' in my code,i couldn't do it.what should i do?Thank you.
Topic: UI Frameworks SubTopic: UIKit Tags:
Replies
6
Boosts
0
Views
4.4k
Activity
Jun ’15
Reply to **Organizing an entire list of Unstable Apps**
My 1Password seems to be functioning correctly. I will say this, mine uses iCloud syncing and I had a lot of trouble with my 10.11 install until I signed out of iCloud completely and signed back in fresh. My iPad did not have any such issues.Air 2 running 9 beta 1I noticed some other folks talking about SSL issues, perhaps there is an underlying bug with the networking stacks.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Can't Install Profile if Watch Has Passcode?
I've been trying to install watchOS 2 profile and keep getting a Device is Locked message on my iPhone. Do I have to turn off the passcode on the Watch in order to install the profile? If so, I'll lose all Apple Pay cards.
Replies
1
Boosts
0
Views
303
Activity
Jun ’15