iOS with postgresql

Hi
Can iOS by connect to postgresql server

The iOS framework does only support SQLite.

Short answer: you need to use a Web Service.

See:

How do I connect to a database server from an iOS app?

so far only advantage of XOJO iOS over SWIFT for me… adding SQLite support for SWIFT is a royal PITA

I havn’t tried but this might be something to look into?
https://github.com/ilausuch/ArrestDB

iOS supports SQLite out of the box since the beginning. It’s called Core Data.

You obvioiusly have not ever tried to implement a generic database interface using Core Data… it is the most non-intutitive, complex, poorly designed implementation I have ever seen. It might be ok for small things, where the data structure is known ahead of time, and is immutable, but otherwise … And this is not just my opinion, read the Web… you will find hundreds of people saying the same things

Actually, it’s built into the language. You don’t need CoreData for SQLite.

[quote=202888:@Alexis Colon Lugo]Hi
Can iOS by connect to postgresql server[/quote]
Since no one has said why it’s not available… Our PostgreSQL support comes in the form of a plugin, and since plugins aren’t available on iOS, no PostgreSQL.

I beg to differ… SWIFT has no native support for SQLite outside of the abomination known as “Cored Data”

XOJO supports it because the XOJO engineers wrapped the interface up inside the language definiaiton

[quote=202998:@Dave S]I beg to differ… SWIFT has no native support for SQLite outside of the abomination known as “Cored Data”

XOJO supports it because the XOJO engineers wrapped the interface up inside the language definiaiton[/quote]
Sorry, you’re right. When I read that the first time, I thought we were talking about Xojo iOS.

this works o no
https://github.com/djthorpe/postgresql-kit

No