Search results for

A Summary of the WWDC25 Group Lab

10,087 results found

Post

Replies

Boosts

Views

Activity

Reply to Any news on reflection in Swift 2.0?
Sorry, meant to come back to this thread days ago...As others have noted, Swift 2 doesn't seem to support what you want it to do. I see a workaround, though... There's still boilerplate code, but it seems less error-prone to meFirst, we need a way to iterate over the enum cases (and provide their default values):class StoryBookStateGenerator : AnyGenerator<StoryBookState> { var optcase:StoryBookState? = nil override func next() -> Generator.Element? { if let cas = optcase { switch cas { case .Welcome: optcase = .Praise(nil, nil) case .Praise: optcase = .InvitationToRepeat(nil, nil) case .InvitationToRepeat: optcase = .TurnToNextPage(nil) case .TurnToNextPage: optcase = .End case .End: optcase = nil } } else { optcase = .Welcome(nil) } return optcase } }Second, we need a way to parse the source code and extract the case labels. For some reason, I couldn't get String(contentsOfFile) to work. Fortunately, someone on stackoverflow was kind enough to post a class that'll read each line of a file into a [S
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15
Upload from Xcode crashing
HelloYesterday I successfully uploaded a build to iTunes Connect from inside XCode Version 6.3.2 (6D2105), but today, every time I try to upload XCode crashes.I have tried cleaning, rebuilding, restarting my laptop.I am starting to think this is a bug in Xcode or some kind of change between how Xcode & the store interact to upload my build.Has anyone else seen this or something like it?Are there any work arounds to upload a build to the store?Thank youRayCRASH LOG:Process: Xcode [952]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 [952]User ID: 501Date/Time: 2015-06-17 18:34:32.916 -0700OS Version: Mac OS X 10.10.3 (14D136)Report Version: 11Anonymous UUID: 37388F5A-50D7-FA67-C88B-B59927DE7E82Time Awake Since Boot: 620 secondsCrashed Thread: 17 Dispatch queue: NSOperationQueue 0x7fe241ba0b90 :: NS
6
0
1k
Jun ’15
xcode crashing when submitting to app store
Xcode started crashing when I submitt the app to the app store. Starts uploading and then crashes;-Any help would be great Thanks 🙂Process: Xcode [901]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 [901]User ID: 501Date/Time: 2015-06-18 11:56:49.680 +0100OS Version: Mac OS X 10.10.3 (14D136)Report Version: 11Anonymous UUID: 94F7BB97-75BE-AD36-EAE9-7A9A74443C6FTime Awake Since Boot: 1200 secondsCrashed Thread: 31 Dispatch queue: NSOperationQueue 0x7ffcdc1cbd70 :: NSOperation 0x7ffcdc1ab340 (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 c
3
0
695
Jun ’15
is it illegal to redirect from my app to Facebook groups ? to other people website ?
hello developers , i developed an app that has tabs , each tab redirect users to a certain facebook group, is that illegal?(some games have facebook group )the second question , i have an account for a website that i can watch movies on , i was thinking of adding another tab which redirect users to this website and be signed as my account so they can watch movies as well , is that illegal ?thank you very much
0
0
109
Jun ’15
keychain OS 2.0
I know group containers are no longer allowed with OS 2.0 but was wondering if this also includes keycain accessGroup.I have looked at the migration docs and don't see any specific mention of keychain. Can anyone (Apple) shed some light on this??? Thanks!
9
0
7.3k
Jun ’15
Reply to Best distribution channel
Thank you for your reply. It wouldn't be a problem to act as a consultant for the client helping them to distribute the app. However the problem seems to be at the bottom of the chain reaching non-business users. If I understand correctly, VPP can only be distributed to individual employees of the company issuing the App. In my case, the end users will be a mix of business and non business users.In summary, non-business users can only use the public AppStore or alternative but non viable solutions (eg. ad-hoc installs)
Jun ’15
Missing Info in Watch HIG
I've searched all over, but I cannot find any specifications for the image sizes used in the complications that have images for both the 38 and 42mm watches. Creating a new project with complications creates an asset library with a complicaitons group, but I have not found any specs anywhere.Specifically:1) ModularSmallStackImage2) ModularSmallRingImage3) ModularSmallSimpleImage4) ModularLargeStandardBody (header image)5) ModularLargeTable (header image)6) ModularLargeColumns (row images)7) UtilitarianSmallFlat8) UtilitarianSmallSquare9) UtilitarianSmallRingImage10) UtilitarianLargeFlat11) CircularSmallSimpleImage12) CircularSmallRingImage13) CircularSmallStackImage (line 1)Can anybody please help?
1
0
233
Jun ’15
Solutions for Better Battery Life on Beta 1 - Confirmed for Mult. Devices
Update: 6/21/2015 - 3:43 AM PST - Added third step that may resolve certain issues stemming from prior iOS backups restoring to iOS 9 Beta 1.OK we've done our 24 hours of testing and can very safely conclude that all battery life issues accross three different devices included in the test have been entirely resolved and now the devices are not heating up, charging normally, and retaining a normal rate of discharge on standby. In additio, battery use reports within Settings confirm that the Homescreen no longer is consuming a substantial (more than 20%) portion of the average use of total battery power. (devices are normalizing data still, however to ensure none of you suffer this any further here are the necessary changes)1. Completely disable iCloud Backups on each device running iOS 9 Beta 1 (Use iTunes to Backup and restore devices for now.)2. Disable iCloud drive (if you enabled it) on each device running Beta 13. If you restored a backup from iOS 8.4, 8.3 or earlier after upgrading to 9.0 Beta 1 then you
33
0
7.7k
Jun ’15
watchOS 2 Keychain
I know that with watchOS 2 group containers are no longer allowed however I would like to know if this alos applies to accessGroup for keychain. I did not see any specific mention of this in the Apple Migration Docs. Will keychain with accessGroup still work in watchOS 2 or do we need to figure out some other way to track user login status???
0
0
355
Jun ’15
Reply to this core storage operation is not allowed on a sparse logical volume group
Long story short, you're going to have to wipe your HD and reinstall.Long story long, run a backup (Time Machine is fine), then boot into Recovery Mode. From there, you'll have to do some command line work, so if you're not comfortable doing that, your best bet is to either wait till Apple provides a solution or hold off on installing the beta. If you're OK with working through the command line, from the Utilities menu, choose Terminal and enter:diskutil coreStorage listand see what returns. My drive had 5 or 6 branches to the tree it will display and, I believe, this is where the problem lies. How they got there I'm not sure. Maybe it was a relic from installing Yosemite betas. Either way, they are what was causing the problems for me. I believe the default number of entries (look for the + symbol in the results) to be four listings. I then ran:diskutil coreStorage delete insert base Logical Volume Group name herewhere you will insert whatever the name of the base level Logical Volume Group
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
help me please, Xcode 6.3.2 quits unexpectedly when submitting to iTunes Stores
Xcode 6.3.2 quits unexpectedly when submitting to iTunes StoresHello,It seems that everytime I submit to the app store, Xcode quits unexpectedly.Here's a screenshot of the Xcode Report Problem:So I have a valid distribution profile. I was able to archive. When I click the validate button, the archive was validated. But when I actually submit to the app store, Xcode just quits unexpectedly right when it starts Uploading ArchiveIs there anything I need to do before I make an archive in Xcode? Is it an Xcode 6.3.2 problem?Process: Xcode [3276] Path: /Applications/Xcode.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 6.3.2 (7718) Build Info: IDEFrameworks-7718000000000000~2 App Item ID: 497799835 App External ID: 812404257 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Xcode [3276] User ID: 501 Date/Time: 2015-06-19 15:13:34.165 +0700 OS Version: Mac OS X 10.10.3 (14D136) Report Version: 11 Anonymous UUID: 7712FAC3-808B-7650-2B59-856F778E8370 Sleep/Wake UUID: 61663078-DBA5-4EFB-A
1
0
978
Jun ’15
Reordering View Controllers in the Document Outline when in the Storyboard
Greetings everyone.It looks like the forum look has changed.OK, here is my small problem. I have been working on a comic book with animation and sound on some of the pages. In the storyboard I have built alot of View Contorllers. As I create a new View Controller it shows up in the Document Outline on the left of the storyboard. I want to reorder those view controllers into groups in the document outline so it makes more sense visually.I tired dragging them but they stay put. Is there an other way to do this?JR
7
0
3.7k
Jun ’15
Core foundation Pacific/Apia timezone
There about 4 years since Pacific/Apia timezone has been switched from GMT-11, to GMT+13. However checked on MacOsX 10.9, and latest 10.10, there are still problems with CFTimeZoneCopyLocalizedName, that reports old timezone offset. Also system time zone utility shows same thing that makes me thing that icu4c.Similar issues were discussed on google groups and initialy android code contains WA because of ICU4c problems. Current code doesnt have any WA. They either use updated icu4c or customized dat file, i'm not sure.https://android.googlesource.com/platform/libcore/+/77a1f19296d34e6ab74f044f56fa8a0aaa0e6619%5E!/So the question is when we can expect fix for that timezone from Apple, since it can affect any samoa users of MacOs?
1
0
439
Jun ’15
Reply to keychain OS 2.0
> Is this documented anywhere, especially that part about The keychain on> Apple Watch contains a distinct set of entries from the keychain on the> paired iPhone I couln't find the information on the migration docs. >No, not explicitly. It's implied by the over all architecture of native watchapps and, by extension, the fact that app group data is not being shared.> Also, just to confirm, accessGroups won't work with watchOS 2?>I don't if we've talked about how app groups would work among multiple vendorapps running on the same watch, but I suspect they'd work in that sense.However, they won't work between the watch and the iPhone, which is what Ithink you meant.-Kevin
Topic: App & System Services SubTopic: General Tags:
Jun ’15