Friday, 3 August 2012

urldemo 14

//splitviewcontroller with MultipleDetailViews + iphone

https://github.com/grgcombs/IntelligentSplitViewController
https://developer.apple.com/library/ios/#samplecode/MultipleDetailViews/Introduction/Intro.html

//For adding the done and cancel button toolbar on textfield keyboard in iPhone
- (void)viewDidLoad
{
    [super viewDidLoad];

    UIToolbar* numberToolbar = [[UIToolbar alloc]initWithFrame:CGRectMake(0, 0, 320, 50)];
    numberToolbar.barStyle = UIBarStyleBlackTranslucent;
    numberToolbar.items = [NSArray arrayWithObjects:
                         [[UIBarButtonItem alloc]initWithTitle:@"Cancel" style:UIBarButtonItemStyleBordered target:self action:@selector(cancelNumberPad)],
                         [[UIBarButtonItem alloc]initWithBarButtonSystemItem:UIBarButtonSystemItemFlexibleSpace target:nil action:nil],
                         [[UIBarButtonItem alloc]initWithTitle:@"Apply" style:UIBarButtonItemStyleDone target:self action:@selector(doneWithNumberPad)],
                     nil];
    [numberToolbar sizeToFit];
    numberTextField.inputAccessoryView = numberToolbar;
}

-(void)cancelNumberPad{
    [numberTextField resignFirstResponder];
    numberTextField.text = @"";
}

-(void)doneWithNumberPad{
    NSString *numberFromTheKeyboard = numberTextField.text;
    [numberTextField resignFirstResponder];
}


//For  asynchronous image loading in iPad and iPhone
https://github.com/brendanlim/SDWebImage

//For making the wireframe or design of iPad and iPhone template
http://mockupbuilder.com/
http://www.axure.com
http://iphoneized.com/

//For the customizing the Tabbar image
http://ios-blog.co.uk/articles/tutorials/how-to-customize-the-tab-bar-using-ios-5-appearance-api/
 UIImage* tabBarBackground = [UIImage imageNamed:@"bottom_bar_bg.png"];
    [[UITabBar appearance] setBackgroundImage:tabBarBackground];
   
    //[[UITabBar appearance] setSelectionIndicatorImage:[UIImage imageNamed:@"selection-tab.png"]];
   
  
    UITabBarItem *filterTab = [self.tabBarController.tabBar.items objectAtIndex:0];
    [filterTab setFinishedSelectedImage:[UIImage imageNamed:@"fav_icon_selected"] withFinishedUnselectedImage:[UIImage imageNamed:@"fav_icon"]];
   
    filterTab = [self.tabBarController.tabBar.items objectAtIndex:1];
    [filterTab setFinishedSelectedImage:[UIImage imageNamed:@"exp_icon_selected"] withFinishedUnselectedImage:[UIImage imageNamed:@"exp_icon"]];
   
    filterTab = [self.tabBarController.tabBar.items objectAtIndex:2];
    [filterTab setFinishedSelectedImage:[UIImage imageNamed:@"user_icon_selected"] withFinishedUnselectedImage:[UIImage imageNamed:@"user_icon"]];


//For animating text into iPhone

 -(void)animateTextLayer {
   
    CGFloat animationDuration = 5;
   
    CATextLayer *textLayer = [CATextLayer layer];
    [textLayer setString:@"Hello World"];
    [textLayer setForegroundColor:[UIColor purpleColor].CGColor];
    [textLayer setFontSize:30];
    [textLayer setFrame:CGRectMake(20, 200, 300, 40)];
    [[self.view layer] addSublayer:textLayer];
   
    CABasicAnimation *colorAnimation = [CABasicAnimation
                                        animationWithKeyPath:@"foregroundColor"];
    colorAnimation.duration = animationDuration;
    colorAnimation.fillMode = kCAFillModeForwards;
    colorAnimation.removedOnCompletion = NO;
    colorAnimation.fromValue = (id)[UIColor purpleColor].CGColor;
    colorAnimation.toValue = (id)[UIColor greenColor].CGColor;
    colorAnimation.timingFunction = [CAMediaTimingFunction
                                     functionWithName:kCAMediaTimingFunctionLinear];
   
    CAKeyframeAnimation *scaleAnimation = [CAKeyframeAnimation
                                           animationWithKeyPath:@"transform"];
    NSArray *scaleValues = [NSArray arrayWithObjects:
                            [NSValue valueWithCATransform3D:CATransform3DScale(textLayer.transform, 1, 1, 1)],
                            [NSValue valueWithCATransform3D:CATransform3DScale(textLayer.transform, 1.5, 1.5, 1)],
                            [NSValue valueWithCATransform3D:CATransform3DScale(textLayer.transform, 0.5, 0.5, 1)], nil];
    [scaleAnimation setValues:scaleValues];
    scaleAnimation.fillMode = kCAFillModeForwards;
    scaleAnimation.removedOnCompletion = NO;
   
    CAAnimationGroup *animationGroup = [CAAnimationGroup animation];
    animationGroup.duration = animationDuration;
    animationGroup.timingFunction = [CAMediaTimingFunction
                                     functionWithName:kCAMediaTimingFunctionLinear];
    animationGroup.fillMode = kCAFillModeForwards;
    animationGroup.removedOnCompletion = NO;
    animationGroup.animations =
    [NSArray arrayWithObjects:colorAnimation, scaleAnimation, nil];
   
    [textLayer addAnimation:animationGroup forKey:@"animateColorAndScale"];
}

Monday, 18 June 2012

urldemo 13

//For get the time zone in standard time + iPhone
-(NSString *)getStandardTimeZone{
    NSTimeZone *timeZone=[NSTimeZone defaultTimeZone];
    NSLocale *locale = [[NSLocale alloc] initWithLocaleIdentifier:@"en_US"];
    NSString *timeZoneId = [timeZone localizedName:NSTimeZoneNameStyleStandard locale:locale];
    return timeZoneId;
}


//Scroll Tableview to the Bottom in iPhone
 CGRect sectionRect = [self.tableView rectForSection: sectionIndexForNewFolder];
    // Try to get a full-height rect which is centred on the sectionRect
    // This produces a very similar effect to UITableViewScrollPositionMiddle.
    CGFloat extraHeightToAdd = sectionRect.size.height - self.tableView.frame.size.height;
    sectionRect.origin.y -= extraHeightToAdd * 0.5f;
    sectionRect.size.height += extraHeightToAdd;
    [self.tableView scrollRectToVisible:sectionRect animated:YES];


//Viewing hidden files on a Mac
defaults write com.apple.finder AppleShowAllFiles -bool true

//hide  files on a Mac
defaults write com.apple.finder AppleShowAllFiles -bool false

//Randomize the Uiimage color in iPhone
    https://github.com/OmidH/Filtrr

//Random an Array in iPhone
NSInteger randomize(id num1, id num2, void *context)
{
    int rand = arc4random() %2;
    if (rand)
        return NSOrderedAscending;
    else
        return NSOrderedDescending;
}
NSMutableArray *temp=[[NSMutableArray alloc] init];
    for ( int i=0; i<=10; i++) {
        [temp addObject:[NSString stringWithFormat:@"%d",i]];
    }
[temp sortUsingFunction:randomize context:NULL];
NSLog(@"%@",temp);




 //Swipe a view like off some and push or pop in iPhone with pan gesture.

    UIPanGestureRecognizer *panGesture = nil;
    panGesture = [[UIPanGestureRecognizer alloc] initWithTarget:self action:@selector(panViewWithGestureRecognizer:)];
   
    [panGesture setMaximumNumberOfTouches:2];
    [panGesture setDelegate:self];
   
    [adminView addGestureRecognizer:panGesture];
    [panGesture release];
