Re: Displaying history - potential ways to do it
Re: Displaying history - potential ways to do it
- Subject: Re: Displaying history - potential ways to do it
- From: Fritz Anderson <email@hidden>
- Date: Wed, 25 Apr 2012 10:37:22 -0500
On 21 Apr 2012, at 5:39 AM, The Rhythmic wrote:
> Hi, Am a newbie to iOS development. I want to display the DB history i.e.
> the changes the users make to a specific critical table in the DB, from
> bottom-up, i.e. the first update appears bottom-most ...something like
>
> ...
> ...
> Apr 10th - Changed 'status' field from 'boolean' to 'char'
> Apr 5th - Granted Joe access to the table
> Apr 2nd - Added a column to the table
>
> And I would like to display it in a fancy way...something like the timeline
> in Path app if I should say a recent example.
>
> One possible way I see to do this is to use UITableViewCell. Is there any
> other way to do this? Which is recommended/apt?
I don't think I understand what you're trying to do. The changes you refer to are changes to the schema or data model — changes you'd make in the development environment — but you say you want to display the changes in your app?
If you just want to log them and don't care how they are displayed, that's a job for the messages you attach to the source-control commits for the revisions in which the changes are made.
If you want to put the log into the app, you don't have to worry about keeping a dynamic list. You can embed a property list (or other file) in the app, containing a log you maintain by hand.
I'm not familiar with Path, or how fancy it is. For the display of stacked elements on iOS, one's thinking should begin with UITableView. Putting together custom UITableViewCells (not even UITVC subclasses — you can just build them in a XIB or storyboard and refer to the parts by UIView tags) will give you as fancy a display as you want.
— F
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden