[Solved] No Visible @interface for ‘MLVPieChartView’ declares the selector ‘tick’ [closed]

I’m looking at your MLVPieChartView.h file and I don’t see a method named “tick” in there. You need to change that call to the object that has a “tick” method. From what I can tell from your GitHub project, there is no “tick” method declared anywhere (in which case you have to create it). 4 … Read more

[Solved] No Visible @interface for ‘MLVPieChartView’ declares the selector ‘tick’ [closed]

Introduction The error “No Visible @interface for ‘MLVPieChartView’ declares the selector ‘tick’” is a common issue encountered when developing applications using the MLVPieChartView library. This error occurs when the code attempts to call a method (in this case, the ‘tick’ method) that is not declared in the MLVPieChartView interface. In this article, we will discuss … Read more

[Solved] Track Running Apps [closed]

This cannot be done. Apple is very restrictive when it comes to things like this. The way I understand it is this: Apple limits the API to your app (you can’t affect other apps or the OS in any major way-this stop malicious behaviour) Your app is ‘sandboxed’ meaning it’s on it’s own, it can’t … Read more

[Solved] Track Running Apps [closed]

Track running apps are a great way to stay motivated and track your progress as a runner. They provide a variety of features, such as tracking your distance, pace, and calories burned, as well as providing audio cues and feedback to help you stay on track. With so many different apps available, it can be … Read more

[Solved] Why use Core data for storage? [closed]

sure, sqlite is a lib for db too, and core data is an object-c lib for database… both are a good way to manage db, you have just to choose your favorite one… and this may help you: http://tapity.com/iphone-app-development/readwrite-data-on-the-iphone-property-lists-sqlite-or-core-data/ 2 solved Why use Core data for storage? [closed]

[Solved] Changing background of cell in tableview behaves not as expected [closed]

When changing cell/textview backgorund color or any other attribute every seventh cell/textview also accepts changes. The Problem is due to re-usability of your UITableViewCell. Modify your -cellForRowAtIndexPath like this… Sample Code : -(UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath { static NSString *reuseIdentifier = @”MyCellType”; UITableViewCell *cell; //UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:reuseIdentifier]; if(cell == nil) { /* … Read more

[Solved] What are some different ways of making an effective email validation method without using regular expression in objective c?

my attempt @interface Tester : NSObject +(BOOL) testForValidMail:(NSString *)mail; @end @implementation Tester +(BOOL)testForValidMail:(NSString *)string { NSRange atRange = [string rangeOfString:@”@”]; BOOL b = NO; if ((atRange.location != NSNotFound) //is `@` present && (atRange.location != 0) // and is `@` not at the beginning -> left substring exist && (atRange.location != string.length-1) // and not at … Read more

[Solved] How to convert an NSString to id or UIView objective-c iphone [closed]

This gets you a UIViewController loaded from a xib. Class vcClass = NSClassFromString (@”myUIView”); UIViewController *detailViewController = [[vcClass alloc] initWithNibName:@”myUIView” bundle:nil]; If you just wanted a UIView object, just do: UIView* myView = [[vcClass alloc] init]; But really, as the three answers so far show it isn’t clear at all what you what. Can you … Read more

[Solved] How to retrieve data from a website into an iphone app

If your problem is getting data from website to iphone then you can just use JSON Parsing to get data. Just you have to pass all the data as JSON string in iPhone from your website. And then parse the data once received into your iPhone. Here you can refer to this link http://www.raywenderlich.com/5492/working-with-json-in-ios-5 Hope … Read more

[Solved] Regarding retain count [closed]

Retain counts are pretty much useless, see http://whentouseretaincounts.com for details of why. However, I added calls to retainCount to your code and ran the following: NSArray *arr = [[NSArray arrayWithObjects:@”ag”, @”sdfg”, @”dgh”, nil] retain]; NSLog(@”%ld”, [arr retainCount]); NSArray *newArr = [[arr mutableCopy] retain]; NSLog(@”%ld”, [newArr retainCount]); [arr release]; NSLog(@”%ld”, [arr retainCount]); [newArr release]; NSLog(@”%ld”, [newArr … Read more

[Solved] Sum of two array [closed]

NSArray *firstArray=[NSArray arrayWithObjects:@”1″,@”2″,@”3″, nil]; NSArray *secondArray=[NSArray arrayWithObjects:@”10″,@”20″,@”30″, nil]; NSMutableArray *sumArray=[NSMutableArray new]; for (NSInteger i=0; i<[firstArray count]; i++) { NSString *newValue=[NSString stringWithFormat:@”%ld”,([[firstArray objectAtIndex:i]integerValue] + [[secondArray objectAtIndex:i]integerValue])]; [sumArray addObject:newValue]; } NSLog(@”sum=%@”,sumArray); Output is : sum=( 11, 22, 33 ) NOTE: both firstArray & secondArray must be of same size, and contain integers as string. Otherwise you need … Read more