- (void)panViewWithGestureRecognizer:(UIPanGestureRecognizer *)gestureRecognizer
{   
   
    CGPoint velocity = [gestureRecognizer velocityInView:adminView];
   
    if(velocity.x > 0)
    {
        NSLog(@"gesture went right");
        if ([gestureRecognizer state] == UIGestureRecognizerStateBegan || [gestureRecognizer state] == UIGestureRecognizerStateChanged){
            if (adminView.frame.origin.x <= -10) {
                CGPoint translation = [gestureRecognizer translationInView:[adminView superview]];
                [adminView setCenter:CGPointMake([adminView center].x + translation.x, [adminView center].y)];
                [gestureRecognizer setTranslation:CGPointZero inView:[adminView superview]];
            }
        }
        else{
            if (adminView.frame.origin.x > -100) {
                [UIView beginAnimations:nil context:NULL];
                [UIView setAnimationDuration:0.5f];
                [UIView setAnimationTransition:UIViewAnimationTransitionNone forView:adminView cache:YES];
                adminView.frame=CGRectMake(0, 0, 322, 748);
                [UIView commitAnimations];
            }
            else{
                [UIView beginAnimations:nil context:NULL];
                [UIView setAnimationDuration:0.5];
                [UIView setAnimationTransition:UIViewAnimationTransitionNone forView:adminView cache:YES];
                adminView.frame=CGRectMake(-295, 0, 322, 748);
                [UIView commitAnimations];
            }
        }
    }
    else
    {
        NSLog(@"gesture went left");
        if ([gestureRecognizer state] == UIGestureRecognizerStateBegan || [gestureRecognizer state] == UIGestureRecognizerStateChanged){
            if (adminView.frame.origin.x > -200) {
                CGPoint translation = [gestureRecognizer translationInView:[adminView superview]];
                [adminView setCenter:CGPointMake([adminView center].x + translation.x, [adminView center].y)];
                [gestureRecognizer setTranslation:CGPointZero inView:[adminView superview]];
            }
        }
        else{
            if (adminView.frame.origin.x > -250) {
                [UIView beginAnimations:nil context:NULL];
                [UIView setAnimationDuration:0.5f];
                [UIView setAnimationTransition:UIViewAnimationTransitionNone forView:adminView cache:YES];
                adminView.frame=CGRectMake(-295, 0, 322, 748);
                [UIView commitAnimations];
            }
            else{
                [UIView beginAnimations:nil context:NULL];
                [UIView setAnimationDuration:0.5];
                [UIView setAnimationTransition:UIViewAnimationTransitionNone forView:adminView cache:YES];
                adminView.frame=CGRectMake(0, 0, 322, 748);
                [UIView commitAnimations];
            }
        }
    }
}

Saturday, 2 June 2012

urldemo 12

//For the pushing a subview in UIView
 CATransition *transition = [CATransition animation];
        transition.duration = 0.75;
        transition.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut];
        transition.type = kCATransitionPush;
        transition.subtype =kCATransitionFromRight;
        transition.delegate = self;
        adminView.frame=CGRectMake(0, 0, 322, 748);
        [self.view.layer addAnimation:transition forKey:nil];


