Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zniazi
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
zniazi
12y ago
Sanitization can be added pretty easily, but I will ask you this. Who will the user of your app be hurting if they do a SQL injection attack? They will be destroying data on their own phone.
2.
▲
by
zniazi
12y ago
I agree, the syntax is very clean.
3.
▲
by
zniazi
12y ago
That's right.
4.
▲
by
zniazi
12y ago
You are right in that NSFetchedResultsController is a nice feature of using Core Data with TableViews, but the functionality is not difficult to write on your own. As you insert or update data, call [tableView reloadData]. You may not want
5.
▲
by
zniazi
12y ago
The code is written in Objective C. I will make a Swift implementation soon. In the meantime, if you write your application in Swift you can still use it by bridging the Objective C code inside your Swift application. https://dev
6.
▲
by
zniazi
12y ago
I would write a method to check if you have internet connection. And whenever you make a POST request to push some data to your server, check if there is internet access. If there is not, save the data locally. You can do your local save wi
7.
▲
SnapIt – A Core Data Alternative using Ruby-like syntax
(github.com)
22 points
by
zniazi
12y ago
|
13 comments