Skip to content Skip to sidebar Skip to footer

Getting Error While Inserting Data To My Table In Database Using 'storyboard' I.e "no Visible Interface..."?

I'm new to IOS and this is My first crud operation on it And I named this App As BIDDatabaseApp Kindly be gentle with me i am just a learner i am getting difficulty to debug this p

Solution 1:

Your syntax to set a property is wrong, it should be

products.nameProd = self.txtNameFeild.text;

which the compiler translates to the equivalent

[products setNameProd:self.txtNameFeild.text];

And arrayOFProducts should be declared as NSMutableArray if you want to add objects to it.

(Note that you can remove the @synthesize statements from your source code, the current Clang compiler synthesizes properties automatically.)

Post a Comment for "Getting Error While Inserting Data To My Table In Database Using 'storyboard' I.e "no Visible Interface..."?"