//For the paging and scrollview photo gallery in iPhone
- (void)setupDisplayFiltering{
   
    NSArray *subview = [[mainScrollView subviews] copy];
    for (UIView *subview1 in subview) {
        [subview1 removeFromSuperview];
    }
    [subview release];
    
     mainScrollView.delegate = self;
   
    [mainScrollView setBackgroundColor:[UIColor clearColor]];
    [mainScrollView setCanCancelContentTouches:NO];
   
    mainScrollView.clipsToBounds = YES;
    mainScrollView.scrollEnabled = YES;
    mainScrollView.pagingEnabled = YES;
   
    CGFloat cx = 20;
    CGFloat cy = 10;
    CGFloat width=110;
    CGFloat height=110;
    int cnt=1;
    
    int scWidth=0;
   
    int row=0;
    int column=0;
   
    for (int i=0;i<[mainCatImgArray count];i++) {
       
        UIImage *image = [mainCatImgArray objectAtIndex:i];
        UIImageView *tempImg=[[UIImageView alloc] initWithImage:[UIImage imageNamed:@"viewBg.png"]];
        CGRect rect = tempImg.frame;
        rect.size.height =  height;
        rect.size.width = width;
        rect.origin.x = cx;
        rect.origin.y = cy;
        tempImg.frame = rect;
        [mainScrollView addSubview:tempImg];
        [tempImg release];
     
        UIImageView *imageView = [[UIImageView alloc] initWithImage:image];
        rect = imageView.frame;
        rect.size.height = height-30;
        rect.size.width = width-10;
        rect.origin.x = cx+5;
        rect.origin.y = cy+5;
        imageView.userInteractionEnabled=YES;
        imageView.frame = rect;
        imageView.tag=i+1;
       
        UITapGestureRecognizer *tapRecognizer = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(scrollImgTap:)];
        [tapRecognizer setNumberOfTapsRequired:1];
        [tapRecognizer setDelegate:self];
       
        [imageView addGestureRecognizer:tapRecognizer];
        UILongPressGestureRecognizer *longPressGesture = [[UILongPressGestureRecognizer alloc] initWithTarget:self action:@selector(longTap:)];
        longPressGesture.minimumPressDuration=0.2f;
        [imageView addGestureRecognizer:longPressGesture];
        [longPressGesture release];
       
        [mainScrollView addSubview:imageView];
       
        UIButton *btn = [UIButton buttonWithType:UIButtonTypeCustom];
        [btn setImage:[UIImage imageNamed:@"close_x.png"] forState:UIControlStateNormal];
        rect.size.height = 40;
        rect.size.width = 40;
        rect.origin.x = cx;
        rect.origin.y = cy+5;
        btn.userInteractionEnabled=YES;
        btn.frame = rect;
        btn.tag=i+1;
        [btn addTarget:self action:@selector(removeImageView:) forControlEvents:UIControlEventTouchUpInside];
       //  btn.hidden=YES;
        [mainScrollView addSubview:btn];   
       
       
        UILabel *tempIbl=[[UILabel alloc] initWithFrame:CGRectMake(cx,height+cy-20,width,25)];
        tempIbl.text=[NSString stringWithFormat:@"%d",imageView.tag];
        tempIbl.backgroundColor=[UIColor whiteColor];   
       
        tempIbl.textColor = [UIColor blackColor];
        tempIbl.textAlignment = UITextAlignmentCenter;
        tempIbl.font = [UIFont fontWithName:@"Arial" size:20.0f];
        tempIbl.lineBreakMode=UILineBreakModeMiddleTruncation;
        [mainScrollView addSubview:tempIbl];
       
        [imageView release];
        [tempIbl release];
        [btn release];
       
        if (column<=5) {
            column+=1;
            cx += tempImg.frame.size.width+20;
            NSLog(@"column %d",column);
            if (column>=5){
                column=0;
                cx=scWidth+20;
                cy+=tempImg.frame.size.height+15;
                row+=1;
                NSLog(@"row %d",row);
                if (row>=5) {
                    scWidth=683*cnt;
                    cx=scWidth+20;
                    cy=10;
                    row=0;
                     cnt+=1;
                }
              
            }
        }
    }
   
    pageControl.currentPage = 0;
    pageControl.numberOfPages=cnt;
    [mainScrollView setContentSize:CGSizeMake(683*cnt, [mainScrollView bounds].size.height)];
}
- (IBAction)changePage {
    // update the scroll view to the appropriate page
    CGRect frame;
    frame.origin.x = mainScrollView.frame.size.width * pageControl.currentPage;
    frame.origin.y = 0;
    frame.size = mainScrollView.frame.size;
    [mainScrollView scrollRectToVisible:frame animated:YES];
}
- (void)scrollViewDidScroll:(UIScrollView *)sender {
    // Update the page when more than 50% of the previous/next page is visible
    CGFloat pageWidth = mainScrollView.frame.size.width;
    int page = floor((mainScrollView.contentOffset.x - pageWidth / 2) / pageWidth) + 1;
    pageControl.currentPage = page;
    currentPageLbl.text=[NSString stringWithFormat:@"%d",page];
}


