iphone Programming Glossary: several
How to add a UIImage in MailComposer Sheet of MFMailComposeViewController http://stackoverflow.com/questions/1527351/how-to-add-a-uiimage-in-mailcomposer-sheet-of-mfmailcomposeviewcontroller to get an image into your email you need to get a base64 encoder into your project. There are several out there mostly C though but the simplest ObjC one I found was called NSData Base64 by Matt Gallagher..
Programmatically align a toolbar on top of the iPhone keyboard http://stackoverflow.com/questions/158574/programmatically-align-a-toolbar-on-top-of-the-iphone-keyboard align a toolbar on top of the iPhone keyboard In several cases I want to add a toolbar to the top of the iPhone keyboard as in iPhone Safari when you're navigating..
Using FFMPEG library with iPhone SDK for video encoding http://stackoverflow.com/questions/1679649/using-ffmpeg-library-with-iphone-sdk-for-video-encoding FFMPEG library with iPhone SDK for video encoding I need to encode several pictures shot by the iphone camera into a mp4 video file and I know FFMPEG can do this the application..
iPhone reachability checking http://stackoverflow.com/questions/1861656/iphone-reachability-checking reachability checking I've found several examples of code to do what I want check for reachability but none of it seems to be exact enough to..
Does my application “contain encryption”? http://stackoverflow.com/questions/2135081/does-my-application-contain-encryption Question Does your product qualify for any exemptions provided under category 5 part 2 There are several exemptions available in US export regulations under Category 5 Part 2 Information Security Encryption..
JSON and Core Data on the iPhone http://stackoverflow.com/questions/2362323/json-and-core-data-on-the-iphone share improve this question First pick a JSON library to use I personally like TouchJSON but several others out there are quite nice as well. The complicated part although not very hard is to convert your..
Bold & Non-Bold Text In A Single UILabel? http://stackoverflow.com/questions/3586871/bold-non-bold-text-in-a-single-uilabel using NSAttributedString but I have no idea how to use that. Any ideas Apple achieves this in several of their apps Examples Screenshot Thanks Dom iphone objective c ipad nsattributedstring share improve..
How do I export UIImage array as a movie? http://stackoverflow.com/questions/3741323/how-do-i-export-uiimage-array-as-a-movie do I export UIImage array as a movie I have a serious problem I have an array with several UIImage objects. What I now want to do is create movie from those images. But I don't have any idea..
How to build a framework or library for other developers, the secure way? http://stackoverflow.com/questions/4065052/how-to-build-a-framework-or-library-for-other-developers-the-secure-way and all on one page http github.com jverkoey iOS Framework . It also lays out the issues with several other approaches. This is the guide I now follow when trying to remember what to do when setting up..
How to create a GUID/UUID using the iPhone SDK http://stackoverflow.com/questions/427180/how-to-create-a-guid-uuid-using-the-iphone-sdk the App Store for using it. The method below is now the preferred approach. If you need to create several UUID just use this method with ARC NSString GetUUID CFUUIDRef theUUID CFUUIDCreate NULL CFStringRef..
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 document. This is a viable solution and is not that difficult to implement Dan implemented this in several of its applications overlapping the solution described by Chris. For an in depth theoretical discussion..
iPhone Facebook Video Upload http://stackoverflow.com/questions/5355846/iphone-facebook-video-upload I ™ve got a video upload branch in my fork of the Facebook SDK on GitHub. I did not touch it for several weeks but it used to work fine only it requires the old style authentication see this branch . There..
How to distribute ios application wirelessly without managing UDIDs and recompilation http://stackoverflow.com/questions/5546581/how-to-distribute-ios-application-wirelessly-without-managing-udids-and-recompil objective c xcode share improve this question I've been distributing my apps wirelessly for several months now with no problems. Granted I am distributing under the Enterprise license which costs 299..
What's the best way to communicate between view controllers? http://stackoverflow.com/questions/569940/whats-the-best-way-to-communicate-between-view-controllers of Using Dependency Injection with a View Controller Let's say you're building a screen in which several books are listed. The user can pick books he she wants to buy and then tap a checkout button to go to..
Is there a way to pass touches through on the iPhone? http://stackoverflow.com/questions/631427/is-there-a-way-to-pass-touches-through-on-the-iphone there a way to pass touches through on the iPhone I have several UIButton s which I use to set the current action when tapping in the main area. I would also like to..
Understanding reference counting with Cocoa and Objective-C http://stackoverflow.com/questions/6578/understanding-reference-counting-with-cocoa-and-objective-c
Open Source Cocoa/Cocoa-Touch POP3/SMTP library? http://stackoverflow.com/questions/740939/open-source-cocoa-cocoa-touch-pop3-smtp-library MessageFramework on CocoaDev lists various possibilities Sending emails from Cocoa also lists several frameworks including Pantomime MailCore and EdMessage the site for this seems to be down but there is..
Is there a good charting library for iPhone? [closed] http://stackoverflow.com/questions/769749/is-there-a-good-charting-library-for-iphone iPhone support from the beginning. It's getting pretty close to useable and is currently in use in several shipping iPhone and OS X applications. Edit 2 10 Core Plot has come a long way since I first posted..
Customize the MKAnnotationView callout http://stackoverflow.com/questions/8018841/customize-the-mkannotationview-callout callout I want to create a custom MKAnnotationView callout as shown in this image. I have tested several solutions but they only allow customization of the left right images and title subtitle. Can anybody..
MKMapView: Instead of Annotation Pin, a custom view http://stackoverflow.com/questions/9814988/mkmapview-instead-of-annotation-pin-a-custom-view yourself. You can search Stack Overflow for animatesdrop mkannotationview and you'll find several answers. Here are the first two Is it possible to call animatesDrop in a MKAnnotationView rather than..
How to add a UIImage in MailComposer Sheet of MFMailComposeViewController http://stackoverflow.com/questions/1527351/how-to-add-a-uiimage-in-mailcomposer-sheet-of-mfmailcomposeviewcontroller you need to do to keep it from getting stripped out. In order to get an image into your email you need to get a base64 encoder into your project. There are several out there mostly C though but the simplest ObjC one I found was called NSData Base64 by Matt Gallagher I took the out of the name after copying it in because it..
Programmatically align a toolbar on top of the iPhone keyboard http://stackoverflow.com/questions/158574/programmatically-align-a-toolbar-on-top-of-the-iphone-keyboard align a toolbar on top of the iPhone keyboard In several cases I want to add a toolbar to the top of the iPhone keyboard as in iPhone Safari when you're navigating form elements for example . Currently I am specifying..
Using FFMPEG library with iPhone SDK for video encoding http://stackoverflow.com/questions/1679649/using-ffmpeg-library-with-iphone-sdk-for-video-encoding FFMPEG library with iPhone SDK for video encoding I need to encode several pictures shot by the iphone camera into a mp4 video file and I know FFMPEG can do this the application TimeLapser and ReelMoments do it already . I plan to use..
iPhone reachability checking http://stackoverflow.com/questions/1861656/iphone-reachability-checking reachability checking I've found several examples of code to do what I want check for reachability but none of it seems to be exact enough to be of use to me. I can't figure out why this doesn't want to..
Does my application “contain encryption”? http://stackoverflow.com/questions/2135081/does-my-application-contain-encryption agencies with information about your app every January. 2nd Question Does your product qualify for any exemptions provided under category 5 part 2 There are several exemptions available in US export regulations under Category 5 Part 2 Information Security Encryption regulations for applications and software that use access..
JSON and Core Data on the iPhone http://stackoverflow.com/questions/2362323/json-and-core-data-on-the-iphone be gratefully received. iphone objective c json core data share improve this question First pick a JSON library to use I personally like TouchJSON but several others out there are quite nice as well. The complicated part although not very hard is to convert your managed objects into suitable structures for the conversion...
Bold & Non-Bold Text In A Single UILabel? http://stackoverflow.com/questions/3586871/bold-non-bold-text-in-a-single-uilabel rather not use a UIWebView.. I've also read this may be possible using NSAttributedString but I have no idea how to use that. Any ideas Apple achieves this in several of their apps Examples Screenshot Thanks Dom iphone objective c ipad nsattributedstring share improve this question Update for iOS6 In iOS6 now UILabel UIButton..
How do I export UIImage array as a movie? http://stackoverflow.com/questions/3741323/how-do-i-export-uiimage-array-as-a-movie do I export UIImage array as a movie I have a serious problem I have an array with several UIImage objects. What I now want to do is create movie from those images. But I don't have any idea how to do so. I hope someone can help me or send me a code snippet..
How to build a framework or library for other developers, the secure way? http://stackoverflow.com/questions/4065052/how-to-build-a-framework-or-library-for-other-developers-the-secure-way
How to create a GUID/UUID using the iPhone SDK http://stackoverflow.com/questions/427180/how-to-create-a-guid-uuid-using-the-iphone-sdk EDIT This is now deprecated and apps are being rejected from the App Store for using it. The method below is now the preferred approach. If you need to create several UUID just use this method with ARC NSString GetUUID CFUUIDRef theUUID CFUUIDCreate NULL CFStringRef string CFUUIDCreateString NULL theUUID CFRelease theUUID return..
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 Grover at iPhone 2009 conference available here as a pdf document. This is a viable solution and is not that difficult to implement Dan implemented this in several of its applications overlapping the solution described by Chris. For an in depth theoretical discussion of syncing see the paper from Russ Cox MIT and William Josephson..
iPhone Facebook Video Upload http://stackoverflow.com/questions/5355846/iphone-facebook-video-upload objective c xcode facebook share improve this question I ™ve got a video upload branch in my fork of the Facebook SDK on GitHub. I did not touch it for several weeks but it used to work fine only it requires the old style authentication see this branch . There are some comments in the FBVideoUpload class header but the..
How to distribute ios application wirelessly without managing UDIDs and recompilation http://stackoverflow.com/questions/5546581/how-to-distribute-ios-application-wirelessly-without-managing-udids-and-recompil them to recompile the project. How did they do it iphone objective c xcode share improve this question I've been distributing my apps wirelessly for several months now with no problems. Granted I am distributing under the Enterprise license which costs 299 a year and is intended for internal business use. This may work..
What's the best way to communicate between view controllers? http://stackoverflow.com/questions/569940/whats-the-best-way-to-communicate-between-view-controllers pattern with a controller below in case it's helpful. Example of Using Dependency Injection with a View Controller Let's say you're building a screen in which several books are listed. The user can pick books he she wants to buy and then tap a checkout button to go to the checkout screen. To build this you might create a BookPickerViewController..
Is there a way to pass touches through on the iPhone? http://stackoverflow.com/questions/631427/is-there-a-way-to-pass-touches-through-on-the-iphone there a way to pass touches through on the iPhone I have several UIButton s which I use to set the current action when tapping in the main area. I would also like to allow the user to drag from the button directly into the main..
Understanding reference counting with Cocoa and Objective-C http://stackoverflow.com/questions/6578/understanding-reference-counting-with-cocoa-and-objective-c
Open Source Cocoa/Cocoa-Touch POP3/SMTP library? http://stackoverflow.com/questions/740939/open-source-cocoa-cocoa-touch-pop3-smtp-library c cocoa cocoa touch pop3 share improve this question MessageFramework on CocoaDev lists various possibilities Sending emails from Cocoa also lists several frameworks including Pantomime MailCore and EdMessage the site for this seems to be down but there is a mirror on github which has also been modified to compile..
Is there a good charting library for iPhone? [closed] http://stackoverflow.com/questions/769749/is-there-a-good-charting-library-for-iphone cases including desktop systems but its design has included iPhone support from the beginning. It's getting pretty close to useable and is currently in use in several shipping iPhone and OS X applications. Edit 2 10 Core Plot has come a long way since I first posted the summary. The framework now has bar charts including horizontal..
Customize the MKAnnotationView callout http://stackoverflow.com/questions/8018841/customize-the-mkannotationview-callout the MKAnnotationView callout I want to create a custom MKAnnotationView callout as shown in this image. I have tested several solutions but they only allow customization of the left right images and title subtitle. Can anybody please give me some source code or tutorial link for it Currently..
MKMapView: Instead of Annotation Pin, a custom view http://stackoverflow.com/questions/9814988/mkmapview-instead-of-annotation-pin-a-custom-view want your image annotations to drop you'll have to do the animation yourself. You can search Stack Overflow for animatesdrop mkannotationview and you'll find several answers. Here are the first two Is it possible to call animatesDrop in a MKAnnotationView rather than MKPinAnnotationView IPHONE How can I create a custom pin drop..
How to add a UIImage in MailComposer Sheet of MFMailComposeViewController http://stackoverflow.com/questions/1527351/how-to-add-a-uiimage-in-mailcomposer-sheet-of-mfmailcomposeviewcontroller stripped out. In order to get an image into your email you need to get a base64 encoder into your project. There are several out there mostly C though but the simplest ObjC one I found was called NSData Base64 by Matt Gallagher I took the out of..
Programmatically align a toolbar on top of the iPhone keyboard http://stackoverflow.com/questions/158574/programmatically-align-a-toolbar-on-top-of-the-iphone-keyboard align a toolbar on top of the iPhone keyboard In several cases I want to add a toolbar to the top of the iPhone keyboard as in iPhone Safari when you're navigating form elements..
Using FFMPEG library with iPhone SDK for video encoding http://stackoverflow.com/questions/1679649/using-ffmpeg-library-with-iphone-sdk-for-video-encoding FFMPEG library with iPhone SDK for video encoding I need to encode several pictures shot by the iphone camera into a mp4 video file and I know FFMPEG can do this the application TimeLapser and ReelMoments..
iPhone reachability checking http://stackoverflow.com/questions/1861656/iphone-reachability-checking reachability checking I've found several examples of code to do what I want check for reachability but none of it seems to be exact enough to be of use to me. I..
Does my application “contain encryption”? http://stackoverflow.com/questions/2135081/does-my-application-contain-encryption every January. 2nd Question Does your product qualify for any exemptions provided under category 5 part 2 There are several exemptions available in US export regulations under Category 5 Part 2 Information Security Encryption regulations for applications..
JSON and Core Data on the iPhone http://stackoverflow.com/questions/2362323/json-and-core-data-on-the-iphone c json core data share improve this question First pick a JSON library to use I personally like TouchJSON but several others out there are quite nice as well. The complicated part although not very hard is to convert your managed objects..
Bold & Non-Bold Text In A Single UILabel? http://stackoverflow.com/questions/3586871/bold-non-bold-text-in-a-single-uilabel this may be possible using NSAttributedString but I have no idea how to use that. Any ideas Apple achieves this in several of their apps Examples Screenshot Thanks Dom iphone objective c ipad nsattributedstring share improve this question ..
How do I export UIImage array as a movie? http://stackoverflow.com/questions/3741323/how-do-i-export-uiimage-array-as-a-movie do I export UIImage array as a movie I have a serious problem I have an array with several UIImage objects. What I now want to do is create movie from those images. But I don't have any idea how to do so. I hope..
How to build a framework or library for other developers, the secure way? http://stackoverflow.com/questions/4065052/how-to-build-a-framework-or-library-for-other-developers-the-secure-way it is much more recent and all on one page http github.com jverkoey iOS Framework . It also lays out the issues with several other approaches. This is the guide I now follow when trying to remember what to do when setting up a new framework. share..
How to create a GUID/UUID using the iPhone SDK http://stackoverflow.com/questions/427180/how-to-create-a-guid-uuid-using-the-iphone-sdk being rejected from the App Store for using it. The method below is now the preferred approach. If you need to create several UUID just use this method with ARC NSString GetUUID CFUUIDRef theUUID CFUUIDCreate NULL CFStringRef string CFUUIDCreateString..
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 here as a pdf document. This is a viable solution and is not that difficult to implement Dan implemented this in several of its applications overlapping the solution described by Chris. For an in depth theoretical discussion of syncing see the..
iPhone Facebook Video Upload http://stackoverflow.com/questions/5355846/iphone-facebook-video-upload this question I ™ve got a video upload branch in my fork of the Facebook SDK on GitHub. I did not touch it for several weeks but it used to work fine only it requires the old style authentication see this branch . There are some comments in..
How to distribute ios application wirelessly without managing UDIDs and recompilation http://stackoverflow.com/questions/5546581/how-to-distribute-ios-application-wirelessly-without-managing-udids-and-recompil did they do it iphone objective c xcode share improve this question I've been distributing my apps wirelessly for several months now with no problems. Granted I am distributing under the Enterprise license which costs 299 a year and is intended..
What's the best way to communicate between view controllers? http://stackoverflow.com/questions/569940/whats-the-best-way-to-communicate-between-view-controllers it's helpful. Example of Using Dependency Injection with a View Controller Let's say you're building a screen in which several books are listed. The user can pick books he she wants to buy and then tap a checkout button to go to the checkout screen...
Is there a way to pass touches through on the iPhone? http://stackoverflow.com/questions/631427/is-there-a-way-to-pass-touches-through-on-the-iphone there a way to pass touches through on the iPhone I have several UIButton s which I use to set the current action when tapping in the main area. I would also like to allow the user to drag..
Understanding reference counting with Cocoa and Objective-C http://stackoverflow.com/questions/6578/understanding-reference-counting-with-cocoa-and-objective-c
Open Source Cocoa/Cocoa-Touch POP3/SMTP library? http://stackoverflow.com/questions/740939/open-source-cocoa-cocoa-touch-pop3-smtp-library improve this question MessageFramework on CocoaDev lists various possibilities Sending emails from Cocoa also lists several frameworks including Pantomime MailCore and EdMessage the site for this seems to be down but there is a mirror on github..
Is there a good charting library for iPhone? [closed] http://stackoverflow.com/questions/769749/is-there-a-good-charting-library-for-iphone design has included iPhone support from the beginning. It's getting pretty close to useable and is currently in use in several shipping iPhone and OS X applications. Edit 2 10 Core Plot has come a long way since I first posted the summary. The framework..
Customize the MKAnnotationView callout http://stackoverflow.com/questions/8018841/customize-the-mkannotationview-callout the MKAnnotationView callout I want to create a custom MKAnnotationView callout as shown in this image. I have tested several solutions but they only allow customization of the left right images and title subtitle. Can anybody please give me some..
MKMapView: Instead of Annotation Pin, a custom view http://stackoverflow.com/questions/9814988/mkmapview-instead-of-annotation-pin-a-custom-view have to do the animation yourself. You can search Stack Overflow for animatesdrop mkannotationview and you'll find several answers. Here are the first two Is it possible to call animatesDrop in a MKAnnotationView rather than MKPinAnnotationView..
undo all changes made in the child view controller http://stackoverflow.com/questions/10443754/undo-all-changes-made-in-the-child-view-controller after undo it become Obama iphone ios core data nsmanagedobjectcontext nsundomanager share improve this question Several things to consider. First in a scenario like this I would use a separate MOC instead of the undo manager. Namely I'd do..
How to use beginBackgroundTaskWithExpirationHandler for already running task in iOS http://stackoverflow.com/questions/12071726/how-to-use-beginbackgroundtaskwithexpirationhandler-for-already-running-task-in You're just telling the system that you're in the middle of doing something that would like to complete if that's ok. Several points In almost all cases you want to call beginBackgroundTaskWithExpirationHandler when you start doing the thing you..
How to use Sample Code of “Core Data with iCloud” session 227 in WWDC 2012? http://stackoverflow.com/questions/13718104/how-to-use-sample-code-of-core-data-with-icloud-session-227-in-wwdc-2012 from the Apple WWDC 2012. I opened a ticket with Apple Developer Support and here was their reply on November 15 2012. Several developers have been having issues adopting iCloud and Core Data with that sample from WWDC. However I have an updated SharedCoreData..
More iCloud Core Data synching woes http://stackoverflow.com/questions/14478517/more-icloud-core-data-synching-woes Data synching woes So it finally happened. The worst case scenario for any independent iPhone developer occurred. Several users are reporting complete data loss after upgrading my app. iCloud Core Data sync is not working. My users are using..
Upload live streaming video from iPhone like Ustream or Qik http://stackoverflow.com/questions/1960782/upload-live-streaming-video-from-iphone-like-ustream-or-qik 'mediaSpecific' dict of the sampleBuffer NSLog @ frame captured at .fx .f imageSize.width imageSize.height EDIT UPDATE Several people have asked how to do this without sending the frames to the server one by one. The answer is complex... Basically..
Several UIAlertViews for a delegate http://stackoverflow.com/questions/2338546/several-uialertviews-for-a-delegate UIAlertViews for a delegate Currently I've got a class popping up UIAlertView s here and there. Currently the same class..
iPhone: How to Pass Data Between Several Viewcontrollers in a Tabbar App http://stackoverflow.com/questions/2363777/iphone-how-to-pass-data-between-several-viewcontrollers-in-a-tabbar-app How to Pass Data Between Several Viewcontrollers in a Tabbar App I have following problem I have built a tabbar application with 4 tabs. I want to pass..
AJAX on the iPhone? http://stackoverflow.com/questions/260302/ajax-on-the-iphone what you use with Opera Show. Of course this wouldn't fix the AJAX issue but it would be neat. ^_^ Thanks for answers. Several of my customers access the site regularly from the iPhone and I want my pages to work as much as they possibly can so I'm..
Best Way to Perform Several Sequential UIView Animations? http://stackoverflow.com/questions/3849460/best-way-to-perform-several-sequential-uiview-animations Way to Perform Several Sequential UIView Animations I have a series of 8 UIView animations that occur directly after my view is loaded. Right..
Is there a way to put UITextView's scroll indicator to outside UITextView? http://stackoverflow.com/questions/4343390/is-there-a-way-to-put-uitextviews-scroll-indicator-to-outside-uitextview to change UITextView's scrollIndicatorInsets property but a scroll indicator can be moved only inward to be visible. Several apps such as Pages aWriter Plaintext achieve this feature. Could you give any suggestion Thank you I iphone ipad ios uiscrollview..
Uploading live streaming video from iPhone [duplicate] http://stackoverflow.com/questions/5062266/uploading-live-streaming-video-from-iphone 'mediaSpecific' dict of the sampleBuffer NSLog @ frame captured at .fx .f imageSize.width imageSize.height EDIT UPDATE Several people have asked how to do this without sending the frames to the server one by one. The answer is complex... Basically..
Why is autorelease especially dangerous/expensive for iPhone applications? http://stackoverflow.com/questions/613583/why-is-autorelease-especially-dangerous-expensive-for-iphone-applications back up the claim that the use of autorelease is dangerous or overly expensive when writing software for the iPhone. Several developers make this claim and I have even heard that Apple does not recommend it but I have not been able to turn up any..
Access to iPhone music library http://stackoverflow.com/questions/625625/access-to-iphone-music-library own application. The forthcoming version 3.0 does have this capability. Release notes include this iPod Library Access Several new classes and protocols have been added to the Media Player framework MediaPlayer.framework to allow access to the user..
Where are an UIWebView's cookies stored? http://stackoverflow.com/questions/771498/where-are-an-uiwebviews-cookies-stored cookieJar NSHTTPCookieStorage sharedHTTPCookieStorage for cookie in cookieJar cookies NSLog @ @ cookie Several methods are available for filtering and manipulation. Take a look at the NSHTTPCookieStorage documentation for accessing..
iOS image comparison http://stackoverflow.com/questions/9049535/ios-image-comparison E .. etc which are also pictures of faces. I want to compare them to see if the person 'A' is already in the database. Several questions 1.How is face recognition comparison usually done do you extract features e.g. eyes mouth and compare them to..
|