I am using CodeSmith .NET code generation from a database. Is there a similar code generation tool for SQLite DB that generates code for objective-c?
This Objective-C-based repository for SQLite has a simple bash script that will read the SQLite database and create suitable ORM models for you. Url https://github.com/ziminji/objective-c-sql-query-builder
All you have to do is set up a small properties file that will tell the bash script where the SQLite database is located on your hard drive.
. . , , , .
, , . ; , . , , ( ).
, Interface Builder, , , . , IB, Core Data , , . , .
, , , OS X/IOS. , Core Data ORM, (-Core Data) . , Objective-C , . Active Record . .
I agree with what Barry and bbum said about Core Data. It is very useful. However, this is not a panacea. There may be times when you need to access an existing SQLite database, and transferring it to Core Data will be a complete excess. In these cases, you should use the Flying Meat Database wrapper , also known as "FMDB". It is clean and easy to use.
Source: https://habr.com/ru/post/1792820/More articles:Closing for event handlers is a "return" - javascriptExtjs bbar filter not working as desired? - extjsiPad and jQuery hide () on page loading have a big delay - javascriptYou are having problems with mod rewrite non www to www - mod-rewriteCocoa - Link IBOutlet for Nib Sharing - objective-cOpenCL C / C ++ Dynamic Link Library (win32 or more) - c ++Make index.html show instead of Default.aspx? - asp.netC ++ Callback to send text back to C # - c ++How to move / copy data from MFC to C ++ / CLI using events / delegates / callback - clrServer-side and client-side data processing - javascriptAll Articles