//For the printing of image view or image in iPhone
 - (IBAction)printContent  {
        // Obtain the shared UIPrintInteractionController
        UIPrintInteractionController *controller1 = [UIPrintInteractionController sharedPrintController];
        if(!controller1){
            NSLog(@"Couldn't get shared UIPrintInteractionController!");
            return;
        }
       
        // We need a completion handler block for printing.
        UIPrintInteractionCompletionHandler completionHandler = ^(UIPrintInteractionController *printController, BOOL completed, NSError *error) {
            if(completed && error)
                NSLog(@"FAILED! due to error in domain %@ with error code %u", error.domain, error.code);
        };
       
        // Obtain a printInfo so that we can set our printing defaults.
        UIPrintInfo *printInfo = [UIPrintInfo printInfo];
        UIImage *image = [UIImage imageNamed:@"mainimage1.jpg"];
       
        // This application prints photos. UIKit will pick a paper size and print
        // quality appropriate for this content type.
        printInfo.outputType = UIPrintInfoOutputPhoto;
        // The path to the image may or may not be a good name for our print job
        // but that's all we've got.
        printInfo.jobName = [[imageURL path] lastPathComponent];
       
        // If we are performing drawing of our image for printing we will print
        // landscape photos in a landscape orientation.
        if(!controller1.printingItem && image.size.width > image.size.height)
            printInfo.orientation = UIPrintInfoOrientationLandscape;
       
        // Use this printInfo for this print job.
        controller1.printInfo = printInfo;
       
        //  Since the code below relies on printingItem being zero if it hasn't
        //  already been set, this code sets it to nil.
        controller1.printingItem = nil;
       
       
#if DIRECT_SUBMISSION
        // Use the URL of the image asset.
        if(imageURL && [UIPrintInteractionController canPrintURL:imageURL])
            controller1.printingItem = imageURL;
#endif
       
        // If we aren't doing direct submission of the image or for some reason we don't
        // have an ALAsset or URL for our image, we'll draw it instead.
        if(!controller1.printingItem){
            // Create an instance of our PrintPhotoPageRenderer class for use as the
            // printPageRenderer for the print job.
            PrintPhotoPageRenderer *pageRenderer = [[PrintPhotoPageRenderer alloc]init];
            // The PrintPhotoPageRenderer subclass needs the image to draw. If we were taking
            // this path we use the original image and not the fullScreenImage we obtained from
            // the ALAssetRepresentation.
            pageRenderer.imageToPrint = image;
            controller1.printPageRenderer = pageRenderer;
            [pageRenderer release];
        }
       
        // The method we use presenting the printing UI depends on the type of
        // UI idiom that is currently executing. Once we invoke one of these methods
        // to present the printing UI, our application's direct involvement in printing
        // is complete. Our delegate methods (if any) and page renderer methods (if any)
        // are invoked by UIKit.
        if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
            //[controller presentFromBarButtonItem:self.printButton animated:YES completionHandler:completionHandler];  // iPad
        }else
            [controller1 presentAnimated:YES completionHandler:completionHandler];  // iPhone
       
    }

//For the reflecting image in iPhone
https://github.com/ipalmer/CKReflectionImage

//For the Custom Progressbar in iPhone
https://github.com/appdesignvault/ADVProgressBar

//For the Different Theme for Scrolling tableview in iPhone
https://github.com/applidium/ADLivelyTableView

//For setting the tab bar background image in iPhone
http://blog.theanalogguy.be/2011/09/14/custom-colored-uitabbar-icons-an-update/

 UIImage *tabBackground = [[UIImage imageNamed:@"tab_bg"]
                              resizableImageWithCapInsets:UIEdgeInsetsMake(0, 0, 0, 0)];
    [[UITabBar appearance] setBackgroundImage:tabBackground];
    [[UITabBar appearance] setSelectionIndicatorImage:
     [UIImage imageNamed:@"tab_select_indicator"]];
https://github.com/NOUSguide/NGTabBarController

//For different kind of demo for iPhone

