Menu

Feedback

Diego
2013-06-27
2013-07-21
1 2 > >> (Page 1 of 2)
  • Diego

    Diego - 2013-06-27

    Hi b_yaghobi

    Thanks for these great components!

    I would like to give you some feedback about them:

    TDPFUITabelView:

    • ToolBar property is not working (never showed)
    • There is no event for Item/Section Oninsertion, Ondelete, Onupdate...
    • How can I show an Item Description?
    • Is there any way to attach a SubView to an item, or to another nested TableView?
    • Footer And header are exchanged (maybe because in Persia you read from down to up?)
    • What are the "Header", and "HeaderView" ? How do I use them?

    TDPFPageControl:

    • Even if I change the NumberOfPages or CurrentPage properties, there is a single page, so every control I drop there goes to the same container.

    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.

     
  • Babak Yaghoobi

    Babak Yaghoobi - 2013-06-27

    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

     
  • Diego

    Diego - 2013-06-28

    I'm glad to hear you are working on those features. Take all time you need!

    Thanks again

     
  • Diego

    Diego - 2013-07-05

    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

     
    • Babak Yaghoobi

      Babak Yaghoobi - 2013-07-05

      Hi, Diego

      • DPFMapView raised exception fixed.
      • Added Transition Animation to controls. (use SetAnimationTransition for all controls)

      • Attach file will be added

      • Toolbar will be added

      thanks your feedback.

       
  • Diego

    Diego - 2013-07-06

    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
    • Babak Yaghoobi

      Babak Yaghoobi - 2013-07-06

      Hi, Diego

      Fixed UIImageView compiling
      Added attachment to MailCompose

      Thank you for your feedback.

       
  • Diego

    Diego - 2013-07-07

    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)

     
    • Babak Yaghoobi

      Babak Yaghoobi - 2013-07-07

      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

       
  • Diego

    Diego - 2013-07-08

    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!

     
    • Babak Yaghoobi

      Babak Yaghoobi - 2013-07-08

      Hi, Diego

      Thank you again for your feedbacks.

      • install.txt wrong guid fixed.
      • changing runtime items will be fixed next release(Only Title and Disable).
      • back button style not in iOS SDK but we can add this with UINavigationItem, i will be added next time.
      • Alpha property fixed.
      • ItemDescription only viewable on Device, not show on Simulator.

      Thanks again for feedbacks

       

      Last edit: Babak Yaghoobi 2013-07-08
  • deksden

    deksden - 2013-07-10

    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;

     
    • Babak Yaghoobi

      Babak Yaghoobi - 2013-07-10

      Hi, deksden

      This is Exactly right,
      I see again my sources and correct it, if i see it,

      Thanks your feedback

       
      • Tyson Stephen

        Tyson Stephen - 2013-07-11

        Just wanted to say Nice work!

        Any chance of a picker for date and time?

         
        • Babak Yaghoobi

          Babak Yaghoobi - 2013-07-12

          Hi, Tyson

          Added in v1.8.0

          Regards

           
  • Diego

    Diego - 2013-07-12

    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
    • Babak Yaghoobi

      Babak Yaghoobi - 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

       
  • Rob Kenders

    Rob Kenders - 2013-07-12

    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

     
    • Babak Yaghoobi

      Babak Yaghoobi - 2013-07-12

      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
  • Rob Kenders

    Rob Kenders - 2013-07-12

    Hi Babak,

    I understand :)

    Keep up the great work !

    Cheers,

    Rob

     
  • Fenistil

    Fenistil - 2013-07-13

    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

     
    • Babak Yaghoobi

      Babak Yaghoobi - 2013-07-14

      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
  • Diego

    Diego - 2013-07-14

    v 1.8.2

    Problem during installation.

    Trying to build the DPFiOSPackagesD.dylib - IOS Device or Simulator produces next error:

    • [DCC Fatal Error] DPFiOSPackagesD.dpk(60): E2202 Required package 'designide' not found

    Greetings

     
  • Rob Kenders

    Rob Kenders - 2013-07-14

    Hi Diego,

    Same here.

    The 32-bit shows the .bpl, the simulator and device switch to the
    .dylib with those errors.

    Cheers,

    Rob

     
  • Fenistil

    Fenistil - 2013-07-14

    Hi!

    Here is the solution:
    Modify "DPFiOSPackagesD.dpk":

    requires
      rtl,
    {$IFNDEF IOS}
      designide,
      DPFiOSPackagesR,
    {$ENDIF}
      fmx;
    

    Modify "DPF.iOS.Reg.pas":

    Add {$IFNDEF IOS} to line 199
    Add {$ENDIF} to line 229
    

    Build :)

     

    Last edit: Fenistil 2013-07-14
1 2 > >> (Page 1 of 2)

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.