Hello,
I am creating an app kind of like the contacts app. It will show a table of data based upon loaded .plist files organized in SQLite, and when you click on the person's name it will show a detailed view of their info.
I can get the initial contact list to show up just fine and it populates correctly, but when I click on a name however, all I see are two blank tables that I set up (Contact info, and links).
In my NameDB.swift file there is this snippet of code referencing detail view.
and here is my code trying to load the data in the detail view tables http://pastebin.com/fMVK69Y9 .
I am creating an app kind of like the contacts app. It will show a table of data based upon loaded .plist files organized in SQLite, and when you click on the person's name it will show a detailed view of their info.
I can get the initial contact list to show up just fine and it populates correctly, but when I click on a name however, all I see are two blank tables that I set up (Contact info, and links).
In my NameDB.swift file there is this snippet of code referencing detail view.
Code:
func getItemDetail(_ selectedUuid:String) -> Dictionary<String, AnyObject?> {
var queryResult = [String:AnyObject?]()
let query = items.select(IDnumb, firstname, lastname, itembrand, hiremonth, hireyear, managername, division, officenumb, officestate, officeaddress, CompanywebpageURL, MessagingURL, emailAddress)
.filter(IDnumb == selectedIDnumb)