Search results for

A Summary of the WWDC25 Group Lab

10,092 results found

Post

Replies

Boosts

Views

Activity

Reply to Spotlight Index Extension
Some answers to your questions. When the extension methods get called is an implementation detail, but your point about being able to test them is well taken. I am trying to get more details in this area and will post them here in the forums when I have them. In the meantime, my recommendation woudl be to factor out your searching code into a shared framework that both your app and your search extension can use. This would allow you to test the code in the context of your app in the interim. Yes, apps and their extensions have separate sandboxes. You would want to use a shared app group container for any shared data that might be necessary to accomplish re-indexing from the extension. And again, factoring out any common code into a shared framework can help simplify things like accessing resources in your group container. With regard to the content type, I don't know the answer to why it wouldn't work. Please file a bug report (and post the number here). If you can provide a small test proje
Topic: App & System Services SubTopic: General Tags:
Jul ’15
Xcode 7 crashes on opening anything
Process: Xcode [89774]Path: /Applications/Xcode-beta 2.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 7.0 (8123.33)Build Info: IDEFrameworks-8123033000000000~10Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [89774]User ID: 501Date/Time: 2015-07-02 23:42:24.739 +0300OS Version: Mac OS X 10.11 (15A204h)Report Version: 11Anonymous UUID: 5EDD5FFB-3302-94EC-0AF4-702AB7468336Sleep/Wake UUID: D4041EA4-20AE-40BD-BA32-828987C995C4Time Awake Since Boot: 41000 secondsTime Since Wake: 10000 secondsCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_BAD_ACCESS (SIGSEGV)Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYVM Regions Near 0:--> __TEXT 0000000103d8d000-0000000103d8e000 [ 4K] r-x/rwx SM=COW /Applications/Xcode-beta 2.app/Contents/MacOS/XcodeApplication Specific Information:ProductBuildVersion: 7A121lThread 0 Crashed:: Dispatch queue: com.apple.main-thread0 libsystem_c.dylib 0x00007fff903071f2 strlen + 181 com
1
0
464
Jul ’15
Reply to Apple Pay/Music in UK on iOS 9
Apple has said that Pay is coming to the UK in July - no specific date mentioned. There's a summary of current info in the link below.Launching Pay in the UK doesn't require iOS changes - all the requirements are at the bank/merchant end - so there's no need tor new software (Pay is already live in the US on iOS 8).Music will, according to fr=urther tweets from Eddie Cue, be in the next iOS 9 beta, next Tuesday.http://www.macworld.co.uk/feature/apple/complete-guide-apple-pay-when-will-apple-pay-launch-in-uk-release-date-barclays-3544309/
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’15
SF Content Blocker can't read user defaults on device.
I've been working on a Content Blocking application for some time now. I have a switch in the main app that should turn of the blocking filter. The value of this switch is saved in an NSUserDefaults property that's enabled with App Groups so the blocking extension can read whether it's enabled or not (if blocking is enabled it returns a full json list and if not it returns an empty one).On Simulator this works just fine, but when I start running it on a device (tested on 5s and 5c) the extension can't read the properties from the UserDefaults anymore (it always returns nil) and the application can't read the properties from the extension anymore.I think it has something to do with the App Groups, but I can't seem to find any problems with that (it's enabled in Capibilities etc.) so I'm a bit lost. Has anyone ever had this problem? If so, were you able to fix it?I'm using Xcode 7 beta, iOS 9 beta2 and Mac OS X Yosemite.
0
0
372
Jul ’15
Reply to watchkit help needed
Actually, I need to call the methods written in my iOS app code, when I touch button in the watch app. I tried using shared data - App Groups, but it's not something real time. For example, if I have a button in iOS app, on pressing that one label gets changed. I need to do the same with a button on my watch. When I press the button on my watch it should call the same method and change the label in iPhone app. Is it possible some how ?
Topic: App & System Services SubTopic: General Tags:
Jul ’15
Reply to Shortcut bar API
I am trying to hide the extra bar, I can remove the elements but the bar takes up space on the screen. Any ideas.Here is my code: NSArray *barButtonItems = @[ ]; UIBarButtonItemGroup *group = [[UIBarButtonItemGroup alloc] initWithBarButtonItems:barButtonItems representativeItem:nil]; self.inputAssistantItem.leadingBarButtonGroups = @[ group ]; self.inputAssistantItem.trailingBarButtonGroups = @[ group ];
Topic: UI Frameworks SubTopic: UIKit Tags:
Jul ’15
Reply to Unable to pair Watch with iOS9?
Ok, I was able to do it! Download the configuration profile directly on your iphone:Login into your developer profile on your iphone, get on SDK group and then click on watch OS2. There will be the link to the configuration profile and you can do it directly on your phone. Good luck!
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’15
Animate WKInterfaceObject width to/near zero?
I'd like to animate the width of a number of WKInterfaceObjects (buttons, groups) to zero or virtually zero. However, the setWidth reference says Specify 0.0 to revert to the width specified in your storyboard file. I'd be OK with specifying a width of 0.001 or even 0.1 but setWidth interprets anything less than 0.25 as zero. Not an issue for a single object, but I have 12 of them stacked up and can't get a smooth animation from the final 12 * 0.25 points to zero. (This is on watchOS 2)I'll file a bug report but does anyone have a workaround?Thanks.
2
0
271
Jul ’15
Don't Use Static Cells For Moving Yet Known Table View Items?
Hi,Context: The following is for iPhone only and I don't have to worry about the device rotating. In old terms, it's portrait mode only. iPhone 4s, 5... to iPhone 6+. iOS 7 and iOS 8.If I have a known set of items in a table, normally that would suggest static cells in a TableViewController. However, when one of the cells gets completed / satisfied, it will move up into a group of all the other completed cells. If a cell gets cleared, it goes back down to its original position relative to other non-completed items.So, even though the content is known, don't use static cells because they move right? That's my assumption, but I wanted to be sure.Thanks!
Topic: UI Frameworks SubTopic: UIKit Tags:
0
0
130
Jul ’15
Reply to Implicit animation of strokeStart plays before delayed explicit
To answer both of your questions:1. CATransaction is fairly global, almost exactly like NSAnimationContext if you're familiar with that. The transaction applies to anything and everything that is triggered inside of its grouping (denoted by the begin() and commit() functions). 2. I stopped using Core Animation because I haven't needed its unique behavior for a while. It's very specialized software, so during the development of my app (which is very graphics-intensive), I realized that the CA-based core wasn't capable of delivering what I needed. So there might be a better alternative depending on what you're trying to create, but Core Animation is still useful and valuable. I think you've Besides, its rendering system has been upgraded to use Metal, so it should continue to stay relevant for quite a while yet.
Topic: Media Technologies SubTopic: Audio Tags:
Jul ’15
Upgrade to an inApp purchases
I have distributed my application for a single fee when downloaded. I need upgrade my app for 2 ways of distribution: 1) A single fee for a non-consumable subscription. All previously purchased apps must be in this group. 2) An auto-renewable subscription on a monthly basisWhat is the best way to perform these updates to an already distributed app?
1
0
436
Jul ’15
Reply to Why doesn't my view auto resize after rotation?
I've tested mostly with simulators but also with my iPad with the same results. Not using size classes. Thanks for your response. I appreciate any and all comments. I'm going to try to educate myself a little better about auto layout and constraints and such. Sure wish we had a local group where we could all meet in person and actually look at each others' apps. Anyway, thanks again to all for your comments.
Jul ’15