http://cocoacontrols.com/controls?page=2&platform_id=ios&sort=date

http://www.ogokilearning.com/native-language-app-code/

http://esramkumar.wordpress.com/tutorial-projects/

http://www.scoop.it/t/iphone-and-ipad-development?page=2

//For the pull to refresh of tableview in iPhone
https://github.com/enormego/EGOTableViewPullRefresh

//For the different kind of photo view and video  viewer in iPhone and also useful for Paint in iPhone
https://github.com/BradLarson/GPUImage

//For the continuous Tableview in iPhone
https://github.com/stephenjames/ContinuousTableview

//For the Different kind of Api for iPhone
http://www.subfurther.com/blog/category/speaking/page/3/


//For the Calendar Demo in iPhone
https://github.com/klazuka/Kal
http://developinginthedark.com/posts/iphone-tapku-calendar-markers

//For Top Tabbar in iphone
https://github.com/hollance/MHTabBarController
https://github.com/jasonmorrissey/JMTabView

//For the Custome AlertView and ActionSheet in iPhone
https://github.com/gpambrozio/BlockAlertsAnd-ActionSheets

//For the Delete like the iPhone application.
https://github.com/heikomaass/HMLauncherView

Friday, 27 April 2012

urldemo 11

//For the resuming the app after call ended in iPhone
NSString *strPhoneNo = @"9904523387";
    UIWebView *phoneCallWebview = [[UIWebView alloc] init];
    NSURL *callURL = [NSURL URLWithString:[NSString stringWithFormat:@"tel:%@", strPhoneNo]];
    [phoneCallWebview loadRequest:[NSURLRequest requestWithURL:callURL ]];


//For the different kind of animation in iPhone
https://github.com/bobmccune/Core-Animation-Demos

//For the rotating the like a wheel control in iPhone
https://github.com/funkyboy/How-To-Create-a-Rotating-Wheel-Control-with-UIKit

//For the different kind of demo for iPhone
http://highwaystech.com/index.php/source-code/ios.html

//For the poptextview demo in iPhone
https://github.com/inamiy/YIPopupTextView

//For the best coverflow example for iPhone
https://github.com/nicklockwood/icarousel

//For the tag cloud for the iPhone
https://github.com/cezarsignori/SphereView/

//For the barcode api for iPhone
http://www.mashape.com/index
maulik
iball@1910
http://www.upcdatabase.com/item/0016000660601

//For the searching in search bar or array in iPhone
 NSPredicate *predicate = [NSPredicate predicateWithFormat:@"(SELF BEGINSWITH [cd] %@)", savedSearchTerm];
        [searchResults addObjectsFromArray: [states filteredArrayUsingPredicate:predicate]];
   


//For the loading more no of row in tableview in iPhone
http://useyourloaf.com/blog/2010/10/2/dynamically-loading-new-rows-into-a-table.html

//For the different example of iPhone
http://kshitizghimire.com.np/lazy-loading-custom-uitableviewcell/

//For the all kind of demo for the Mono touch application for iPhone
http://samples.xamarin.com/Samples

//For the pop view like the crossdissolve in iphone
https://github.com/jerometonnelier/LeveyPopListView
- (void)fadeIn
{
    self.transform = CGAffineTransformMakeScale(1.3, 1.3);
    self.alpha = 0;
    [UIView animateWithDuration:.35 animations:^{
        self.alpha = 1;
        self.transform = CGAffineTransformMakeScale(1, 1);
    }];

}
- (void)fadeOut
{
    [UIView animateWithDuration:.35 animations:^{
        self.transform = CGAffineTransformMakeScale(1.3, 1.3);
        self.alpha = 0.0;
    } completion:^(BOOL finished) {
        if (finished) {
            [self removeFromSuperview];
        }
    }];
}
//For the face detection by third party in iPhone
http://developers.face.com/download/
https://github.com/sergiomtzlosa/faceWrapper-iphone

