Search results for

missing package product

50,279 results found

Post

Replies

Boosts

Views

Activity

Reply to time service
An iOS device will make Time Service to a BLE peripheral. The Time Service implemented internally by iOS and you do not need to (or rather, should not) advertise it in your app.Section 3.11.4 Available Services of the Bluetooth Accessory Design Guidelines for Apple Products (https://developer.apple.com/hardwaredrivers/BluetoothDesignGuidelines.pdf) explains the Time Service and other services provided by iOS devices to BLE peripherals.Gualtier
Jun ’15
What is becoming of iWork for iCloud?
Hello, Apple Devs, during the week of WWDC, and even before then, I have not heard anything regarding the continuing beta status of the iWork for iCloud apps. I hope the apps are developed further into real productivity tools that can benefit consumers, pro users, and enterprise users alike, as it would be fantastic to have cloud-hosted Apple apps to use on OS X, iOS, and Watch OS platforms. What are your insights about this?
0
0
188
Jun ’15
Watch Connectivity - WCSessionDelegate methods not called (simulator)
I have setup WCSessions in both the appDelegate in the iOS app and in my InterfaceController and I am attempting to use sendMessage(_:replyHandler:errorHandler:) in the InterfaceController to send a message to the iOS app and receive a reply in the simulator.After connecting to both targets for debugging my breakpoint for sendMessage(_:replyHandler:errorHandler:) on the watch is hit but the subsequent call to didReceiveMessage(_:replyHandler) in the iOS app is not called. The error handler is not called either. The WCSessions should both be activated and the delegates are set as well (I have both apps open and in the foreground). The boolean value for session.reachable is true before attempting to call sendMessage(_:replyHandler:errorHandler:) Is there something else I am missing?If need be, I can post the code in question.
6
0
1.9k
Jun ’15
Auto generate swift protocol placeholders in implementation class
HiAfter I create a protocol I typically create concrete implmentation of the protocol.Xcode will say you have not implmented the required protocol methods in the implementation class, clas does not conform to protocol:Would it be possible to add a feature to Xcode where it will automatically generate dummy implmentations for the missing required protocol methods, a Fix-It type hint feature.In the eclipse Java IDE there is fix-it type feature Add unimplmented methods and generates dummy implementations which allows you to focus on the minmal methods you need to get implemented to get the app compiling and running.
4
0
4.0k
Jun ’15
Reply to Auto generate swift protocol placeholders in implementation class
More annoyingly, clients of the class will also complain, so you can't clean-compile other files until you've actually implemented the protocol.As a workaround, would it work for you to write the dummy implementations in a protocol extension? That would get rid of the errors, and you could copy and paste from there to your actual classes when you want to finish implementing them. Later on in the development cycle, you can delete the protocol extension, and then you'll get errors for anything you've missed.
Jun ’15
CILanczosScaleTransform performance
I am trying to use a CIFilter : CILanczosScaleTransform. Basically, I perform two basic steps :Feeding an image/video frame to the CIFilter and getting the output : CIFilter *f = [CIFilter filterWithName:@CILanczosScaleTransform];// Downscale the image [f setValue:[NSNumber numberWithFloat:scaleFactor] forKey:@inputScale]; [f setValue:[NSNumber numberWithFloat:1.0] forKey:@inputAspectRatio]; [f setValue:inputImage forKey:@inputImage]; CIImage *outImage = [f valueForKey:@outputImage];2. In the second step I render the image on to a CVPixel buffer CVPixelBufferLockBaseAddress( outputPixelBuffer, 0 ); [ciContext render: outImage toCVPixelBuffer:outputPixelBuffer]; CVPixelBufferUnlockBaseAddress(outputPixelBuffer, 0);Here the cicontext is created from a OpenGL context. EAGLContext *eaglContext = [[EAGLContext alloc] initWithAPI:kEAGLRenderingAPIOpenGLES2];NSDictionary *options = @{ kCIContextWorkingColorSpace : [NSNull null] }; CIContext *ciContext = [CIContext contextWithEAGLContext:eaglContext options:options ]
0
0
514
Jun ’15
records saved to the store lost during icloud core data 60s wait period...
To begin with, I get the following 2 messages the first time I launch my app and it tries to connect to iCloud...CoreData: iCloud: Error: initial sync notification returned an error (Error Domain=BRCloudDocsErrorDomain Code=12 The operation couldn’t be completed. (BRCloudDocsErrorDomain error 12.)) -[PFUbiquitySetupAssistant finishSetupWithRetry:](826): CoreData: Ubiquity: <PFUbiquitySetupAssistant: 0x147635ff0>: Retrying after delay: 60 Error Domain=BRCloudDocsErrorDomain Code=12 The operation couldn’t be completed. (BRCloudDocsErrorDomain error 12.)In this time period when the user adds a record to the store it doesn't appear in the table view as one would expect. After sometime when the app is connected to the icloud containers, I would expect it to show the record but its simply not there. However, any record added after the connection is set... works fine.can someone help me with this please?Neerav
2
0
660
Jun ’15
Reply to Java SE 6
Ouch. These solutions are not pretty. But apparently they would be necessary. The Adobe CC products are certainly not the only ones I use that require Java 6. It would be so much better if there were more attention from Apple developers on maintaining compatibility with legacy software that is commonly used.
Topic: App & System Services SubTopic: Core OS Tags:
Jun ’15
Error : Assertion failed: ((conforms || firstArchetype->getIsRecursive() || isOpenedAnyObject(replacement) || replacement->is<GenericTypeParamType>()) && "Constraint system missed a conformance?")
Occurs when you do this with extensions :protocol Ordered { func precedes(other: Self) -> Bool } class Number { var value: Double = 0 } extension Number: Ordered { func precedes(other: Number) -> Bool { return self.value < other.value } } extension Ordered where Self: Comparable { func precedes(other: Self) -> Bool { return self < other } }Reported in navigator as Command failed due to signal: Abort trap: 6Either of those extensions compiles fine by itself, crash only occurs when they both exist together.Workaround :extension Ordered where Self: Number { func precedes(other: Number) -> Bool { return self.value < other.value } }Radar21401180HTH
1
0
162
Jun ’15
Reply to Game rejected because it "does not connect with another player".
I've received feedback from App Review and it appears that inviting a friend causes the GKMatchmakerViewController to never dismiss, while the inviter says Finding Players... and the Invitee says Waiting for players.... However, using the 'Play Now' button of the GKMatchmakerViewController works correctly.I've attached the screenshots App Review provided from the inviter and invitee. All I can tell is that the inviter is trying to connect 4 players, 1 of which is a friend and the other 2 are auto-matched.My custom match request is initialized with the following defaults:- (instancetype)init { self = [super init]; if (self) { self.minPlayers = 2; NSUInteger peerToPeerMaxPlayers = [[self class] maxPlayersAllowedForMatchOfType:GKMatchTypePeerToPeer]; self.maxPlayers = MIN(peerToPeerMaxPlayers, ESGameMaxNumberOfPlayers); // ESGameMaxNumberOfPlayers = 5 #if DEBUG self.defaultNumberOfPlayers = 2; #else self.defaultNumberOfPlayers = 4; #endif } return self; }Any suggestions? I'm lost as to what I could have
Topic: Graphics & Games SubTopic: GameKit Tags:
Jun ’15
Custom mapping for USB keyboard-type device
I'm trying to create an advanced remapping utility for an external USB keyboard (to be specific, it is a Razer OrbWeaver gaming keypad -- which appears to OSX as a USB keyboard with only certain keys working).Motivation is that due to strain injuries I'm losing the ability to enter data into the computer, and this does not bode well for my future as a programmer. So I'm experimenting with alternative input systems.It isn't going to be as simple as mapping one key to another. One key might act as a modifier to influence the next keystroke, etc.So I'm looking to sink all key up/down events from this device, write my own mapping logic, and re-emit custom key up/down events.I've written some test code that uses a CGEventTap to intercept events. However, at this level it doesn't seem to be possible to determine which device is responsible for the event. It appears that to do this one must work at a lower level: IOKit.I've found https://github.com/Daij-Djan/DDHidLib which looks as though it may be the righ
Topic: UI Frameworks SubTopic: AppKit Tags:
2
0
1.1k
Jun ’15
Core Data in swift 2
Struggling with the syntax a bit, is there an example anywhere?I have a snippet of code here:let request = NSFetchRequest(entityName: StockCode) request.predicate = NSPredicate(format: ean == %@, ean) let results = managedContext.executeFetchRequest(request) as! [StockCode]Basically finding a product code from a bit list of them.The last line is giving Call can throw, but it is not marked with try and the error is not handledIf I was better with try/catch historically, then I may be able to solve it, but I've tried a few things and cant solve it. I'd really appreciate some help if there's enough info here to be able to. Thanks.
2
0
2k
Jun ’15
Reply to guard vs control-flow-aware typing?
Yes, you're 100% correct concerning the terminology, and (as fluidsonic pointed out and I had missed) you may also be 100% correct that compiler is allowing shadowing and not redefinition.However, I regret to inform you that what I really care about is what fluidsonic said, namely that 'guard let x = x' should be valid in the same situations where 'if let x = x' is valid. If that means that 'guard let' causes redefinition, so be it. If that means that 'guard' causes the rest of the original scope to be silently enclosed in an invisible scope so that it's shadowing instead of redefining, so be it. Etc.The whole point of the-language-feature-we-wanted-that-turned-out-to-be-guard-let is that it does what if-let does but (a) reverses the test, and (b) doesn't introduce any more indentation or nesting into the source. Otherwise, it's merely decorative.
Topic: Programming Languages SubTopic: Swift Tags:
Jun ’15