[Solved] Customizing App Appearance on Xcode 3? [closed]

Yes, you use the interface builder. What are you specifically trying to customize? Your question is incredibly vague. Also, you know you can still download Xcode 4 without mountain lion installed. Here is a link on how to go about customizing your app’s UI: http://developer.apple.com/library/ios/#documentation/IDEs/Conceptual/xcode_quick_start/020-Tutorial_Designing_a_User_Interface_with_Interface_Builder/interface_builder_tutorial.html EDIT: You said you wanted to add an image to … Read more

[Solved] How to convert data string to json object and string in iOS?

Use this NSString *str=@”{\”Data\”: [{\”ID\”:\”1\”,\”Name\”:\”Raj\”},{\”ID\”:\”2\”,\”Name\”:\”Rajneesh\”}]}”; NSMutableDictionary *dict=[NSJSONSerialization JSONObjectWithData:[str dataUsingEncoding:NSUTF8StringEncoding] options:kNilOptions error:nil]; NSMutableArray *dataArr=[dict valueForKey:@”Data”]; for (NSDictionary *userData in dataArr) { NSLog(@”Id:%@ Name:%@”,[userData valueForKey:@”ID”],[userData valueForKey:@”Name”]); } 0 solved How to convert data string to json object and string in iOS?

[Solved] Unable to solve the error “[__NSCFBoolean length]: unrecognized selector sent to instance”

Your issue is with this line: NSURL *U1 =[NSURL URLWithString:[dict objectForKey:@”img”]]; The problem is caused by the fact that you assume: [dict objectForKey:@”img”] is returning an NSString when in fact it is returning an NSNumber representing a boolean value. You need to either figure out why the data in the dictionary is incorrect or you … Read more

[Solved] how to rotate an image in different direction using single button?

try this, here yourImage is the image view which is to be rotated – (IBAction)rotateImage:(UIButton *)sender // your button action method { if (!sender.selected) { [sender setSelected:YES]; [UIView animateKeyframesWithDuration:2.0 delay:0.0 options:UIViewKeyframeAnimationOptionCalculationModeLinear animations:^{ [UIView addKeyframeWithRelativeStartTime:0.0 relativeDuration:1/3.0 animations:^{ yourImage.transform = CGAffineTransformMakeRotation(2.0 * M_PI / 3.0); }]; [UIView addKeyframeWithRelativeStartTime:1/3.0 relativeDuration:1/3.0 animations:^{ yourImage.transform = CGAffineTransformMakeRotation(4.0 * M_PI / 3.0); … Read more

[Solved] iPhone-Table View

You can size any table view to be whatever size you want. Just drag a table view controller into your view controller’s content view and hook up the outlets, delegate, and data source. We have an app in the app store where the iPad version uses a table view that lives in the left lower … Read more

[Solved] Shell / Makefile Linker

error messages like avr-gcc: No such file or directory Indicate 1 of several things the executable avr-gcc is not installed (properly) and/or the PATH env var does not include the directory that holds the executable the makefile was called incorrectly. Others Here are some things to try When you say “downloaded the makefile”, is that … Read more

[Solved] I have a lib “.a” file, where it contents some value,I am able to read the contents

It’s may help you! NSString *str=@”1 2 3″; NSArray *split = [str componentsSeparatedByString:@” “]; NSString *replacevalue=@” “; for(int i=1;i<[split count];i++) { if([replacevalue isEqualToString:@” “]) replacevalue=[NSString stringWithFormat:@”%@”,[split objectAtIndex:i]]; else replacevalue=[NSString stringWithFormat:@”%@,%@”,replacevalue,[split objectAtIndex:i]]; } NSLog(@”%@”,replacevalue); 1 solved I have a lib “.a” file, where it contents some value,I am able to read the contents