Posts

Showing posts from November, 2014

How to Create a PDF from a UIView?

http://stackoverflow.com/questions/4362734/ios-sdk-programmatically-generate-a-pdf-file http://stackoverflow.com/questions/5176360/how-to-create-pdf-document-using-iphone-sdk?lq=1 http://stackoverflow.com/questions/15813005/creating-pdf-file-from-uiwebview   Quick Look for viewing documents https://developer.apple.com/library/ios/documentation/QuickLook/Reference/QuickLookFrameworkReference_iPhoneOS/index.html http://www.cocoanetics.com/2010/06/rendering-pdf-is-easier-than-you-thought/  

How does WhatsApp Work?

Here are the links   http://www.quora.com/How-does-messaging-work-in-WhatsApp https://blog.grobox.de/2014/whatsapp-end-to-end-encryption-federation/ https://whispersystems.org/blog/advanced-ratcheting/   .NET Library http://code.google.com/p/jabber-net/downloads/list

How to Handle revoked SSL certificate on iOS?

I need to identify and restrict calls to the server (web service) if server certificate is revoked. I am able to restrict the service call if certificate is “invalid", but if the certificate is “revoked” the restriction is not working.  Case 1: (Working) URL: https://www.drobnik.com/ For this URL, certificate is “untrusted” (firefox Error code: ssl_error_bad_cert_domain). In this case, restriction from NSURLConnection is working fine, i.e. request is getting terminated. For untrusted certificate i.e. www.drobnik.com, NSURLConnectionDelegate method - (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)pError gets called. The error object is as below. Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. Case 2: (Not Working) URL: https://revoked.grc.com/ For this URL, certificate is “revoked” (firefox Error code: sec_error_revoked_certificate). In this case, restriction from NSURLConnection is not working, i

How to Integrate an iOS App with mBaas Parse?

Integrate with Parse http://www.raywenderlich.com/19341/how-to-easily-create-a-web-backend-for-your-apps-with-parse   Other Options http://www.raywenderlich.com/20482/how-to-choose-the-best-backend-provider-for-your-ios-app-parse-vs-stackmob-vs-appcelerator-cloud-and-more  

Swift Basics

http://www.youtube.com/watch?v=DGt1yBxBw9k&list=UU7fIuG6L5EPc9Ijq2_BCmIg   Part 1 http://www.raywenderlich.com/74438/swift-tutorial-a-quick-start   Part 2 http://www.raywenderlich.com/74904/swift-tutorial-part-2-simple-ios-app  

Any more info on iBeacon?

There are companies that provide hardware and SDK that is compliant with iBeacon that will work for iOS and Android. http://estimote.com/ https://www.gimbal.com/   Take a look at these as well to get more idea. Other list of hardware vendors is at http://www.ozomedia.nl/tip/ibeacons-list-hardware-compatible-with-apples-ios/   Some other companies http://proximi.io/ibeacon-compatible-hardware/ http://www.shopjoy.se/ http://kontakt.io/ http://stevecheney.com/how-apple-ibeacon-will-transform-local-commerce/ http://beekn.net/page/2/  

My UITableView is very Jerky!!

Here is what I was reading briefly yday. See if this provides any ideas.   http://stackoverflow.com/questions/7213186/uitableview-gets-jerky-while-scrolling-because-of-custom-cell-creation http://stackoverflow.com/questions/14538530/tableview-slow-jerky-scrolling-due-to-egoimageview-cache https://teamtreehouse.com/forum/uitableview-scrolling-is-choppy-when-displaying-images-from-web http://stackoverflow.com/questions/9159519/uitableview-experiences-choppy-scrolling-when-cell-has-a-uiimageview-subview http://stackoverflow.com/questions/3248201/why-is-scrolling-performance-poor-for-custom-table-view-cells-having-uisegmented http://www.raywenderlich.com/forums/viewtopic.php?t=3714&p=22648

Chrome Beta is here

Thanks to Anup for sharing it https://www.google.com/intl/en/chrome/browser/beta.html