[Solved] Is it okay to be learning to program for iOS with an iOS 5 book? [closed]

There are less radical changes to the API, that’s true. Auto-Layout it probably the biggest change. The rest are additions that you can check out later, like Pass Kit, Reminders API, UICollectionView or better social integration. I wouldn’t worry too much about an iOS 5 book being out-dated, if it’s good. Make sure it teaches … Read more

[Solved] How can i fetch value from Json response in Objective -C

Try this… NSError *error; Array1 = [NSJSONSerialization JSONObjectWithData:responseData options:kNilOptions error:&error]; for(int i=0;i<[Array1 count];i++) { NSDictionary *dict1 = [Array1 objectAtIndex:i]; ATArray =[dict1 valueForKey:@”AT”]; DIdArray =[dict1 valueForKey:@”DId”]; DOArray =[dict1 valueForKey:@”DO”]; PLIdArray =[dict1 valueForKey:@”PLId”]; etc… Array2=[dict1 valueForKey:@”PdCatList”]; for(int i=0;i<[Array2 count];i++) { NSDictionary *dict2 = [Array2 objectAtIndex:i]; PLIdArray =[dict2 valueForKey:@”PLId”]; PPCIdArray =[dict2 valueForKey:@”PPCId”]; etc… Array3=[dict2 valueForKey:@”pdList”]; for(int i=0;i<[Array3 count];i++) … Read more

[Solved] How to make UI with round image and round text, also add ratting icon on same circle. in iOS application

Import roundImageView.h class in your view class and set background image on your UIButton. Please change button type Custom. After Following these steps try this code . CGRect frame = CGRectMake(0, 0, 200, 200); roundImageView *roudImage = [[roundImageView alloc]init]; UIImage *image1 = [roudImage createMenuRingWithFrame:frame :@”Your Title” labelBgColor:[UIColor colorWithRed:(191/255.f) green:(251/255.f) blue:(158/255.f) alpha:1] ringBgColor:[UIColor colorWithRed:(214/255.f) green:(214/255.f) blue:(214/255.f) … Read more

[Solved] How can I implement 4 Round Rect Buttons which behave like tabbars items? [closed]

Just check with complete code. which acts like tabbar controller. localViewControllersArray = [[NSMutableArray alloc] initWithCapacity:0]; AllRumsController *allRumsScreen=[[AllRumsController alloc]init]; RumRecipesController *rumRecipesScreen =[[RumRecipesController alloc] init]; PartyPlannerClass *aPartyPlannerScreen =[[PartyPlannerClass alloc] init]; BarTendingClass *aBarTendingScreen =[[BarTendingClass alloc] init]; MoreControllersClass *moreControllerScreen =[[MoreControllersClass alloc] init]; controllersArray = [[NSArray alloc]initWithObjects:allRumsScreen,rumRecipesScreen,aPartyPlannerScreen,aBarTendingScreen,moreControllerScreen,nil]; for(int i=0;i<[controllersArray count];i++) { UINavigationController *localNavigationController=[[UINavigationController alloc]initWithRootViewController:[controllersArray objectAtIndex:i]]; localNavigationController.navigationBar.barStyle = UIBarStyleBlackOpaque; if(!i) [localNavigationController … Read more

[Solved] iOS – Why wont my audio play in the background? [closed]

I have changed to iOS 5.1, because i don’t want to update my phone to a beta version of iOS… There are compile errors in this case. it would be helpful if you show how is created the player: NSURL *url = [NSURL fileURLWithPath:[[NSBundle mainBundle] pathForResource:_detailItem ofType:@”mp3″]]; NSError *error; player = [[AVAudioPlayer alloc] initWithContentsOfURL:url error:&error]; … Read more

[Solved] Xcode: Page-based application [closed]

Where to start learning about UIPageViewController: View Controller Catalog for iOS: “Page View Controllers” The last 15 minutes of WWDC 2011 Videos: Implementing UIViewController ContainmentTechtopia: An Example iOS 5 iPhone UIPageViewController Application solved Xcode: Page-based application [closed]