I am impressed with these native controls. Their performance is great (especially with UITableView components).
However, I miss an iOS feature for this component: the toolbar with Edit/Done buttons and storyboard. It is really easy to use in x-code, as described here:
The Edition option work on TDPFTableView (see TableView 1 demo)
we have CellEdit and EditAll in Tableview options->Editing yopu can set this properties for enable row delete or all deleting.
Insertin and searchbar and reordering not implementated yet, but i will work on this features.
thanks you feedback
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the answer. I know that the edit mode works perfectly in version 2.0.1. However, without the Edit/Done buttons, how can you start/end the edition in an elegant way? Since I can not change the "Editing" button style in the toolbar or navigation components with the "Done" style in runtime, I can not get the desired behavior.
I just thought this was a missing feature since I have been seing this "tool" in almost any AppStore Application using the tableview editing.
Nice to hear that you will work with the search bar.
C.U
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I managed to get an approach to the Edit/Done button modifing the UINavigationBar component.
I added a ButtonColor property (I couldn´t change the Item Style to bssiItemStyleDone).
It is not the "perfect solution" because I can´t change the position of that button on the left side of the bar of the rootview. However it works.
I guess Babak will purpose a far more good way to get that.
In order to test it, replace the DPF.UINavigationController.pas original file with the attached one and then, uninstall/reinstall the components.
After that, you can try the attached demo to see it in action.
By the way Babak, do you know how can I go to the previous page in an UINavigationController programatically? What I mean is "simulate" the "Go Back" Button.
Would you mind to add the ButtonColor property to the UINavigationController?
I attached the code based in latest version. (Commented with my name in every single change I did).
By the way, you didn´t answer my previous question:
"Do you know how can I go to the previous page in an UINavigationController programatically? What I mean is "simulate" the "Go Back" Button."
Some feedback about the UINavigationController:
The StyleBar property doesn´t work, it always shows the Black Style.
Is it possible to change the BarButtonStyle in runtime like you did with toolbar?
Is it possible to add a BarButton on the left side of Navigation bar?
I am impressed with these native controls. Their performance is great (especially with UITableView components).
However, I miss an iOS feature for this component: the toolbar with Edit/Done buttons and storyboard. It is really easy to use in x-code, as described here:
http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/TableView_iPhone/ManageInsertDeleteRow/ManageInsertDeleteRow.html
I usually use this feature to add "edition mode" to the user where he can delete or order/arrange the items.
I tried to do the same using a UINavigationController but it is not possible to add Edit/Done buttons to it in runtime.
I also miss the SearchBar in that component, but this is not as important as the previous requirement.
Hi, james
The Edition option work on TDPFTableView (see TableView 1 demo)
we have CellEdit and EditAll in Tableview options->Editing yopu can set this properties for enable row delete or all deleting.
Insertin and searchbar and reordering not implementated yet, but i will work on this features.
thanks you feedback
Hello Babak:
Thanks for the answer. I know that the edit mode works perfectly in version 2.0.1. However, without the Edit/Done buttons, how can you start/end the edition in an elegant way? Since I can not change the "Editing" button style in the toolbar or navigation components with the "Done" style in runtime, I can not get the desired behavior.
I just thought this was a missing feature since I have been seing this "tool" in almost any AppStore Application using the tableview editing.
Nice to hear that you will work with the search bar.
C.U
Ok,
You right, I will fix changing toolbar button systemstyle in runtime next release.
thanks your feedback
Hi James:
I managed to get an approach to the Edit/Done button modifing the UINavigationBar component.
I added a ButtonColor property (I couldn´t change the Item Style to bssiItemStyleDone).
It is not the "perfect solution" because I can´t change the position of that button on the left side of the bar of the rootview. However it works.
I guess Babak will purpose a far more good way to get that.
In order to test it, replace the DPF.UINavigationController.pas original file with the attached one and then, uninstall/reinstall the components.
After that, you can try the attached demo to see it in action.
By the way Babak, do you know how can I go to the previous page in an UINavigationController programatically? What I mean is "simulate" the "Go Back" Button.
Greetings
Hi James, Diego
thank you your idea,
I added runtime add, delete, modify in tool bar
see TableView 1 demo and ToolbarDynamic demo
regards
Hi Babak. Great work with the toolbar.
Would you mind to add the ButtonColor property to the UINavigationController?
I attached the code based in latest version. (Commented with my name in every single change I did).
By the way, you didn´t answer my previous question:
"Do you know how can I go to the previous page in an UINavigationController programatically? What I mean is "simulate" the "Go Back" Button."
Some feedback about the UINavigationController:
Greetings!
Hi, Diego
For next page use PushViewController
For previous page use PopViewController
please post new ticket for your "Some feedback about the UINavigationController"
thank you