I am trying to improve the ToDo app for iPhone.
I have two objects: 1. Task 2. Project
A project can have several tasks, but a task can have one or one project.
I am trying to show both in the same UITableView using NSFetchedResultsController
Is it possible to extract two objects and display / sort them as from one UITableView?
Not sure what I understood completely, but are you trying to display projects and tasks in the same UITableView?
, , "" - , Task Project. (, TableView). , .
, , , .
, , NSFetchedResultsControllers, Entity, rowForIndexPath: ( - ). .
Core Data? , Project, Task .
NSFetchedResults, . Task , nil.
, , .
1 -:2 -:
1 -:
2 -:
..
, . , .
Source: https://habr.com/ru/post/1724799/More articles:Custom query - mysqlWhat is the time complexity of the java.util.HashMap 'keySet () method? - javaUSB How to create a bootable USB user application? - c ++Getting the most common keywords from the tsvector column - postgresqlconverting css hover to jquery hover - jqueryПочему мои обратные ссылки Perl жалуются "sh: строка 1: any: command not found"? - perlHow to add multiple query folders in LINQPad? - linqpadA different image in each UITableview cell - objective-cHMAC (hash code for message authentication as well as data signing) in Mathematica - authenticationIs there an easy way to determine which file is its extension in C #? - c #All Articles