iphone Programming Glossary: core
Retrieving a pixel alpha value for a UIImage http://stackoverflow.com/questions/1042830/retrieving-a-pixel-alpha-value-for-a-uiimage my alpha values were what I expected CGContextSetBlendMode context kCGBlendModeCopy iphone uikit core graphics quartz graphics share improve this question Yes CGContexts have their y axis pointing up..
How can I animate the movement of a view or image along a curved path? http://stackoverflow.com/questions/1142727/how-can-i-animate-the-movement-of-a-view-or-image-along-a-curved-path can I create an animation of an image along a curve like this iphone objective c ios cocoa touch core animation share improve this question To expand upon what Nikolai said the best way to handle this..
How to Rotate a UIImage 90 degrees? http://stackoverflow.com/questions/1315251/how-to-rotate-a-uiimage-90-degrees target size BTW . Can any of you show me how to just ROTATE my UIImage 90 degrees CCW using just core graphics functions while preserving the current size UIImage reverseImageByScalingToSize CGSize targetSize.. ref CGContextRelease bitmap CGImageRelease ref return newImage iphone uikit uiimage core graphics rotation share improve this question What about something like static inline double radians..
JSON and Core Data on the iPhone http://stackoverflow.com/questions/2362323/json-and-core-data-on-the-iphone and Core Data on the iPhone I have a core data object graph consisting of two entities linked by a to many relationship . I was curious as a relatively.. approach and a suitable JSON implementation for the iPhone which would allow me to 1 convert the core data records into a JSON string whilst maintaining the relationship between the entities and 2 convert.. whilst maintaining the relationship between the entities and 2 convert the JSON string back into core data objects again preserving the relationship between entities . I have searched unsuccessfully for..
Objective-C categories in static library http://stackoverflow.com/questions/2567498/objective-c-categories-in-static-library a pre existing class with categories the linker does not know to associate the object code of the core class implementation and the category implementation. This prevents objects created in the resulting..
Cocoa Graphing/Plotting Framework that Works on iPhoneOS [closed] http://stackoverflow.com/questions/263472/cocoa-graphing-plotting-framework-that-works-on-iphoneos
How do I apply a perspective transform to a UIView? http://stackoverflow.com/questions/347721/how-do-i-apply-a-perspective-transform-to-a-uiview Any help pointers or example code snippets would be really appreciated iphone ios cocoa touch core animation share improve this question As Ben said you'll need to work with the UIView's layer using..
display image from URL retrieved from ALAsset in iPhone http://stackoverflow.com/questions/3837115/display-image-from-url-retrieved-from-alasset-in-iphone anyway. iOS 5 update When the result block fires seems to be a bit slower with iOS5 maybe single core devices so I couldnt rely on the image to be available directly after calling findLargeImage . So I..
Text to speech on iPhone [closed] http://stackoverflow.com/questions/416064/text-to-speech-on-iphone any third party TTS engines available for the iPhone AFAIK Acapela is not yet released iphone core audio share improve this question I don't think iPhone SDK provides any TTS facility internally...
How to filter NSFetchedResultsController (CoreData) with UISearchDisplayController/UISearchBar http://stackoverflow.com/questions/4471289/how-to-filter-nsfetchedresultscontroller-coredata-with-uisearchdisplaycontroll has any examples of code using search with the FRC I would greatly appreciate it iphone search core data uisearchbar uisearchdisplaycontroller share improve this question I actually just implemented..
How to Sync iPhone Core Data with web server, and then push to other devices? http://stackoverflow.com/questions/5035132/how-to-sync-iphone-core-data-with-web-server-and-then-push-to-other-devices Core Data with web server and then push to other devices I have been working on a method to sync core data stored in an iPhone application between multiple devices such as an iPad or a Mac. There are not.. on iOS. However I have been thinking about the following concept A change is made to the local core data store and the change is saved. a If the device is online it tries to send the changeset to the.. when the device pushes up a change set it will pass along the device Id and the objectId from the core data object in the local data store. Then my cloud server will check against the objectId and device..
UIImage: Resize, then Crop http://stackoverflow.com/questions/603907/uiimage-resize-then-crop otherwise just not work correctly. Thank you SO much for your help. iphone ios image processing core graphics share improve this question I needed the same thing in my case to pick the dimension that..
iPhone UIView Animation Best Practice http://stackoverflow.com/questions/630265/iphone-uiview-animation-best-practice NOTE I've been unable to get the second approach to work correctly. iphone ios cocoa touch uiview core animation share improve this question From the UIView reference 's section about the beginAnimations..
How do I get a background location update every n minutes in my iOS application? http://stackoverflow.com/questions/6347503/how-do-i-get-a-background-location-update-every-n-minutes-in-my-ios-application processes. How can I implement these regular background location updates iphone ios objective c core location background process share improve this question Found a solution to implement this with..
Is there a good charting library for iPhone? [closed] http://stackoverflow.com/questions/769749/is-there-a-good-charting-library-for-iphone Labels above each bar on the chart Shaded or custom backgrounds iphone cocoa touch cocoa charts core plot share improve this question One of the many factors that motivated the Core Plot project was..
Is there a barcode recognition framework for iOS? http://stackoverflow.com/questions/838724/is-there-a-barcode-recognition-framework-for-ios project specifically you want to take a look at the iPhone client and the partial C port of the core library . The port is a little old from circa the 0.9 release of the Java code but should still work..
Retrieving a pixel alpha value for a UIImage http://stackoverflow.com/questions/1042830/retrieving-a-pixel-alpha-value-for-a-uiimage non zero values for the alpha channel. Do I need to translate the co ordinates between UIKit and Core Graphics i.e is the y axis inverted Or have I misunderstood premultiplied alpha values Update @Nikolai.. suggestion was key to this. I did not in fact need to translate between UIKit coordinates and Core Graphics coordinates. However after setting the blend mode my alpha values were what I expected CGContextSetBlendMode..
How can I animate the movement of a view or image along a curved path? http://stackoverflow.com/questions/1142727/how-can-i-animate-the-movement-of-a-view-or-image-along-a-curved-path improve this question To expand upon what Nikolai said the best way to handle this is to use Core Animation to animate the motion of the image or view along a Bezier path. This is accomplished using.. icon to indicate saving as can be seen in the video for this application First of all import QuartzCore header file #import QuartzCore QuartzCore.h UIImageView imageViewForAnimation UIImageView alloc initWithImage.. be seen in the video for this application First of all import QuartzCore header file #import QuartzCore QuartzCore.h UIImageView imageViewForAnimation UIImageView alloc initWithImage imageToAnimate imageViewForAnimation.alpha..
Use CoreData or SQLite on iPhone? [closed] http://stackoverflow.com/questions/1318467/use-coredata-or-sqlite-on-iphone CoreData or SQLite on iPhone closed Since CoreData has become available for the iPhone in OS 3.0 is it meant.. CoreData or SQLite on iPhone closed Since CoreData has become available for the iPhone in OS 3.0 is it meant to be the answer to data persistence and.. SQLite What reasons exist to still use SQLite What are advantages disadvantages of SQLite vs. CoreData iphone ios sqlite core data share improve this question This is a common question here Core..
AES Encryption for an NSString on the iPhone http://stackoverflow.com/questions/1400246/aes-encryption-for-an-nsstring-on-the-iphone This definitely works on Snow Leopard and @Boz reports that CommonCrypto is part of the Core OS on the iPhone. Both 10.4 and 10.5 have usr include CommonCrypto although 10.5 has a man page for..
JSON and Core Data on the iPhone http://stackoverflow.com/questions/2362323/json-and-core-data-on-the-iphone and Core Data on the iPhone I have a core data object graph consisting of two entities linked by a to many relationship..
How do I apply a perspective transform to a UIView? http://stackoverflow.com/questions/347721/how-do-i-apply-a-perspective-transform-to-a-uiview this is possible I've investigated using CALayer and have run through all the pragmatic programmer Core Animation podcasts but I'm still no clearer on how to create this kind of transform on an iPhone. Any..
How to Sync iPhone Core Data with web server, and then push to other devices? http://stackoverflow.com/questions/5035132/how-to-sync-iphone-core-data-with-web-server-and-then-push-to-other-devices to Sync iPhone Core Data with web server and then push to other devices I have been working on a method to sync core data.. devices such as an iPad or a Mac. There are not many if any at all sync frameworks for use with Core Data on iOS. However I have been thinking about the following concept A change is made to the local.. fancy that I need to be thinking about I have looked at REST frameworks such as ObjectiveResource Core Resource and RestfulCoreData . Of course these are all working with Ruby on Rails which I am not tied..
Is there a good charting library for iPhone? [closed] http://stackoverflow.com/questions/769749/is-there-a-good-charting-library-for-iphone haven't found anything great yet. Anybody dealt with this before Any recommendations I did find Core Plot but it seems to be in the early stages of development. Edit to add some details of requirements.. cocoa charts core plot share improve this question One of the many factors that motivated the Core Plot project was the lack of good plotting frameworks on the iPhone. Core Plot also encompases many.. that motivated the Core Plot project was the lack of good plotting frameworks on the iPhone. Core Plot also encompases many other use cases including desktop systems but its design has included iPhone..
To ARC or not to ARC? What are the pros and cons? http://stackoverflow.com/questions/8760431/to-arc-or-not-to-arc-what-are-the-pros-and-cons code. You will very quickly get over this. There is some very small complications in bridging to Core Foundation code. There are slightly more complications in dealing with anything that treats an id as.. a decent intermediate programmer. You need to know the rules in order to bridge correctly with Core Foundation and every intermediate programmer needs to deal with CF at some point. And you need to know..
Retrieving a pixel alpha value for a UIImage http://stackoverflow.com/questions/1042830/retrieving-a-pixel-alpha-value-for-a-uiimage Graphics coordinates. However after setting the blend mode my alpha values were what I expected CGContextSetBlendMode context kCGBlendModeCopy iphone uikit core graphics quartz graphics share improve this question Yes CGContexts have their y axis pointing up while in UIKit it points down. See the docs . Edit after reading..
How can I animate the movement of a view or image along a curved path? http://stackoverflow.com/questions/1142727/how-can-i-animate-the-movement-of-a-view-or-image-along-a-curved-path item follows a curved path and ends up at the cart tab. How can I create an animation of an image along a curve like this iphone objective c ios cocoa touch core animation share improve this question To expand upon what Nikolai said the best way to handle this is to use Core Animation to animate the motion of the image..
How to Rotate a UIImage 90 degrees? http://stackoverflow.com/questions/1315251/how-to-rotate-a-uiimage-90-degrees I don't get an error whenever I provide a SMALLER size as the target size BTW . Can any of you show me how to just ROTATE my UIImage 90 degrees CCW using just core graphics functions while preserving the current size UIImage reverseImageByScalingToSize CGSize targetSize UIImage anImage UIImage sourceImage anImage CGFloat targetWidth.. bitmap UIImage newImage UIImage imageWithCGImage ref CGContextRelease bitmap CGImageRelease ref return newImage iphone uikit uiimage core graphics rotation share improve this question What about something like static inline double radians double degrees return degrees M_PI 180 UIImage rotate UIImage..
JSON and Core Data on the iPhone http://stackoverflow.com/questions/2362323/json-and-core-data-on-the-iphone and Core Data on the iPhone I have a core data object graph consisting of two entities linked by a to many relationship . I was curious as a relatively inexperienced iPhone developer whether anyone could.. iPhone developer whether anyone could recommend an approach and a suitable JSON implementation for the iPhone which would allow me to 1 convert the core data records into a JSON string whilst maintaining the relationship between the entities and 2 convert the JSON string back into core data objects again preserving.. me to 1 convert the core data records into a JSON string whilst maintaining the relationship between the entities and 2 convert the JSON string back into core data objects again preserving the relationship between entities . I have searched unsuccessfully for a tutorial code sample on this point so any assistance would..
Objective-C categories in static library http://stackoverflow.com/questions/2567498/objective-c-categories-in-static-library symbols are only generated for each class. If you extend a pre existing class with categories the linker does not know to associate the object code of the core class implementation and the category implementation. This prevents objects created in the resulting application from responding to a selector that is defined in..
Cocoa Graphing/Plotting Framework that Works on iPhoneOS [closed] http://stackoverflow.com/questions/263472/cocoa-graphing-plotting-framework-that-works-on-iphoneos
How do I apply a perspective transform to a UIView? http://stackoverflow.com/questions/347721/how-do-i-apply-a-perspective-transform-to-a-uiview clearer on how to create this kind of transform on an iPhone. Any help pointers or example code snippets would be really appreciated iphone ios cocoa touch core animation share improve this question As Ben said you'll need to work with the UIView's layer using a CATransform3D to perform the layer's rotation. The trick..
display image from URL retrieved from ALAsset in iPhone http://stackoverflow.com/questions/3837115/display-image-from-url-retrieved-from-alasset-in-iphone blah Thats what I learned while trying to get this working anyway. iOS 5 update When the result block fires seems to be a bit slower with iOS5 maybe single core devices so I couldnt rely on the image to be available directly after calling findLargeImage . So I changed it to call out to a delegate. @protocol HiresImageDelegate..
Text to speech on iPhone [closed] http://stackoverflow.com/questions/416064/text-to-speech-on-iphone speech in an iPhone app Is it possible using the SDK Are there any third party TTS engines available for the iPhone AFAIK Acapela is not yet released iphone core audio share improve this question I don't think iPhone SDK provides any TTS facility internally. You should use a third party TTS engine or write one yourself...
How to filter NSFetchedResultsController (CoreData) with UISearchDisplayController/UISearchBar http://stackoverflow.com/questions/4471289/how-to-filter-nsfetchedresultscontroller-coredata-with-uisearchdisplaycontroll used to retrieve the FRC results in the first place If anyone has any examples of code using search with the FRC I would greatly appreciate it iphone search core data uisearchbar uisearchdisplaycontroller share improve this question I actually just implemented this on one of my projects your question and the other wrong..
How to Sync iPhone Core Data with web server, and then push to other devices? http://stackoverflow.com/questions/5035132/how-to-sync-iphone-core-data-with-web-server-and-then-push-to-other-devices to Sync iPhone Core Data with web server and then push to other devices I have been working on a method to sync core data stored in an iPhone application between multiple devices such as an iPad or a Mac. There are not many if any at all sync frameworks for use with Core Data.. not many if any at all sync frameworks for use with Core Data on iOS. However I have been thinking about the following concept A change is made to the local core data store and the change is saved. a If the device is online it tries to send the changeset to the server including the device ID of the device which sent the.. table AllObjects ObjectId DeviceId DeviceObjectId . Then when the device pushes up a change set it will pass along the device Id and the objectId from the core data object in the local data store. Then my cloud server will check against the objectId and device Id in the AllObjects table and find the record to change in..
UIImage: Resize, then Crop http://stackoverflow.com/questions/603907/uiimage-resize-then-crop the image be upside down look like crap draw out of bounds or otherwise just not work correctly. Thank you SO much for your help. iphone ios image processing core graphics share improve this question I needed the same thing in my case to pick the dimension that fits once scaled and then crop each end to fit the rest to..
iPhone UIView Animation Best Practice http://stackoverflow.com/questions/630265/iphone-uiview-animation-best-practice could provide a snippet as well it'd be much appreciated. NOTE I've been unable to get the second approach to work correctly. iphone ios cocoa touch uiview core animation share improve this question From the UIView reference 's section about the beginAnimations context method Use of this method is discouraged in iPhone..
How do I get a background location update every n minutes in my iOS application? http://stackoverflow.com/questions/6347503/how-do-i-get-a-background-location-update-every-n-minutes-in-my-ios-application background rather than implementing long running background processes. How can I implement these regular background location updates iphone ios objective c core location background process share improve this question Found a solution to implement this with the help of the Apple Developer Forums. I did the following..
Is there a good charting library for iPhone? [closed] http://stackoverflow.com/questions/769749/is-there-a-good-charting-library-for-iphone charts Axis labels including rotated 90 degrees on the y axis Labels above each bar on the chart Shaded or custom backgrounds iphone cocoa touch cocoa charts core plot share improve this question One of the many factors that motivated the Core Plot project was the lack of good plotting frameworks on the iPhone. Core Plot..
Is there a barcode recognition framework for iOS? http://stackoverflow.com/questions/838724/is-there-a-barcode-recognition-framework-for-ios decode QR Codes. The source code is available from the zxing project specifically you want to take a look at the iPhone client and the partial C port of the core library . The port is a little old from circa the 0.9 release of the Java code but should still work reasonably well. If you need to scan other formats like 1D..
Retrieving a pixel alpha value for a UIImage http://stackoverflow.com/questions/1042830/retrieving-a-pixel-alpha-value-for-a-uiimage For a completely black transparent area of the image I get non zero values for the alpha channel. Do I need to translate the co ordinates between UIKit and Core Graphics i.e is the y axis inverted Or have I misunderstood premultiplied alpha values Update @Nikolai Ruhe's suggestion was key to this. I did not in fact need.. misunderstood premultiplied alpha values Update @Nikolai Ruhe's suggestion was key to this. I did not in fact need to translate between UIKit coordinates and Core Graphics coordinates. However after setting the blend mode my alpha values were what I expected CGContextSetBlendMode context kCGBlendModeCopy iphone uikit core..
How can I animate the movement of a view or image along a curved path? http://stackoverflow.com/questions/1142727/how-can-i-animate-the-movement-of-a-view-or-image-along-a-curved-path this iphone objective c ios cocoa touch core animation share improve this question To expand upon what Nikolai said the best way to handle this is to use Core Animation to animate the motion of the image or view along a Bezier path. This is accomplished using a CAKeyframeAnimation. For example I've used the following.. the following code to animate an image of a view into an icon to indicate saving as can be seen in the video for this application First of all import QuartzCore header file #import QuartzCore QuartzCore.h UIImageView imageViewForAnimation UIImageView alloc initWithImage imageToAnimate imageViewForAnimation.alpha 1.0f CGRect.. an image of a view into an icon to indicate saving as can be seen in the video for this application First of all import QuartzCore header file #import QuartzCore QuartzCore.h UIImageView imageViewForAnimation UIImageView alloc initWithImage imageToAnimate imageViewForAnimation.alpha 1.0f CGRect imageFrame imageViewForAnimation.frame..
Use CoreData or SQLite on iPhone? [closed] http://stackoverflow.com/questions/1318467/use-coredata-or-sqlite-on-iphone CoreData or SQLite on iPhone closed Since CoreData has become available for the iPhone in OS 3.0 is it meant to be the answer to data persistence and replace all need.. CoreData or SQLite on iPhone closed Since CoreData has become available for the iPhone in OS 3.0 is it meant to be the answer to data persistence and replace all need for direct SQLite What reasons exist to.. the answer to data persistence and replace all need for direct SQLite What reasons exist to still use SQLite What are advantages disadvantages of SQLite vs. CoreData iphone ios sqlite core data share improve this question This is a common question here Core Data vs. SQLite for SQL experienced developers Core Data vs..
AES Encryption for an NSString on the iPhone http://stackoverflow.com/questions/1400246/aes-encryption-for-an-nsstring-on-the-iphone AES256DecryptWithKey key encoding NSUTF8StringEncoding autorelease This definitely works on Snow Leopard and @Boz reports that CommonCrypto is part of the Core OS on the iPhone. Both 10.4 and 10.5 have usr include CommonCrypto although 10.5 has a man page for CCCryptor.3cc and 10.4 doesn't so YMMV. EDIT See this follow..
JSON and Core Data on the iPhone http://stackoverflow.com/questions/2362323/json-and-core-data-on-the-iphone and Core Data on the iPhone I have a core data object graph consisting of two entities linked by a to many relationship . I was curious as a relatively inexperienced iPhone..
How do I apply a perspective transform to a UIView? http://stackoverflow.com/questions/347721/how-do-i-apply-a-perspective-transform-to-a-uiview on a UIView such as seen in coverflow Does anyonew know if this is possible I've investigated using CALayer and have run through all the pragmatic programmer Core Animation podcasts but I'm still no clearer on how to create this kind of transform on an iPhone. Any help pointers or example code snippets would be really appreciated..
How to Sync iPhone Core Data with web server, and then push to other devices? http://stackoverflow.com/questions/5035132/how-to-sync-iphone-core-data-with-web-server-and-then-push-to-other-devices to Sync iPhone Core Data with web server and then push to other devices I have been working on a method to sync core data stored in an iPhone application between multiple devices.. core data stored in an iPhone application between multiple devices such as an iPad or a Mac. There are not many if any at all sync frameworks for use with Core Data on iOS. However I have been thinking about the following concept A change is made to the local core data store and the change is saved. a If the device is.. comments this is not a workable system. Is there anything fancy that I need to be thinking about I have looked at REST frameworks such as ObjectiveResource Core Resource and RestfulCoreData . Of course these are all working with Ruby on Rails which I am not tied to but it's a place to start. The main requirements I have..
Is there a good charting library for iPhone? [closed] http://stackoverflow.com/questions/769749/is-there-a-good-charting-library-for-iphone something written for Cocoa on the Mac that can be adapted but haven't found anything great yet. Anybody dealt with this before Any recommendations I did find Core Plot but it seems to be in the early stages of development. Edit to add some details of requirements as they currently stand Bar Charts Horizontal bar charts Double.. the chart Shaded or custom backgrounds iphone cocoa touch cocoa charts core plot share improve this question One of the many factors that motivated the Core Plot project was the lack of good plotting frameworks on the iPhone. Core Plot also encompases many other use cases including desktop systems but its design has.. core plot share improve this question One of the many factors that motivated the Core Plot project was the lack of good plotting frameworks on the iPhone. Core Plot also encompases many other use cases including desktop systems but its design has included iPhone support from the beginning. It's getting pretty close to..
To ARC or not to ARC? What are the pros and cons? http://stackoverflow.com/questions/8760431/to-arc-or-not-to-arc-what-are-the-pros-and-cons developer you will twitch for about a week when you see ARC code. You will very quickly get over this. There is some very small complications in bridging to Core Foundation code. There are slightly more complications in dealing with anything that treats an id as a void . Things like C arrays of id can take a little more.. the memory management rules at all. But you couldn't become a decent intermediate programmer. You need to know the rules in order to bridge correctly with Core Foundation and every intermediate programmer needs to deal with CF at some point. And you need to know the rules for mixed ARC MRC code. And you need to know the..
Retrieving a pixel alpha value for a UIImage http://stackoverflow.com/questions/1042830/retrieving-a-pixel-alpha-value-for-a-uiimage of the image I get non zero values for the alpha channel. Do I need to translate the co ordinates between UIKit and Core Graphics i.e is the y axis inverted Or have I misunderstood premultiplied alpha values Update @Nikolai Ruhe's suggestion.. Update @Nikolai Ruhe's suggestion was key to this. I did not in fact need to translate between UIKit coordinates and Core Graphics coordinates. However after setting the blend mode my alpha values were what I expected CGContextSetBlendMode context..
How can I animate the movement of a view or image along a curved path? http://stackoverflow.com/questions/1142727/how-can-i-animate-the-movement-of-a-view-or-image-along-a-curved-path core animation share improve this question To expand upon what Nikolai said the best way to handle this is to use Core Animation to animate the motion of the image or view along a Bezier path. This is accomplished using a CAKeyframeAnimation... of a view into an icon to indicate saving as can be seen in the video for this application First of all import QuartzCore header file #import QuartzCore QuartzCore.h UIImageView imageViewForAnimation UIImageView alloc initWithImage imageToAnimate.. saving as can be seen in the video for this application First of all import QuartzCore header file #import QuartzCore QuartzCore.h UIImageView imageViewForAnimation UIImageView alloc initWithImage imageToAnimate imageViewForAnimation.alpha..
Use CoreData or SQLite on iPhone? [closed] http://stackoverflow.com/questions/1318467/use-coredata-or-sqlite-on-iphone CoreData or SQLite on iPhone closed Since CoreData has become available for the iPhone in OS 3.0 is it meant to be the answer.. CoreData or SQLite on iPhone closed Since CoreData has become available for the iPhone in OS 3.0 is it meant to be the answer to data persistence and replace all need.. all need for direct SQLite What reasons exist to still use SQLite What are advantages disadvantages of SQLite vs. CoreData iphone ios sqlite core data share improve this question This is a common question here Core Data vs. SQLite for..
AES Encryption for an NSString on the iPhone http://stackoverflow.com/questions/1400246/aes-encryption-for-an-nsstring-on-the-iphone autorelease This definitely works on Snow Leopard and @Boz reports that CommonCrypto is part of the Core OS on the iPhone. Both 10.4 and 10.5 have usr include CommonCrypto although 10.5 has a man page for CCCryptor.3cc and 10.4..
JSON and Core Data on the iPhone http://stackoverflow.com/questions/2362323/json-and-core-data-on-the-iphone and Core Data on the iPhone I have a core data object graph consisting of two entities linked by a to many relationship . I was..
How do I apply a perspective transform to a UIView? http://stackoverflow.com/questions/347721/how-do-i-apply-a-perspective-transform-to-a-uiview anyonew know if this is possible I've investigated using CALayer and have run through all the pragmatic programmer Core Animation podcasts but I'm still no clearer on how to create this kind of transform on an iPhone. Any help pointers or example..
How to Sync iPhone Core Data with web server, and then push to other devices? http://stackoverflow.com/questions/5035132/how-to-sync-iphone-core-data-with-web-server-and-then-push-to-other-devices to Sync iPhone Core Data with web server and then push to other devices I have been working on a method to sync core data stored in an iPhone.. between multiple devices such as an iPad or a Mac. There are not many if any at all sync frameworks for use with Core Data on iOS. However I have been thinking about the following concept A change is made to the local core data store and.. Is there anything fancy that I need to be thinking about I have looked at REST frameworks such as ObjectiveResource Core Resource and RestfulCoreData . Of course these are all working with Ruby on Rails which I am not tied to but it's a place..
Is there a good charting library for iPhone? [closed] http://stackoverflow.com/questions/769749/is-there-a-good-charting-library-for-iphone can be adapted but haven't found anything great yet. Anybody dealt with this before Any recommendations I did find Core Plot but it seems to be in the early stages of development. Edit to add some details of requirements as they currently stand.. iphone cocoa touch cocoa charts core plot share improve this question One of the many factors that motivated the Core Plot project was the lack of good plotting frameworks on the iPhone. Core Plot also encompases many other use cases including.. One of the many factors that motivated the Core Plot project was the lack of good plotting frameworks on the iPhone. Core Plot also encompases many other use cases including desktop systems but its design has included iPhone support from the..
To ARC or not to ARC? What are the pros and cons? http://stackoverflow.com/questions/8760431/to-arc-or-not-to-arc-what-are-the-pros-and-cons week when you see ARC code. You will very quickly get over this. There is some very small complications in bridging to Core Foundation code. There are slightly more complications in dealing with anything that treats an id as a void . Things like.. But you couldn't become a decent intermediate programmer. You need to know the rules in order to bridge correctly with Core Foundation and every intermediate programmer needs to deal with CF at some point. And you need to know the rules for mixed..
Retrieving a pixel alpha value for a UIImage http://stackoverflow.com/questions/1042830/retrieving-a-pixel-alpha-value-for-a-uiimage the blend mode my alpha values were what I expected CGContextSetBlendMode context kCGBlendModeCopy iphone uikit core graphics quartz graphics share improve this question Yes CGContexts have their y axis pointing up while in UIKit it..
How can I animate the movement of a view or image along a curved path? http://stackoverflow.com/questions/1142727/how-can-i-animate-the-movement-of-a-view-or-image-along-a-curved-path at the cart tab. How can I create an animation of an image along a curve like this iphone objective c ios cocoa touch core animation share improve this question To expand upon what Nikolai said the best way to handle this is to use Core Animation..
How to Rotate a UIImage 90 degrees? http://stackoverflow.com/questions/1315251/how-to-rotate-a-uiimage-90-degrees a SMALLER size as the target size BTW . Can any of you show me how to just ROTATE my UIImage 90 degrees CCW using just core graphics functions while preserving the current size UIImage reverseImageByScalingToSize CGSize targetSize UIImage anImage.. UIImage imageWithCGImage ref CGContextRelease bitmap CGImageRelease ref return newImage iphone uikit uiimage core graphics rotation share improve this question What about something like static inline double radians double degrees..
JSON and Core Data on the iPhone http://stackoverflow.com/questions/2362323/json-and-core-data-on-the-iphone and Core Data on the iPhone I have a core data object graph consisting of two entities linked by a to many relationship . I was curious as a relatively inexperienced.. could recommend an approach and a suitable JSON implementation for the iPhone which would allow me to 1 convert the core data records into a JSON string whilst maintaining the relationship between the entities and 2 convert the JSON string back.. into a JSON string whilst maintaining the relationship between the entities and 2 convert the JSON string back into core data objects again preserving the relationship between entities . I have searched unsuccessfully for a tutorial code sample..
Objective-C categories in static library http://stackoverflow.com/questions/2567498/objective-c-categories-in-static-library class. If you extend a pre existing class with categories the linker does not know to associate the object code of the core class implementation and the category implementation. This prevents objects created in the resulting application from responding..
Cocoa Graphing/Plotting Framework that Works on iPhoneOS [closed] http://stackoverflow.com/questions/263472/cocoa-graphing-plotting-framework-that-works-on-iphoneos
How do I apply a perspective transform to a UIView? http://stackoverflow.com/questions/347721/how-do-i-apply-a-perspective-transform-to-a-uiview transform on an iPhone. Any help pointers or example code snippets would be really appreciated iphone ios cocoa touch core animation share improve this question As Ben said you'll need to work with the UIView's layer using a CATransform3D..
display image from URL retrieved from ALAsset in iPhone http://stackoverflow.com/questions/3837115/display-image-from-url-retrieved-from-alasset-in-iphone to get this working anyway. iOS 5 update When the result block fires seems to be a bit slower with iOS5 maybe single core devices so I couldnt rely on the image to be available directly after calling findLargeImage . So I changed it to call out..
Text to speech on iPhone [closed] http://stackoverflow.com/questions/416064/text-to-speech-on-iphone using the SDK Are there any third party TTS engines available for the iPhone AFAIK Acapela is not yet released iphone core audio share improve this question I don't think iPhone SDK provides any TTS facility internally. You should use a third..
How to filter NSFetchedResultsController (CoreData) with UISearchDisplayController/UISearchBar http://stackoverflow.com/questions/4471289/how-to-filter-nsfetchedresultscontroller-coredata-with-uisearchdisplaycontroll first place If anyone has any examples of code using search with the FRC I would greatly appreciate it iphone search core data uisearchbar uisearchdisplaycontroller share improve this question I actually just implemented this on one of my..
UIImage: Resize, then Crop http://stackoverflow.com/questions/603907/uiimage-resize-then-crop draw out of bounds or otherwise just not work correctly. Thank you SO much for your help. iphone ios image processing core graphics share improve this question I needed the same thing in my case to pick the dimension that fits once scaled..
iPhone UIView Animation Best Practice http://stackoverflow.com/questions/630265/iphone-uiview-animation-best-practice much appreciated. NOTE I've been unable to get the second approach to work correctly. iphone ios cocoa touch uiview core animation share improve this question From the UIView reference 's section about the beginAnimations context method..
How do I get a background location update every n minutes in my iOS application? http://stackoverflow.com/questions/6347503/how-do-i-get-a-background-location-update-every-n-minutes-in-my-ios-application running background processes. How can I implement these regular background location updates iphone ios objective c core location background process share improve this question Found a solution to implement this with the help of the Apple..
Is there a good charting library for iPhone? [closed] http://stackoverflow.com/questions/769749/is-there-a-good-charting-library-for-iphone degrees on the y axis Labels above each bar on the chart Shaded or custom backgrounds iphone cocoa touch cocoa charts core plot share improve this question One of the many factors that motivated the Core Plot project was the lack of good plotting..
Is there a barcode recognition framework for iOS? http://stackoverflow.com/questions/838724/is-there-a-barcode-recognition-framework-for-ios from the zxing project specifically you want to take a look at the iPhone client and the partial C port of the core library . The port is a little old from circa the 0.9 release of the Java code but should still work reasonably well. If..
|