Posts

Create your own framework in Objective C.

Important link http://blog.db-in.com/universal-framework-for-ios/ http://jaym2503.blogspot.in/2012/09/how-to-create-custom-ios-framework.html

AttributedString - decorated text.

Image
NSMutableAttributedString :  NSAttributedString  and its mutable counterpart  NSMutableAttributedString  are used to draw decorated text.  You can create strings with attributes that describe how the string should look when drawn.  Show OutLine String on button : If you want to show outline text on button then you can use NSMutableAttributedString. NSMutableAttributedString * title =[[ NSMutableAttributedString alloc ] initWithString :@ "Rajneesh071" ]; [ title setAttributes :@{ NSStrokeWidthAttributeName : @ 3 , NSStrokeColorAttributeName : [ UIColor blueColor ] } range : NSMakeRange ( 0 , [ title length ])]; [ yourButton setAttributedTitle : title forState : UIControlStateNormal ]; OutPut : Play with text font :  I f you want to change font name and font size then you can do like this. NSMutableAttributedString *string = [[ NSMutableAttributedString allo...

Linkes releated to rtsp streaming.

http://sonnati.wordpress.com/2011/07/11/ffmpeg-the-swiss-army-knife-of-internet-streaming-part-i/ FFMPEG :  The most notable parts of FFmpeg are libavcodec :  an audio/video codec library used by several other projects. libavformat :  an audio/video container mux and demux library, and ffmpeg  : 'command line program' for transcoding multimedia files.  FFmpeg iss the command line programm that using libavcodec, libavformat and several other openn source programs (notably x264 for H.264 encoding) offers exceptional transcoding capabilities especially forr server side batch transcoding, butt also for live encoding and audio/video filess manipulation (muxing, demuxing, slicing, splitting and so on).

Links Related to Download Manager?

http://stackoverflow.com/questions/13996621/downloading-multiple-files-in-batches-in-ios https://github.com/Infusion-apps/Download-Manager https://github.com/robertmryan/download-manager http://stackoverflow.com/questions/12176206/fully-featured-file-download-manager-for-ios http://stackoverflow.com/questions/5118144/objective-c-download-manager-for-iphone http://labs.grupow.com/blog/2012/07/12/cocoapods-the-objective-c-library-manager-part-1-slash-2

Resize Image without quality loss.

Resize image without loss in quality. - ( UIImage *) resizeImage :( UIImage *) aImage reSize :( CGSize ) newSize ; { UIGraphicsBeginImageContextWithOptions ( newSize , YES , [ UIScreen mainScreen ]. scale ); [ aImage drawInRect : CGRectMake ( 0 , 0 , newSize . width , newSize . height )]; UIImage * newImage = UIGraphicsGetImageFromCurrentImageContext (); UIGraphicsEndImageContext (); return newImage ; }

How to check Console of iphone ?

Image
You develop an application and client saying that application is crashing at some point , then you need crash log for this. You can get crash log after installing iPhone Configuration Utility (http://www.apple.com/support/iphone/business/) iPhone Configuration Utility for Mac OS Download (http://support.apple.com/kb/DL1465) iPhone Configuration Utility for Windows  Download (http://support.apple.com/kb/DL1466) After Installing open iPhone Configuration Utility, Connect Your device and get consol. see screenshot or watch video  http://www.youtube.com/watch?v=hMfj3fOV4MA

Get Twitter userProfile information.

Image
Twitter profile generating application Using Twitter framework we can get profile detail of any userID. Just Pass UserId and get detail . Note -> First put your login detail in setting page. Provide UserName whom you want to get. like Rajneesh071 You will get detail of user You can download this tutorial from here  https://www.dropbox.com/s/hub2jhc9lteokqc/TwitterUserProfileDetail.zip