Discussion Forums  >  Xcode, Errors, Installing, Configuring

Replies: 11    Views: 502

jtommervik
I hate code!
Profile
Posts: 17
Reg: Feb 21, 2012
Seattle
3,870
04/01/14 10:58 AM (10 years ago)

ARC Semantic Issue

Xcode error is: 'No visible @interface for 'UITableView' declares the selector 'setSeparatorInset' Does anyone know what this means? Xcode wont compile app...
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
04/01/14 11:02 AM (10 years ago)
it's because this is an iOS7 only method what plugin is it
 
jtommervik
I hate code!
Profile
Posts: 17
Reg: Feb 21, 2012
Seattle
3,870
like
04/01/14 11:04 AM (10 years ago)
The plugin is: Menu with Image by Susan@buzztouch
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
04/01/14 11:05 AM (10 years ago)
does it run when set to iOS 6 simulator
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
04/01/14 11:06 AM (10 years ago)
does it crash when tested on iOS 7 simulator or device
 
jtommervik
I hate code!
Profile
Posts: 17
Reg: Feb 21, 2012
Seattle
3,870
like
04/01/14 11:25 AM (10 years ago)
Just tried to run on iOS 6. Same problem. Have not tried on iOS 7 simulator or device. I only have an option of testing on a 6.0 or 6.1. I could test on older simulator but I need to download them. Does not give me anoption of testing on iOS 7 simulator.
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
04/01/14 11:29 AM (10 years ago)
search for this "setSeparatorInset" in the plugin.m might look like this [tableView setSeparatorInset:UIEdgeInsetsZero]; add this if statement around it so it looks like this if ([tableView respondsToSelector:@selector(setSeparatorInset:)]) { [tableView setSeparatorInset:UIEdgeInsetsZero]; } bare in mind tableView might be myTableView
 
jtommervik
I hate code!
Profile
Posts: 17
Reg: Feb 21, 2012
Seattle
3,870
like
04/01/14 11:37 AM (10 years ago)
I copied and pasted the error and code from the project: //ios7 doens't extend separator to left edge for each row. Lame! if([menuTable respondsToSelector:@selector(setSeparatorInset:)]){ [menuTable setSeparatorInset:UIEdgeInsetsZero]; } //add the table as a sub-view... [self.view addSubview:menuTable];
 
Kittsy
buzztouch Evangelist
Profile
Posts: 2251
Reg: Feb 22, 2012
Liverpool
31,360
like
04/01/14 11:39 AM (10 years ago)
that is there and it still crashes
 
jtommervik
I hate code!
Profile
Posts: 17
Reg: Feb 21, 2012
Seattle
3,870
like
04/01/14 12:18 PM (10 years ago)
I redid the project and used the SIMPLE MENU plugin instead. All I have is a SIMPLE MENU with one menu item which leads to a BLANK PAGE and I still get that message...
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
04/01/14 07:36 PM (10 years ago)
What version of Xcode? What version of Mac OS X?
 
jtommervik
I hate code!
Profile
Posts: 17
Reg: Feb 21, 2012
Seattle
3,870
like
04/02/14 03:05 PM (10 years ago)
Thanks for your replies guys and your help. I just needed to update my OS X and Xcode.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.