cocoa
NSMutableURLRequest with multiple headers
I\'m trying to create a synchronous REST request to an API. The API uses HTTP Basic authentication, so in addition to sending an Accept: application/json header, I need to specify the Authorization he[详细]
2023-04-13 04:20 分类:问答Can't get my Mac App signed for testing receipt validation
I have my \"Mac Developer: ...\" certificate installed and it is valid. I have the Apple Worldwide Developer Relations intermediate ceritficate as well.[详细]
2023-04-13 02:49 分类:问答QTKit, capture video for live streaming
I am trying to create an application for the Mac that would create live video streaming. I know about VLC and other solutions, but still.[详细]
2023-04-13 02:20 分类:问答Moving array controller initialization from nib to code breaks table view bindings
My window controller subclass is the nib\'s owner. I instantiate my array controller, in code, in my document subclass. Both the doc开发者_StackOverflowument and window controller use it in code.[详细]
2023-04-13 01:45 分类:问答strange warnings for transformable attribute
I was using transformable attributes and everything work fine instead of those warnings: 15.10.11 22:14:07,191 cdtool: CoreData: warning: no NSValueTransformer with class name \'ArrayToDataTransforme[详细]
2023-04-13 01:21 分类:问答NSButton white background when clicked
When creating Cocoa bevel button with custom image and alternate image I\'m having a strange behavior. In the pressed state the button background becomes white.[详细]
2023-04-13 00:10 分类:问答iOS develop about NSOperationQueue
I know the two ways to get a operation queue as follow: queue1 = [[NSOperationQueue alloc] init]; queue2 = [[NSOperationQueue mainQueue] retain];[详细]
2023-04-12 22:53 分类:问答Is -makeWindowControllers the best place to initialize an NSPersistentDocument?
When loading an existing document开发者_如何学JAVA using NSPersistentDocument, as part of initialization I\'d like to prepare some content:[详细]
2023-04-12 22:09 分类:问答Hide the dock programmatically on Mac OS X
I am working on a new software for Mac OS X Snow Leopard, and one of the features I need to 开发者_开发百科implement is when my application starts, hide the Dock completely and block Spotlight from wo[详细]
2023-04-12 21:26 分类:问答Unable to write NSArray to file
I am using google contact data objective c APIs for fetching contacts. I got contacts array from google server now i want to write contact to file. i am using writeToFile:atomically: method for writin[详细]
2023-04-12 20:05 分类:问答