[Solved] How to make a drawing program [closed]

try this demo for your application http://code4app.net/ios/Paint-Pad/4fcf74876803faec66000000 https://www.cocoacontrols.com/controls/smooth-line-view https://www.cocoacontrols.com/controls/acedrawingview https://www.cocoacontrols.com/controls/mgdrawingslate it may help you. 1 solved How to make a drawing program [closed]

[Solved] how to store the data into NSMutableString?

try this code NSString *XMLStr = [[NSString alloc]initWithBytes:[webData mutableBytes] length:[webData length]encoding:NSUTF8StringEncoding ]; NSLog(@”the xml product is %@”,XMLStr); Use this code i hope it helps You. solved how to store the data into NSMutableString?

[Solved] how to use two CollectionView on same view controller scroll one by one [closed]

You can add two collection view in a single view controller by dragging it. but you have to validate UIcollection view like func collectionView(collectionView: UICollectionView, cellForItemAtIndexPath indexPath: NSIndexPath) -> UICollectionViewCell { var cell = HomeCollectionViewCell() if(collectionView == self.collName1) { cell = collName.dequeueReusableCellWithReuseIdentifier(“CellIdentifier”, forIndexPath: indexPath) as! HomeCollectionViewCell } else if(collectionView == self.collName2) {} return cell } … 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 to converts NSMutableArray values into NSString? [duplicate]

You can use this code: theCoordinate2.longitude = [[details.longarray objectAtIndex:0] stringByAppendingString:[details.longarray objectAtIndex:1]; //and so on for index 2,3,4 stringByAppendingString:[details.longarray objectAtIndex:2 NSLog(@”longitudes list from %f”,theCoordinate2.longitude); solved how to converts NSMutableArray values into NSString? [duplicate]

[Solved] How to pass the NSString from One UIViewController to Another UIViewController? [duplicate]

-(IBAction)buttonClicked:(id)sender { //check = [[NSString alloc] init]; — NO Need if (btn1.tag == 0) { check = @”foo”; NSLog(@”%@”,check); } if (btn2.tag == 1) { check = @”bar”; NSLog(@”%@”,check); } ViewController2 *obj = [[ViewController2 alloc] initWithNibName:@”ViewController2″]; [obj setCheck:check]; //push to ViewController2 [obj release]; } In your second view controller, #import <UIKit/UIKit.h> @interface ViewController2 : UIViewController … Read more

[Solved] How to detect voice in my iPhone app? [closed]

Use AVAudioRecorder – Audio Metering – checkout out this tutorial – dettect when a user blows into mic http://mobileorchard.com/tutorial-detecting-when-a-user-blows-into-the-mic/ Quick Example: _audioRecorder.meteringEnabled = YES; //1. This method will get the current mic activity and will format it to a 0 – 1 scale. -(void)checkRecordingMeters:(NSTimer *)timer { [_audioRecorder updateMeters]; const double ALPHA = 0.2; float peakPower … Read more

[Solved] objective-c – using a boolean value from one class in another class

be careful with the “global definition”. if your class must save the user settings, you can use: for save: NSUserDefaults *pref = [NSUserDefaults standardUserDefaults]; [pref setBool:YES forKey:@”AudioIsON”]; [pref synchronize]; for reading: BOOL myBooleanSetting = [[NSUserDefaults standardUserDefaults] boolForKey:@”AudioIsON”]; instead of, is better to learn the delegate and the property. hope this help you. solved objective-c – … Read more