Search results for

“DTiPhoneSimulatorErrorDomain Code 2”

162,332 results found

Post

Replies

Boosts

Views

Activity

Synchronizing Live Video Multiple AVPlayers
Hello, I am currently trying to synchronize two or more AVPlayers, each with a different player item (camera angle), but I am unable to get all of the player to start playing at the same time. I am also working with live video, so I don't think I can use AVCompositions.Current Procedure:Pause all playersSeek all players to the desired timeIf all seeks completed then Preroll all playersIf all prerolls completed then tell all players to PlayCode:- (void)syncAtTime:(CMTime)time { __block NSArray *players = self.players; const NSUInteger prerollsNeeded = players.count; __block NSUInteger prerollsTried = 0; __block NSUInteger prerollsCompleted = 0; void (^prerollHandler)(BOOL) = ^(BOOL complete) { prerollsTried++; if (complete) { prerollsCompleted++; } if (prerollsTried >= prerollsNeeded) { // all preroll completion handlers have ran // play all the players now that they SHOULD be ready if (prerollsCompleted >= prerollsNeeded) { for (AVPlayer *player in players) { [player play]; } } } }; const NSUIn
7
0
7.5k
Jun ’15
watchOS 2 beta still working with iOS 8.3?
If I update my watch to watchOS 2 beta, can I still use the watch with an iPhone running iOS 8.3? I do have 2 iPhones, but only one will be updated to iOS 9 beta, so the other kept on the current public iOS release so I can still do App development and testing. But I’m not sure which one should be updated to iOS 9 Beta. If I know that watch OS 2 will still work with iOS 8.3 (even without the ability to install native Apps), it would make everything easier.
3
0
2.1k
Jun ’15
App special events
Some apps have special events that appear without an update to the app. I'm sure there's numerous ways to go about doing this but this is the way i've thought of; is there a more efficent way?Set a timer for the event start and stop and all of the code that utilizes this eventExmaple: code in a timer for the Event to start July 1st at 00:00 EST and end July 7th 23:59 EST and as long as that time is true the event will take place. Then on the next update simply remove the code for that event to free up some memory unless you plan on using that event again in the future.I'm not looking for any code here. Just thoughts about more efficent ways, if any, to do events like this without releasing an update. Thanks
1
0
375
Jun ’15
Why is Swift 2 switching from reStructuredText to Markdown?
I'm sure I'm not alone in thinking that Swift had made an excellent choice in going with reStructuredText for doc comments. I know Markdown is more ubiquitous, but it's also somewhat ill-defined and isn't particularly well-suited to long-form text. The use of reStructuredText promised to have a much more standardized way of writing documentation that could be very expressive and support extensions in a well-defined way (e.g. so documentation tools could define extensions you could use in your code).The only real concrete benefit to using Markdown is unifying it with Playground rich comments, but it seems to me that Playground rich comments should have just been using reStructuredText to begin with (or perhaps could have had a toggle in the document inspector for comment style, if there's a real need to support Markdown here, although I don't know what that need would be).
4
0
1.7k
Jun ’15
Reply to Will we see 10.11 OTA via App Store?
A very confusing question in a developer forum. Which OS X version has been released in other ways than OTA for the last two or three years? Even the developer betas are released via App Store now.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Synchronizing Live Video Multiple AVPlayers
Hello, I am currently trying to synchronize two or more AVPlayers, each with a different player item (camera angle), but I am unable to get all of the player to start playing at the same time. I am also working with live video, so I don't think I can use AVCompositions.Current Procedure:Pause all playersSeek all players to the desired timeIf all seeks completed then Preroll all playersIf all prerolls completed then tell all players to PlayCode:- (void)syncAtTime:(CMTime)time { __block NSArray *players = self.players; const NSUInteger prerollsNeeded = players.count; __block NSUInteger prerollsTried = 0; __block NSUInteger prerollsCompleted = 0; void (^prerollHandler)(BOOL) = ^(BOOL complete) { prerollsTried++; if (complete) { prerollsCompleted++; } if (prerollsTried >= prerollsNeeded) { // all preroll completion handlers have ran // play all the players now that they SHOULD be ready if (prerollsCompleted >= prerollsNeeded) { for (AVPlayer *player in players) { [player play]; } } } }; const NSUIn
Replies
7
Boosts
0
Views
7.5k
Activity
Jun ’15
watchOS 2 beta still working with iOS 8.3?
If I update my watch to watchOS 2 beta, can I still use the watch with an iPhone running iOS 8.3? I do have 2 iPhones, but only one will be updated to iOS 9 beta, so the other kept on the current public iOS release so I can still do App development and testing. But I’m not sure which one should be updated to iOS 9 Beta. If I know that watch OS 2 will still work with iOS 8.3 (even without the ability to install native Apps), it would make everything easier.
Replies
3
Boosts
0
Views
2.1k
Activity
Jun ’15
Swift 2 timeline
Is there any offical word on the Swift 2 rollout? Is it launching with iOS 9/OS X or is Xcode 7 planned to be released before the fall?
Replies
3
Boosts
0
Views
977
Activity
Jun ’15
This code has already been redeemed
I am unable to download the 10.11 seed - when I click on the download link I get taken to the App Store but get given the message that This code has already been removed
Replies
5
Boosts
0
Views
1.2k
Activity
Jun ’15
Reply to This code has already been redeemed
I'm receiving a message that shows the redemption code has already been used, but no download occured. any help?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to With watchOS 2.0 is there a way to access touch events and the digital crown events?
watchOS 2 does not provide direct access to touch events. You can access the digital crown using the new WKInterfacePicker class. Your app will receive a callback each time a new index is selected in the picker.
Topic: App & System Services SubTopic: General Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to watchOS 2 beta still working with iOS 8.3?
The installation guide say that you can not install watchOS 2 without iOS 9. It does not state if it will pair with 8.3 but it is implied that it would not.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to This code has already been redeemed
The code redemption won't work on 10.10.4 betas. Make sure you do it on stable OS X releases.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Code has already been redeemed?
I cannot initiate the El Capitan 10.11 download because it says my code has already been redeemed. Any suggestions?
Replies
4
Boosts
0
Views
2.8k
Activity
Jun ’15
Reply to Where is the News App?
I have the same issue. Installed ios9 on iPad Air 2 and can't find news app. And the old newsstand folder is still there.
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to CFNetwork SSLHandshake failed (-9801)
A few more details..Error Domain=NSURLErrorDomain Code=-1200 An SSL error has occurred and a secure connection to the server cannot be made. UserInfo=0x7ffe8a4b4040 {_kCFStreamErrorCodeKey=-9801, NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?,
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
Reply to **Organizing an entire list of Unstable Apps**
my August lock app seems to work -- at least on my iPad Air 2. What were your symptoms?
Topic: App & System Services SubTopic: Core OS Tags:
Replies
Boosts
Views
Activity
Jun ’15
App special events
Some apps have special events that appear without an update to the app. I'm sure there's numerous ways to go about doing this but this is the way i've thought of; is there a more efficent way?Set a timer for the event start and stop and all of the code that utilizes this eventExmaple: code in a timer for the Event to start July 1st at 00:00 EST and end July 7th 23:59 EST and as long as that time is true the event will take place. Then on the next update simply remove the code for that event to free up some memory unless you plan on using that event again in the future.I'm not looking for any code here. Just thoughts about more efficent ways, if any, to do events like this without releasing an update. Thanks
Replies
1
Boosts
0
Views
375
Activity
Jun ’15
Why is Swift 2 switching from reStructuredText to Markdown?
I'm sure I'm not alone in thinking that Swift had made an excellent choice in going with reStructuredText for doc comments. I know Markdown is more ubiquitous, but it's also somewhat ill-defined and isn't particularly well-suited to long-form text. The use of reStructuredText promised to have a much more standardized way of writing documentation that could be very expressive and support extensions in a well-defined way (e.g. so documentation tools could define extensions you could use in your code).The only real concrete benefit to using Markdown is unifying it with Playground rich comments, but it seems to me that Playground rich comments should have just been using reStructuredText to begin with (or perhaps could have had a toggle in the document inspector for comment style, if there's a real need to support Markdown here, although I don't know what that need would be).
Replies
4
Boosts
0
Views
1.7k
Activity
Jun ’15