Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 13    Views: 129

feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
10/09/12 06:24 AM (13 years ago)

BTA DESIGN MENU ERRORS

Hello I am very excited to get this plug in to work successfully. After I read through the manual and made all the setting what they were supposed to be I try to build the project in the iphone simulator and a ton of errors appear about BTA_menu_implementation. Can someone help? Here is where the errors occur @implementation BTA_design_menu @synthesize menuItems, myTableView, headerImageView, theParentMenuScreenData, theMenuItemData; @synthesize saveAsFileName, downloader, isLoading, didInit; @synthesize filteredMenuItems, displayMenuItems; @synthesize searchBox, searchTimer, isSearching; - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { // Return YES for supported orientations return (interfaceOrientation == UIInterfaceOrientationPortrait || interfaceOrientation == UIInterfaceOrientationPortraitUpsideDown); } //viewDidLoad -(void)viewDidLoad{ [BT_debugger showIt:self:@"viewDidLoad"]; [super viewDidLoad]; //init screen properties [self setDidInit:0]; //flag not loading [self setIsLoading:FALSE]; //////////////////////////////////////////////////////////////////////////////////////// //build the table that holds the menu items. self.myTableView = [BT_viewUtilities getTableViewForScreen:[self screenData]]; self.myTableView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; [self.myTableView setDataSource:self]; [self.myTableView setDelegate:self];
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
10/09/12 07:39 AM (13 years ago)
What are the errors? Are they warnings (yellow) or errors (red) in Xcode? You posted some of the code in the .m file...it looks fine so the actual errors are needed to know what your build is doing.
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
10/09/12 08:11 AM (13 years ago)
After each line after BTA_design_menu it says property implementation must have its declaration in interface 'BTA_design_menu' in red and then where it says self.myTableView = [BT_viewUtilities getTableViewForScreen:[self screenData]]; self.myTableView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; [self.myTableView setDataSource:self]; [self.myTableView setDelegate:self]; There are red errors that says Property myTableView' not found on object of type 'BTA_design_menu Originally @implementation BTA_design_menu said Bta_design_menu The author told me to change it to BTA to help try to fix it but that didnt help. Can I send you a screen shot?
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
10/09/12 08:25 AM (13 years ago)
Hi Jumping in, Yes we discussed this before. Strange error selfhosted version seems ok. @David: I've send you an email about this. Hope for a quick fix. Best Regards, Danny
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
10/09/12 10:06 AM (13 years ago)
Hi all, this problem will be sold but for now this is a temporary solution: In your (Xcode)project go to the folder plugins/bta_design_menu Now delete these two files: Bta_design_menu.m Bta_design_menu.h And rename this file: BTA_design_menu.1.m To BTA_design_menu.m That should work. Sorry for the inconvenience. PS The Blog Pro Plugin seems to have the same problem. The solution is also the same (delete the 2 files that start with Bta and rename the file with the .11 in it's filename to the filename without the .1) we'll correct this as soon as possible. Best Regards, Danny
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
10/09/12 10:17 AM (13 years ago)
Buzztouch's server is producing files that shouldn't be there. That's what is producing thos errors. I'm sure David will respond soon with a fix. For now use mu temporary solution above. Best Regards, Danny
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
10/09/12 10:32 AM (13 years ago)
Yup, I think this is straightened out. Re-fetch the project source...bet it's fixed. The file names and class names in the iOS folder should be BTA_design_menu with an upper case "TA" The mystery files were lower cased Bta. @Danny is right, this is something happening on the download server and not with his plugin. Should be good to go.
 
ATRAIN53
Code is Art
Profile
Posts: 1755
Reg: Nov 17, 2011
Chicago
26,450
like
10/09/12 10:51 AM (13 years ago)
^^ the download server does seem to traverse case on plug-ins. This caused me some issues when trying to work with XIB files to make a plug-in. Names have to be EXACT for them to work properly. I think I mentioned it when the plug in creator tool first came out. I try to do everything in lowercase now when working with that tool, esp since Android doesn't allow uppercase letter in some files. anxious to play with this tool, looks like a great plug-in!
 
feraco
Aspiring developer
Profile
Posts: 705
Reg: Jan 23, 2012
nyc
15,050
like
10/09/12 11:07 AM (13 years ago)
Hey Everyone who helped fixed this thank you. I am loving the plug in market and want more. It is working well in the simulator. Thanks again !!!!!!
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
10/09/12 11:14 AM (13 years ago)
Thanks David, For deleting the files that were causing the trouble. btw: Excuse me if it sounded like I was looking/pointing for the guilty one. It wasn't my intention. I wasn't blaming anyone but just making clear where the problems came from. Thanks again!!! Best Regards, Danny
 
Toomuchpresha
Aspiring developer
Profile
Posts: 2
Reg: Sep 19, 2012
Wrexham
20
like
10/10/12 06:21 AM (13 years ago)
Just got this thread Danny. Downloading project again now. Thanks Roger
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
10/16/12 03:33 AM (13 years ago)
Hi Danny I have just purchased your plugin but I cannot get any images or menu layout to show, been reading the post above and not sure if what was said still applies, plus I don't understand whether I should delete the files you have mentioned and if I do how do I rename it if I have deleted it, confused. Need Help!
 
Dragon007
Lost but trying
Profile
Posts: 1509
Reg: Dec 17, 2011
London
20,590
like
10/16/12 03:48 AM (13 years ago)
Its OK, sorted.
 
PSMDanny
Apple Fan
Profile
Posts: 1166
Reg: Dec 09, 2011
Heerlen
21,940
like
10/16/12 03:58 AM (13 years ago)
Hi Dragon, Thanks for using the plugin. This thread was something from a while ago. The issue mentioned was quickly fixed by David and affected only buzztouch.com (not self hosted). But I'm glad to hear/read that you sorted it out. Best Regards, Danny
 

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.