1) yes ToolBar not currently implemented i am working on.
2) Oninsertion, Ondelete, Onupdate... will be added.
3) Item Description in native iOS table is the top left of item ! and i am trying to add a label in the item for set it bottom of item caption.
4) i will be added subview into item.
5)ohhh! no in Persia header an footer top down :). will be correct.
6) currently nothing ! but i want to use header for toolbar header and HeaderView for add a subview to header. ( Will be added in the near future. ).
7) for PageControl i will add a demo.
8) firemonkey properties like position will be added.
Believe me, I'm just going to be a help to learn iOS Classes.
And I'm too busy,
But, However, I will try to satisfy all the features requested by my friend,
Again let me know if you see anything
Thank you for your feedbacks
Regards
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Once more, I am pretty impressed with your hard work.
There are a lot of controls already wrapped and the set is quite useable.
More feedback:
I couldn´t test the MapView control since anytime I compile it (into Simulator, Device, Release or Debug) I get this exception:
Error reading DPFMapView1.ZoomLevel
On the other hand, I have been taking a look at the iOSAPI.UIKit in order to animate controls. And I figurated out how to do it (even flip a UIView).
So I tried to "simulate" a SubView in a UITableView Item with a soft slide transition. It worked perfectly, but since we still haven't wrapped the Toolbar component, I can´t get the iOS appearance with the navigation bar.
Do you have any plan for wrapping the iOS Toolbar?
It would be also interesting being able to attach a file with the ComposeMail component.
Greetings from Spain
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
There is a problem with DPF.IOS.UIImageView.pas file (1.6.5v)
There are some missing {$IFDEF IOS} / {$ENDIF} statements at the "SetImage procedure" and before using the "function UIImageToBitmap" in order to install the components.
Greetings
Last edit: Diego 2013-07-06
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the Toolbar component! I really was looking forward for it.
Just some thoughts about it:
It is not possible to select the position for an item in the toolbar.
I tried to create a left Item Button, a Title Item Button and a Right Item Button trying to change the size of the Title Item in runtime in order to get the "typical" Left and Right Button navigation toolbar with a header title. However, when you change the item width in runtime, the change is ignored.
It is not possible to select a default item in the UISegmented control. You can select the SelectedItemIndex in designtime, however when you compile you don´t see that item selected. In order to get this to work properly, I had to assign the OnChange event like this:
procedure TForm1.DPFSegmentedControl1Changed(Sender: TObject;
SegmentIndex: Integer);
begin
DPFSegmentedControl1.SelectedIndex:=SegmentIndex;
end;
After that, in OnShow Form event I added the next code:
On the other hand, I have attached a demo for animations in DPF Components. I hope it is useful (By the way, I sent it to your mail some minutes ago because I didn´t realize that the "Add attachment" option was available here)
Thank you for your very very good demo,
I will be add in demo list.
I fixed UISegmented default value,
I add a another toolbar into Demos\Toolbar with left and center and right button on the toolbar, see that in the next release,
Many thanks for good feedbacks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Once more, great update! (1.7.0.0)
I am glad that you found my demo useful!
Thanks for the new demo with the toolbar, I had not noticed the ButtomStyleItem bbsiflexiblespace.
Some comments about the new version:
-In install.txt notes, you say that you need to build and install the Runtime Package (dpk). Actually you can build it, not install it.
-Changing items properties in runtime is not working (For instance, you can not disable, hide, change... a item of the toolbar in runtime)
-Is there any chance you can add a "bbsiBack" ButtomStyle in Toolbar BarItems? (Maybe this style is only available with subviews in UITableView in native iOS)
-Alpha property is not working anymore in 1.7.0.0v (I noticed running my animation demo with the new version)
-ItemDescription in UITableView is never shown neither at the top nor the bottom (I know you were working at this point)
Of course, these are minor issues and using your components you can get a far more accurate results than with firemonkey controls!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
v.1.8.0
Bugs:
- ViewStyle =tvsGrouped in a DPFUITableView not working anymore in new version.
- The toolbar of UINavigationControl does not position on the top of the form (there is a blank space)
- NavigationController is not working in real devices (it shows an exception and it closes down) (Tested with demo)
- NavigationControler Title is not aligned correctly to the center in an iPad (tested on simulator and real device iPad2). The right button doesn´t appear either in this device because it is out of the form.
- RightButton click in UINavigationControl produces an exception. To reproduce it, just open your NavigationController demo, and add a title to BarItems.Item[0]. Compile an press the new button on the right of the toolbar.
- Both, Secure and Plain Text Alerts of DPFAlertView only show an input box.
Suggestions:
- It would be great to have the "Form" property of UIView for UIViewController so that we can embed forms and use them in a navigationcontroller.
Other comments:
- I noticed that if you increase a toolbar height, the default items height is also increased. Maybe there is someway to increase the items size without increasing the toolbar height.
Greetings and thank you for your effort!
Edited: fixed some grammar mistakes.
Last edit: Diego 2013-07-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
iPhone 3gs, 4 not have BLE hardware,
and first iPhone device with BLE hardware is iPhone 4S.
Even if iPhone 4 can run with iOS 5, BLE communication is not possible on it.
And i have not a 4s or 5 to testing this, sorry.
So, I'll work on it later when i bought a iPhone 4s or 5, :)
Regards
Last edit: Babak Yaghoobi 2013-07-12
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Babak, do you know if the virtual keyboard opens, it can't be closed anymore? I need to restart the whole app. The "Done" button seems to do nothing, and even if I try to set the focus to other control (a button for example) it doesn't close.
Regards,
Fenistil
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi b_yaghobi
Thanks for these great components!
I would like to give you some feedback about them:
TDPFUITabelView:
TDPFPageControl:
On the other hand, I also noticed that it is not possible to move/animate native iOS components in runtime:
For instance:
DPFButton1.Position.X:=0; //(is not working)
I hope my feedback can help you to improve the components.
Hi, Diego
Thank you for your feedback,
1) yes ToolBar not currently implemented i am working on.
2) Oninsertion, Ondelete, Onupdate... will be added.
3) Item Description in native iOS table is the top left of item ! and i am trying to add a label in the item for set it bottom of item caption.
4) i will be added subview into item.
5)ohhh! no in Persia header an footer top down :). will be correct.
6) currently nothing ! but i want to use header for toolbar header and HeaderView for add a subview to header. ( Will be added in the near future. ).
7) for PageControl i will add a demo.
8) firemonkey properties like position will be added.
Believe me, I'm just going to be a help to learn iOS Classes.
And I'm too busy,
But, However, I will try to satisfy all the features requested by my friend,
Again let me know if you see anything
Thank you for your feedbacks
Regards
I'm glad to hear you are working on those features. Take all time you need!
Thanks again
Once more, I am pretty impressed with your hard work.
There are a lot of controls already wrapped and the set is quite useable.
More feedback:
I couldn´t test the MapView control since anytime I compile it (into Simulator, Device, Release or Debug) I get this exception:
On the other hand, I have been taking a look at the iOSAPI.UIKit in order to animate controls. And I figurated out how to do it (even flip a UIView).
So I tried to "simulate" a SubView in a UITableView Item with a soft slide transition. It worked perfectly, but since we still haven't wrapped the Toolbar component, I can´t get the iOS appearance with the navigation bar.
Do you have any plan for wrapping the iOS Toolbar?
Greetings from Spain
Hi, Diego
Added Transition Animation to controls. (use SetAnimationTransition for all controls)
Attach file will be added
thanks your feedback.
Thanks for the quick update!
There is a problem with DPF.IOS.UIImageView.pas file (1.6.5v)
There are some missing {$IFDEF IOS} / {$ENDIF} statements at the "SetImage procedure" and before using the "function UIImageToBitmap" in order to install the components.
Greetings
Last edit: Diego 2013-07-06
Hi, Diego
Fixed UIImageView compiling
Added attachment to MailCompose
Thank you for your feedback.
Hi again Babak:
Thanks for the Toolbar component! I really was looking forward for it.
Just some thoughts about it:
It is not possible to select the position for an item in the toolbar.
I tried to create a left Item Button, a Title Item Button and a Right Item Button trying to change the size of the Title Item in runtime in order to get the "typical" Left and Right Button navigation toolbar with a header title. However, when you change the item width in runtime, the change is ignored.
It is not possible to select a default item in the UISegmented control. You can select the SelectedItemIndex in designtime, however when you compile you don´t see that item selected. In order to get this to work properly, I had to assign the OnChange event like this:
procedure TForm1.DPFSegmentedControl1Changed(Sender: TObject;
SegmentIndex: Integer);
begin
DPFSegmentedControl1.SelectedIndex:=SegmentIndex;
end;
After that, in OnShow Form event I added the next code:
DPFSegmentedControl1Changed(DPFSegmentedControl1,1);
This way, it works as it should do.
On the other hand, I have attached a demo for animations in DPF Components. I hope it is useful (By the way, I sent it to your mail some minutes ago because I didn´t realize that the "Add attachment" option was available here)
Hi, Diego
Thank you for your very very good demo,
I will be add in demo list.
I fixed UISegmented default value,
I add a another toolbar into Demos\Toolbar with left and center and right button on the toolbar, see that in the next release,
Many thanks for good feedbacks
Once more, great update! (1.7.0.0)
I am glad that you found my demo useful!
Thanks for the new demo with the toolbar, I had not noticed the ButtomStyleItem bbsiflexiblespace.
Some comments about the new version:
-In install.txt notes, you say that you need to build and install the Runtime Package (dpk). Actually you can build it, not install it.
-Changing items properties in runtime is not working (For instance, you can not disable, hide, change... a item of the toolbar in runtime)
-Is there any chance you can add a "bbsiBack" ButtomStyle in Toolbar BarItems? (Maybe this style is only available with subviews in UITableView in native iOS)
-Alpha property is not working anymore in 1.7.0.0v (I noticed running my animation demo with the new version)
-ItemDescription in UITableView is never shown neither at the top nor the bottom (I know you were working at this point)
Of course, these are minor issues and using your components you can get a far more accurate results than with firemonkey controls!
Hi, Diego
Thank you again for your feedbacks.
Thanks again for feedbacks
Last edit: Babak Yaghoobi 2013-07-08
Hi!
Noticed one bad practice pattern in code:
foo := x.alloc;
foo.init;
On ObjC init can return different object that was alloc'ed, so good pattern is:
foo := x.alloc;
foo := foo.init;
Hi, deksden
This is Exactly right,
I see again my sources and correct it, if i see it,
Thanks your feedback
Just wanted to say Nice work!
Any chance of a picker for date and time?
Hi, Tyson
Added in v1.8.0
Regards
Great work with v1.8.0
Now, some feedback:
v.1.8.0
Bugs:
- ViewStyle =tvsGrouped in a DPFUITableView not working anymore in new version.
- The toolbar of UINavigationControl does not position on the top of the form (there is a blank space)
- NavigationController is not working in real devices (it shows an exception and it closes down) (Tested with demo)
- NavigationControler Title is not aligned correctly to the center in an iPad (tested on simulator and real device iPad2). The right button doesn´t appear either in this device because it is out of the form.
- RightButton click in UINavigationControl produces an exception. To reproduce it, just open your NavigationController demo, and add a title to BarItems.Item[0]. Compile an press the new button on the right of the toolbar.
- Both, Secure and Plain Text Alerts of DPFAlertView only show an input box.
Suggestions:
- It would be great to have the "Form" property of UIView for UIViewController so that we can embed forms and use them in a navigationcontroller.
Other comments:
- I noticed that if you increase a toolbar height, the default items height is also increased. Maybe there is someway to increase the items size without increasing the toolbar height.
Greetings and thank you for your effort!
Edited: fixed some grammar mistakes.
Last edit: Diego 2013-07-12
Hi, Diego
Thank you for testing this framework,
I will be fixed all your comments,
Note:
Secure and Plain Text have a one textfield but secure is not show your text (like password), but Plain only a simple textfield.
thank you again your feedback.
regards
Hi Babak,
Thanks so much for this !
Really good work.
Are there any plans to support Bluetooth LE with the components ?
Keep up the good work,
Cheers,
Rob
Hi, Rob
iPhone 3gs, 4 not have BLE hardware,
and first iPhone device with BLE hardware is iPhone 4S.
Even if iPhone 4 can run with iOS 5, BLE communication is not possible on it.
And i have not a 4s or 5 to testing this, sorry.
So, I'll work on it later when i bought a iPhone 4s or 5, :)
Regards
Last edit: Babak Yaghoobi 2013-07-12
Hi Babak,
I understand :)
Keep up the great work !
Cheers,
Rob
Hi!
Babak, do you know if the virtual keyboard opens, it can't be closed anymore? I need to restart the whole app. The "Done" button seems to do nothing, and even if I try to set the focus to other control (a button for example) it doesn't close.
Regards,
Fenistil
Hi,
I think this a delphi bug!
but,
Download DPF.iOS.Common.pas (r34) from code section and call HideKeyboard,
Or call this anywhere yu want
TUIApplication.Wrap( TUIApplication.OCClass.SharedApplication ).keyWindow.endEditing(true) ;
Regards
Last edit: Babak Yaghoobi 2013-07-14
v 1.8.2
Problem during installation.
Trying to build the DPFiOSPackagesD.dylib - IOS Device or Simulator produces next error:
Greetings
Hi Diego,
Same here.
The 32-bit shows the .bpl, the simulator and device switch to the
.dylib with those errors.
Cheers,
Rob
Hi!
Here is the solution:
Modify "DPFiOSPackagesD.dpk":
Modify "DPF.iOS.Reg.pas":
Build :)
Last edit: Fenistil 2013-07-14