iphone Programming Glossary: unreliable
Unable to get presentViewController to work http://stackoverflow.com/questions/10147625/unable-to-get-presentviewcontroller-to-work for your ViewController the soonest you could present it is after it has become visible. Using a timer for this is unreliable older and slower devices have dramatically longer load times. For more reliability implement viewDidAppear for ViewController..
How to check for an active Internet Connection on iPhone SDK? http://stackoverflow.com/questions/1083701/how-to-check-for-an-active-internet-connection-on-iphone-sdk iPhone using the Cocoa Touch libraries. I came up with a way to do this using an NSURL . The way I did it seems a bit unreliable because even Google could one day be down and relying on a 3rd party seems bad and while I could check to see for a response..
What's the difference between NSNumber and NSInteger? http://stackoverflow.com/questions/1285098/whats-the-difference-between-nsnumber-and-nsinteger number of elements. When the coder knows it's unsigned he she has more freedom to perform operations that might be unreliable in the signed case including bitwise operations such as shifting. This blog post talks more about signed vs unsigned. My..
Best Practices for Error Logging and/or reporting for iPhone http://stackoverflow.com/questions/1667994/best-practices-for-error-logging-and-or-reporting-for-iphone iPhone handle its own crash dumps through the existing App Store mechanisms . Update having found iTunes Connect to be unreliable at providing crash reports I've started using Crittercism in some of my apps. It does the job well and has a free plan...
CGImage/UIImage lazily loading on UI thread causes stutter http://stackoverflow.com/questions/1815476/cgimage-uiimage-lazily-loading-on-ui-thread-causes-stutter now being pre loaded on my worker thread. So far so good. The issue is that my new force lazy load of image method is unreliable. It causes intermittent EXC_BAD_ACCESS. I have no idea what UIImage is actually doing behind the scenes. Perhaps it is decompressing..
From iPhone to Mac programming http://stackoverflow.com/questions/2062438/from-iphone-to-mac-programming by Apple which unfortunately has only the woefully lame web access implemented by Apple and sporadically augmented by unreliable third party efforts making it mostly useful via actually subscribing to it from one of your email acccounts the CocoaDev..
SOLVED: Peculiar problem - iphone application distribution build contains a bug http://stackoverflow.com/questions/2211486/solved-peculiar-problem-iphone-application-distribution-build-contains-a-bug s string sizeWithFont textView.font constrainedToSize CGSizeMake 290 FLT_MAX s.height kStaticSize SizeWithFont is very unreliable so have to do some dirty tweaking if s.height 100 s.height 250 s.height 20 else if s.height 250 s.height 500 s.height 40..
How to set the width of a cell in a UITableView in grouped style http://stackoverflow.com/questions/2539021/how-to-set-the-width-of-a-cell-in-a-uitableview-in-grouped-style frame Why is it better Because the other two are worse. Adjust table view width in viewWillAppear First of all this is unreliable the superview or parent view controller may adjust table view frame further after viewWillAppear is called. Of course you..
Figure out UIBarButtonItem frame in window? http://stackoverflow.com/questions/2994354/figure-out-uibarbuttonitem-frame-in-window return view convertRect view.bounds toView nil Of course no one wants this when targeting the AppStore. A more unreliable method and also uses undocumented features but will pass Apple's test is to loop through the subviews to look for the corresponding..
Storing In App Purchase receipts in the application Keychain http://stackoverflow.com/questions/4978852/storing-in-app-purchase-receipts-in-the-application-keychain validation data in the iOS keychain. Is there any drawback or possible reason for this to fail for paying users be unreliable or any other reason why it would be an overall bad idea to do this I understand that piracy is inevitable and I definitely..
Why is Geolocation in Mobile Safari way less accurate than the location in a native App? http://stackoverflow.com/questions/6790368/why-is-geolocation-in-mobile-safari-way-less-accurate-than-the-location-in-a-nat responding after about 70 calls made to getCurrentLocation. This might be a device specific problem but it is another unreliable factor in browser based GPS functionality. Update I was testing with the watchPosition function call and it is produced..
NSDateComponents - day method returning wrong day http://stackoverflow.com/questions/6885896/nsdatecomponents-day-method-returning-wrong-day actually lasts 25 hours and incorrect result is probably comes from that in general adding time intervals to a date is unreliable because of calendar irregularities and bahaviour may depend on many parameters current calendar time zone locale settings..
|