iphone Programming Glossary: cfmutabledictionaryref
OpenGL ES 2d rendering into image http://stackoverflow.com/questions/10455329/opengl-es-2d-rendering-into-image 2011 12 08 rendering to a texture with ios 5 texture cache api CFDictionaryRef empty empty value for attr value. CFMutableDictionaryRef attrs empty CFDictionaryCreate kCFAllocatorDefault our empty IOSurface properties dictionary NULL NULL 0 kCFTypeDictionaryKeyCallBacks..
IOSurfaces - Artefacts in video and unable to grab video surfaces http://stackoverflow.com/questions/14135215/iosurfaces-artefacts-in-video-and-unable-to-grab-video-surfaces width IOSurfaceGetWidth screenSurface uint32_t height IOSurfaceGetHeight screenSurface m_width width m_height height CFMutableDictionaryRef dict int pitch width 4 size width height 4 int bPE 4 char pixelFormat 4 'A' 'R' 'G' 'B' dict CFDictionaryCreateMutable kCFAllocatorDefault..
objc_setAssociatedObject unavailable in iPhone simulator http://stackoverflow.com/questions/1916130/objc-setassociatedobject-unavailable-in-iphone-simulator 01403 typedef uintptr_t objc_AssociationPolicy @implementation NSObject OTAssociatedObjectsSimulator static CFMutableDictionaryRef theDictionaries nil static void Swizzle Class c SEL orig SEL new swizzling by Mike Ash Method origMethod class_getInstanceMethod..
Getting iPhone's battery level http://stackoverflow.com/questions/3276975/getting-iphones-battery-level CFRunLoopAddSource CFRunLoopGetCurrent IONotificationPortGetRunLoopSource nport kCFRunLoopDefaultMode CFMutableDictionaryRef matching IOServiceMatching IOPMPowerSource kern_return_t kr IOServiceAddMatchingNotification nport kIOFirstMatchNotification.. writing something simple to log the equivalent. ioreg is part of IOKitTools and it should just compile on iPhone. Edit CFMutableDictionaryRef matching properties NULL io_registry_entry_t entry 0 matching IOServiceMatching IOPMPowerSource matching IOServiceNameMatching..
Managing multiple asynchronous NSURLConnection connections http://stackoverflow.com/questions/332276/managing-multiple-asynchronous-nsurlconnection-connections asynchronous requests. iphone objective c cocoa cocoa touch share improve this question I track responses in an CFMutableDictionaryRef keyed by the NSURLConnection associated with it. i.e. connectionToInfoMapping CFDictionaryCreateMutable kCFAllocatorDefault..
iOS SDK - Programmatically generate a PDF file http://stackoverflow.com/questions/4362734/ios-sdk-programmatically-generate-a-pdf-file code block sets up our PDF Context so that we can draw to it CGContextRef pdfContext CFStringRef path CFURLRef url CFMutableDictionaryRef myDictionary NULL Create a CFString from the filename we provide to this method when we call it path CFStringCreateWithCString..
PDF Generation From UIScrollView + iphone http://stackoverflow.com/questions/5268943/pdf-generation-from-uiscrollview-iphone This code block sets up our PDF Context so that we can draw to it some code here CGContextRef pdfContext CFURLRef url CFMutableDictionaryRef myDictionary NULL NSArray documentPath NSSearchPathForDirectoriesInDomains NSDocumentDirectory NSUserDomainMask YES This..
Convert html file to PDF Document in iOS using Cocoa-Touch http://stackoverflow.com/questions/6316192/convert-html-file-to-pdf-document-in-ios-using-cocoa-touch code block sets up our PDF Context so that we can draw to it CGContextRef pdfContext CFStringRef path CFURLRef url CFMutableDictionaryRef myDictionary NULL Create a CFString from the filename we provide to this method when we call it path CFStringCreateWithCString..
How to write exif metadata to an image (not the camera roll, just a UIImage or JPEG) http://stackoverflow.com/questions/9006759/how-to-write-exif-metadata-to-an-image-not-the-camera-roll-just-a-uiimage-or-j code CFDictionaryRef metaDict CMCopyDictionaryOfAttachments NULL imageSampleBuffer kCMAttachmentMode_ShouldPropagate CFMutableDictionaryRef mutable CFDictionaryCreateMutableCopy NULL 0 metaDict Create formatted date NSTimeZone timeZone NSTimeZone timeZoneWithName..
|