Search results for

A Summary of the WWDC25 Group Lab

10,092 results found

Post

Replies

Boosts

Views

Activity

WKInterfaceTable, minimum row height?
Greetings,I am working on a WatchKit 1 extension for one of my iOS apps. One of my storyboard scenes is designed as follows:WKInterfaceTable- Row- - WKInterfaceGroup- - - WKInterfaceLabelThe group's height is configured as Size to Fit Content and the label's number of lines is 0. The end result is a table with variable sized rows, which was the intended outcome. However, I'm looking for a way to set a minimum row height on the rows so I don't end up with thin rows that are harder to click for the user.Any suggestions?
1
0
1.2k
Jul ’15
Reply to Trackpad issue for iPhone 6 Plus on iOS 9 beta 3
I have the same problem. I checked at my local cocoa heads group, and it appears to be gone for everyone. Looking at the iOS page on Apple.com, it is unclear on whether iPhone is supposed to have this feature - all the pictures are of iPad, and I guess it implies iPad only. I hope not, it's a great feature - I really miss it in the less than 24 hours since I installed beta 3. Turns out I was using it a LOT on my iPhone.
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’15
Beta Entitlement
I uploaded new build for Apple’s TestFlight Beta Testing but I am not finding option to submit to Apple even after enabling the switch “TestFlight Beta Testing” and there is a yellow warning icon next to the uploaded build. And if I go to the page after clicking warning icon “No Beta Entitlement” is written there.Since my project contains both app and the keyboard extension, and I am already using “App Groups” so I do have two code signing entitlement files one for main project and other for keyboard extension.I tried to solve this by the following but its not resolved yet:1. I manually added following in both code signing entitlement files: <key>beta-reports-active</key><true/> but then I found the following error during generation of ipa from xcode achieve:“Failed to locate or generate matching signing assets:”“No matching provision profiles found for “Applications/<my app name>.app””2. I recreated provisioning profiles but same issue occurs.Another point is that it was work
0
0
476
Jul ’15
App as iBeacon
I have tested a code which converts iPhone into iBeacon and other devices can detect that iBeacon, I was wondering if I integrated this with one of my Apps feature and submitted it to App Store, would they approve it or not? I am planning to use this in order to form group of user in close proximity, where one user acts as iBeacon transmitter and other detect that and show up as group member when they are close enough.
2
0
434
Jul ’15
Reply to How can I animate a radial gradient ?
I'm not finding documentation that says animating NSColor-typed properties is supported, but give it a try. It seems like it would be an easy thing for AppKit to support.If it doesn't work and you're working with RGB colors, you can make three properties, red, green, and blue, of type CGFloat. (Or, if it makes more sense for your needs, you can use hue, saturation, and brightness.) You'd create the necessary NSColor from those components as necessary (probably in -drawRect:). You can animate any or all of those properties in a given animation group. A linear, component-wise interpolation may not be a completely colorimetrically correct approach, but it will probably work well enough.
Topic: Media Technologies SubTopic: Audio Tags:
Jul ’15
Xcode 7b3 crashes on startup or when trying to open the "Source Control" menu in the welcome screen
Xcode 7 opens on my machine and displays the welcome screen.No matter if I try to create a new project, a new playground, open an existing project or just simply click on the Source Control menu item, Xcode crashes.Here's the crash log:Process: Xcode [1648]Path: /Applications/Xcode-beta.app/Contents/MacOS/XcodeIdentifier: com.apple.dt.XcodeVersion: 7.0 (8163.8)Build Info: IDEFrameworks-8163008000000000~7Code Type: X86-64 (Native)Parent Process: ??? [1]Responsible: Xcode [1648]User ID: 501Date/Time: 2015-07-11 00:28:25.877 +0200OS Version: Mac OS X 10.10.4 (14E46)Report Version: 11Anonymous UUID: AD950ABF-0685-8CAC-243D-0EC576F72EE4Time Awake Since Boot: 2700 secondsCrashed Thread: 0 Dispatch queue: IDESourceControlTree Change QueueException Type: EXC_CRASH (SIGABRT)Exception Codes: 0x0000000000000000, 0x0000000000000000Application Specific Information:ProductBuildVersion: 7A152uASSERTION FAILURE in /Library/Caches/com.apple.xbs/Sources/IDEFrameworks/IDEFrameworks-8163.8/IDEFoundation/SourceControl/Model/IDESo
3
0
1.3k
Jul ’15
Xcode 7 beta 3 crash every time at startup
My proble is that I can't run XCode 7 because it crash at startup! I tried to restart the MAC, remove and re install XCode but nothing to do! I'm so frustrated about this issue! Here belo the crash report of XCode. Please help me...Process: Xcode [1012] Path: /Applications/Xcode-beta.app/Contents/MacOS/Xcode Identifier: com.apple.dt.Xcode Version: 7.0 (8163.8) Build Info: IDEFrameworks-8163008000000000~7 Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: Xcode [1012] User ID: 501 Date/Time: 2015-07-11 09:37:48.062 +0200 OS Version: Mac OS X 10.10.4 (14E46) Report Version: 11 Anonymous UUID: 9AE5A2B5-E5A8-37F4-E7B7-C9E99A3CB864 Sleep/Wake UUID: 60DC0ED0-51DA-4158-B5FF-F5B35B44D0A4 Time Awake Since Boot: 9200 seconds Time Since Wake: 6500 seconds Crashed Thread: 0 Dispatch queue: IDESourceControlTree Change Queue Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Application Specific Information: ProductBuildVersion: 7A152u ASSERTION FAILURE in /Library/Cach
2
0
1.7k
Jul ’15
@IBOutlet Arrays in WatchKit?
Defining multiple WKImages or WKInterfaceGroups into an array should be possible in Swift the same way it is for UIKit elements -- @IBOutlet var images: Array<WKImage>?but there seems to be no way to link them through Interface Builder. Is this functionality not there yet, broken, or just not coming? Or am I missing something?Any suggestions or workarounds for dealing with lots of images or groups on one view? Control-dragging each and making giant arrays seems quite inefficient.Thanks!
1
0
156
Jul ’15
CAAnimationGroup won't animate
Either of these animations work by themselves but when combined in an animation group, nothing appears. (I comment out one or the other in following code).What am I doing wrong?if (![annotationView.layer animationForKey:@alphaAndScaleAnimationGroup]) { CABasicAnimation *scaleAnimation = [CABasicAnimation animationWithKeyPath:@transform.scale]; scaleAnimation.fromValue = [NSNumber numberWithFloat:0.0f]; scaleAnimation.toValue = [NSNumber numberWithFloat:1.0f]; CABasicAnimation *alphaAnimation = [CABasicAnimation animationWithKeyPath:@opacity]; alphaAnimation.fromValue = [NSNumber numberWithFloat:0.10f]; alphaAnimation.toValue = [NSNumber numberWithFloat:0.0f]; CAAnimationGroup *group = [CAAnimationGroup animation]; group.duration = 2; group.repeatCount = INFINITY; group.autoreverses = NO; group.removedOnCompletion = NO; group.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]; [group setAnimations:[NSArray arrayWithObjects: scaleAnimation, a
1
0
1.1k
Jul ’15
How to use NSSecureCoding with id objects
I'm creating a linked list and using containers to group the object, next, and previous properties. Like Foundation collections, I'd like it to implement NSSecureCoding. Here's the declaration: @interface ListContainer : NSObject <NSCopying, NSSecureCoding> @property (readonly, nonatomic) id object; @property (nonatomic) ListContainer * next; @property (nonatomic) ListContainer * previous; @endWhen implementing the - initWithCoder: method it hit me that I don't know what class to use for the object: - (instancetype)initWithCoder:(NSCoder *)aDecoder { self = [super init]; if (self) { _object = [aDecoder decodeObjectOfClass:<#(__unsafe_unretained Class)#> forKey:@object]; BOOL nextIsNil = [aDecoder decodeBoolForKey:@nextIsNil]; if (!nextIsNil) { // Decode next _next = [aDecoder decodeObjectOfClass:[ListContainer class] forKey:@next]; if (_next == nil) { return nil; } // Link the nodes manually to prevent infinite recursion self.next.previous = self; } } return self; }Should I use -decodeObj
0
0
435
Jul ’15
Reply to Advanced NSOperation & Earthquakes
Hi Nagan, I'm exactly in that trouble right now. I have a group operation with 3 sub operations. Two (A and B) are for collecting some information and the third (C) should than handle/display this informations.I made C dependent of A & B. But now I'm not sure how to pass the infos to C. Did you find out a proper way to do that?
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’15
Reply to El Capitan Public Beta Installation Failing
diskutil repairDisk disk0Output: Repairing the partition map might erase disk0s1, proceed? (y/N)diskutil listOutput: /dev/disk0 (internal, physical): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme *250.1 GB disk0 1: EFI EFI 209.7 MB disk0s1 2: Apple_HFS Macintosh HD 249.2 GB disk0s2 3: Apple_Boot Recovery HD 650.0 MB disk0s3/dev/disk1 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: GUID_partition_scheme +2.1 GB disk1 1: Apple_HFS OS X Base System 1.3 GB disk1s1/dev/disk2 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: untitled +5.2 MB disk2/dev/disk3 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: untitled +524.3 KB disk3/dev/disk4 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: untitled +524.3 KB disk4/dev/disk5 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: untitled +524.3 KB disk5/dev/disk6 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: untitled +524.3 KB disk6/dev/disk7 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: untitled +524.3 KB disk7/dev/disk8 (disk image): #: TYPE NAME SIZE IDENTIFIER 0: untitled +6.3
Topic: App & System Services SubTopic: Core OS Tags:
Jul ’15