//For the setting the color to the tab bar in iPhone
 // customize the tab bar background
    CGRect frame = CGRectMake(0, 0, 320, 49);
    UIView *viewBackround = [[UIView alloc] initWithFrame:frame];
    UIImage *imgBackground = [UIImage imageNamed:@"tabBg.png"];
    UIColor *colorPattern = [[UIColor alloc] initWithPatternImage:imgBackground];
    viewBackround.backgroundColor = colorPattern;
    [colorPattern release];
    [[self.tabBarController tabBar] insertSubview:viewBackround atIndex:1];
    [viewBackround release];

Thursday, 5 April 2012

urldemo 10

//For the different kind of demo for iPhone
http://stackoverflow.com/questions/1939/how-to-articles-for-iphone-development-and-objective-c

//For the rotating an object by center by touch in iPhone
https://github.com/hollance/MHRotaryKnob
http://rdsquared.wordpress.com/

//For the gallery or grid view for the iPhone
https://github.com/gdavis/FGallery-iPhone

//For the zip file and parsing the images from server
http://www.touch-code-magazine.com/update-dynamically-your-iphone-app-with-new-content/


//For the different types of animation
http://www.cimgf.com/2012/01/11/handling-incoming-json-redux/

//For the pull to refresh demo of the UITableView in iPhone
https://github.com/leah/PullToRefresh

//For opening the directly installed app from the iPhone
http://wiki.akosma.com/IPhone_URL_Schemes

//For the barcode scanner in iPhone
https://github.com/stefanhafeneger/Barcode

//For the Indexed UITableView in iPhone
http://www.iphonedevcentral.com/indexed-uitableview-tutorial/
https://github.com/kwylez/IndexedTable

//For the short url of the long url in iPhone
https://github.com/dbloete/bitly-iphone

//For the Popup any view in iPhone
https://github.com/sonsongithub/PopupView

//For the Tint in the UITableview in iphone
https://github.com/PaulSolt/WEPopover

//For changing the color of the UITabBarItem text in iphone

[[UITabBarItem appearance] setTitleTextAttributes:
     [NSDictionary dictionaryWithObjectsAndKeys:
      [UIColor blackColor], UITextAttributeTextColor,
      [UIColor grayColor], UITextAttributeTextShadowColor,
      [NSValue valueWithUIOffset:UIOffsetMake(0, 1)], UITextAttributeTextShadowOffset,
      [UIFont fontWithName:@"AmericanTypewriter" size:0.0], UITextAttributeFont,
      nil]
                                             forState:UIControlStateNormal];

//For changing the color of the UITabBar  in iphone

[[UITabBar appearance] setTintColor:[UIColor redColor]];

Saturday, 3 March 2012

urldemo 9

//For the Custom Base and Custom button in iPhone

http://www.spaulus.com/2011/04/custombadge-2-0-retina-ready-scalable-light-reflex/?lang=en

//For testing the push notification in iPhone
https://github.com/stefanhafeneger/PushMeBaby
https://github.com/Redth/APNS-Sharp

//For the Cocos2d game example
http://mobile.tutsplus.com/tutorials/iphone/learn-ios-game-development-by-example-10-projects-to-get-you-started/
//For .Net push notifications
https://github.com/arashnorouzi/Moon-APNS

//For the emoji icons
http://arashnorouzi.wordpress.com/

//For the barcode url parsing
http://searchupc.com/developers/login.aspx

//For the Encryption and decryption of the url
http://blog.objectgraph.com/index.php/2010/04/20/encrypting-decrypting-base64-encode-decode-in-iphone-objective-c/

Saturday, 25 February 2012

ImageView gallary + rotation + zoom in/out in iphone

imagepicker view & gallery
http://www.zimbio.com/iPhone/articles/1109/Picking+Images+iPhone+SDK+UIImagePickerController

//for image rotation and zoom in /out
http://www.icodeblog.com/2010/10/14/working-with-uigesturerecognizers/
https://github.com/elc/iCodeBlogDemoPhotoBoard
Gridview in iphone
http://www.iphonedevsdk.com/forum/iphone-sdk-development/63512-zzgridview-uitableview-image-grid-view-sections-support.html