Advertise here




Advertise here

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Google Sign In with OpenID
Please do not post the same thing multiple times. The board software automatically flags certain posts as needing moderator attention. This happens the most often for new users. I'm pretty sure this is made clear at the time you attempt to post. Posting the same thing over and over again just makes that many more posts the moderators have to weed through later. This makes us sad. Don't make us sad. If your post/thread doesn't appear, just wait a while. Don't post it again. If it hasn't shown up by the next day, then you can try again. I normally go through posts in the mornings, and try to check a few times throughout the day, but I'm not here 24/7. There will typically be a significant delay before posts are approved. Just be patient.

Core Data Setup

tripp13tripp13 Posts: 148Registered Users
I have three questions for any one that would be kind enough to give their opinions and advice.

1 - When taking values from an attribute in an entity IOT sum them, which is the better, preferred method...using a predicate, placing them in a dictionary, or storing them in an array?

2 - When using a splitView app, is it best to display every pushView in the rootView, or separate the pushes between the rootView and detailView. For example, in the rootV, you push the add button and a pushView is displayed in the rootV where you enter the data, tap save, it pushes back to the parentView in the rootV where all your "names" are displayed. THEN when you click a cell, it pushes a view onto the detailView where you can tap another add button to add additional details about that name, click save, and back in the detailView that displays all the individual details you have entered over time in a tableView. When you hit the back button, you're back to the parentView of the detailView. Doing the second method allows me to show more data in the detailView tableView, but takes away my ability to show other data in the parentView of the detailView. Doing the first prohibits me from selecting a new name in the rootView until I pop back to that parentView. Any thoughts?

3- I'm considering adding a tabBar. If the additional tabs are not related to eachother and I want to use core data, do I add a new core data model for each tab, or create new entities in what I already have and only create relationships to those entities for that particular tab?

And a last question I just thought about. I'm not using any xibs for my viewControllers except for the the detail and root that are created when you build a new project with a splitview. How do I add a toolbar to the keyboard and how do I get the view to scroll up when I click in a textField that is a subview of a cell? The standard way does not work and since a scrollview is included in a tableView, I don't need to add one. This one has been frustrating me for a while and isn't too necessary based on my current layout, but it would be nice to know for future reference.

Thanks, y'all. Looking forward to your responses.
Sign In or Register to comment.