Hi, I'm tried create a IBOutletCollection to group multiple WKInterfaceGroup on an array, but interface builder not allow connect the outlets.How does apple developer to group an array on WWDC session Layout and animation techniques for watchkit?for (NSInteger i = 0; i < self.outerGroups.count; i++) { WKInterfaceGroup *group = self.outerGroups[i]; dispa tch_time_t time = dispatch_time(DISPATCH_TIME_NOW, (int64_t)delay); dispatch_after(time, dispatch_get_main_queue(), ^{ [self animateWithDuration:duration animations:^{ [group setAlpha:alpha]; }]; });}
Search results for
A Summary of the WWDC25 Group Lab
10,087 results found
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
You can select which subtitle track to utilize, if any, via the selectMediaOption(_:inMediaSelectionGroup:) method for AVPlayerItem.Get the AVMediaCharacteristicLegible selection group from the AVAsset, investigate the available options, and then use the above method to select which subtitle option you would like to use.
Topic:
Media Technologies
SubTopic:
Audio
Tags:
With watchOS 1, my understanding is that the watch extension was placed in the iOS app and so you could use a shared Core Data persistent store for both the watch app and the iOS app. (Which was done by using an app group, and making a separate framework that handled the data model for both the iOS app and watch app.)However, with watchOS 2, the watch extension has moved onto the watch itself - so it would have its own persistent store. So how would you handle sharing data between the watch and iOS?I saw the WWDC session on the Watch Connectivity framework which talks about moving data basically by transferring plist files.So, if I had a note taking app that used Core Data, it sounds like I would need to periodically take any new notes the user made in the iOS app, store them in a plist file, then send those over to the watch app (using the Watch Connectivity framework). Then, on the watch app, I'd need to receive the information and have methods to save that to its own Core Data store.Am I on the ri
See: UISplitViewController and launch storyboardThis is indeed an issue as the UI guidelines tell us to use a stripped down / blank version of our startup UI for a launch screen, yet launch storyboards lack support for typical controllers (UISplitViewController, UITabBarController, UINavigationController). I discussed this with a number of engineers at the WWDC 15 labs and a ticket was reopened regarding this problem.
Topic:
Developer Tools & Services
SubTopic:
General
Tags:
Hi All,I noticed in the WWDC 2015 schedule that there was a lab for multipeer connectivyt but it's not on the videos page. Do you know where I can find the video? Or if not availabe, what's new for the framework?Thanks!
As far as I can tell yes and no.It looks like even though the app was compliled for watchOS 1.0 that the extention is still getting transfered to the watch if watchOS 2.0 and iOS 9 are isnstalled. So any framework implentations that are not avalible on watchOS 2.0 (namely NSURLConnection and NSUserDefaults shared groups) will stop working. So as long as the watch app doesn't use iOS only frameworks in their 1.0 app it should work in 2.0 otherwise some features mgiht be broken.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Hey TungstenT.I got it to run after the same steps you took. I had to change the iCloud Document Storage to App Groups also. (This is probably not related to your issue)Possibly obvious question, did you try a 'Clean'?My issue is getting the UI tests to run as they did in the WWDC15 videos :-( ('Cookies' keep getting adding to the list as 'can')Cheers,Mark
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Yeah seems like a bug. For example if the code is this:// // Pre: Interface builder set // table row's group // height == Size To Fit Content // label inside table row's group is // Lines == 0 // Size Width == Size To Fit Content // Size Height == Size To Fit Content // Assuming table is populated with this self.myData = @[@0, @1 is something that should span 1 line, @2 some more long text that spans, @3, @4, @5, @6, @7, @8, @9, @10 some additional long text that is loooong!]; // scrolling to 9th item does not show 9th item but barely shows 7 cut off at bottom of screen [self.myTableView scrollToRowAtIndex:9];Will result in a table that barely scrolls to the 7 instead of 9. Are you going to file a bug? If not, I can...
Topic:
App & System Services
SubTopic:
General
Tags:
Under Xcode 6/watchOS 1.0 I have a WKInterfaceGroup with Horizontal layout and three groups inside of it. The widths of the first two groups are Fixed Width of 6 and 3 and the width of the third group is Relative to Container with width 0. Under Xcode 6/watchOS 1.0 the width of the third group takes up the remaining width of the outer group. In Xcode 7/watchOS 2.0, the width of the third group is actually 0. It seems like I have to use Fixed Width and explicitly specify the remaining width, making adjustments for 42mm versus 38mm. Is there any way to set the width the third group such that it automatically takes up the remaining width of the outer group as I was able to do with Xcode 6/watchOS 1.0?
I'm attempting to recreate the falling blocks demo in the Scene Kit session using Scene Kit Editor. I am able to create the blocks (nodes) and set their dimensions. I have not found a way to select the three blocks by clicking outside the blocks and dragging a selection box over the blocks to group them. I have moved the camera to ensure it is not in the way. I can shift click all three blocks but this action does not group the three blocks as one object so attempting to rotate the grouped blocks does not work as intended.Any thoughts? Thanks for any ideas.
Unfortunately, Apple's documentation seems to indicate that apps that rely on shared groups between the main app and the Watchkit extension will have to be reworked for 2.0, so that's at least one instance where 2.0 won't be backward compatible.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Shared groups will need to be reworked but I think how shared groups worked originally shows a great deal about the extention lifecycle for new and old apps will work on watchOS 2.0Shared groups relied on the process running in the same contianer to share data. Since the WatchKit Extention is moving to the watch and running in its own process the shared groups functionality is broken. Apple is explicitly saying apps that used shared groups will need to be reworked but understanding the underlying reason why makes me confident that any watch app that was using an iOS only framework or library will have that funtionality break in watchOS 2.0 if the watch app has not been reworked.However, I am confident that developers will be given plenty of time to submit watchOS 2.0 apps before its offical launch.
Topic:
App & System Services
SubTopic:
Core OS
Tags:
This is the crash report :Process: Xcode [570]Path: /Applications/Xcode.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 6.3.2 (7718)Build Info: IDEFrameworks-7718000000000000~2App Item ID: 497799835App External ID: 812404257Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [570]User ID: 501Date/Time: 2015-06-17 13:55:50.417 -0500OS Version: Mac OS X 10.10.3 (14D136)Report Version: 11Anonymous UUID: 62FC1C66-70DA-161C-D548-575494D67226Time Awake Since Boot: 710 secondsCrashed Thread: 17 Dispatch queue: NSOperationQueue 0x7f808b240380 :: NSOperation 0x7f808b13c930 (QOS: USER_INITIATED)Exception Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Application Specific Information:ProductBuildVersion: 6D2105ASSERTION FAILURE in /SourceCache/IDEFrameworks/IDEFrameworks-7718/IDEFoundation/Issues/IDEIssueManager.m:457Details: This method must only be called on the main threadObject: <IDEIssueManager>Method: +_issueProviderInfoThread: <NSThread: 0x7
Topic:
Developer Tools & Services
SubTopic:
Xcode
Tags:
I've got a watchOS 1 app that relies on App Groups and shared NSUserDefaults. This app seems to be working perfectly fine in the watchOS 2 simulator, suggesting that watchOS 2 has some sort of compatibility mode for watchOS 1 apps.I also asked Jake Behrens (watchOS frameworks evangelist/engineer) whether or not watchOS 1 apps would work unmodified on watchOS 2. He said yes (though didn't really provide any details). https://twitter.com/behrens/status/611265719553142784
Topic:
App & System Services
SubTopic:
Core OS
Tags:
Thank you LCS. I ignored that the nilable came from the Obj-C header (but that's totally logical). Indeed, my question is more for the GameKit group now.(In fact, maybe it's because of the new Guest player. I will test a little bit more this possibility).Thanks for your answer!Alexis.
Topic:
Programming Languages
SubTopic:
Swift
Tags: