Wednesday, March 21, 2012

Writing a DataSnap server and an iOS client in 10 minutes flat!

My EDN article "Writing a DataSnap server and an iOS client in 10 minutes flat!"

Enjoy!

12 comments:

  1. That's cool! Very happy to see so much improvement for FM on iOS.

    By the way, just made some progress implementing in-app purchase store (parsed storekit). When I have a stable version, will upload it.

    Anders, one question: I have been working fine with FM styles for a while, but no matter what I do, the "ShowMessage" style is not affacted bu changes on messagestyle/messagepopupstyle. Is it a bug or am I doing something wrong?

    Cheers!

    ReplyDelete
  2. Tomohiro TakahashiMarch 22, 2012 at 1:58 PM

    Please see my comments of QC#104296 to fix fatal issue.
    http://qc.embarcadero.com/wc/qcmain.aspx?d=104296

    ReplyDelete
  3. I succeeded to get kbmMW working fully in IOS :)

    Senare,

    ReplyDelete
  4. Hi

    when i try to test your sample in Xcode 4.3.2 i have a exception

    procedure TContextOpenGL.DestroyPixelShader(const Shader: TContextShader);

    begin

    if Valid and (Shader 0) and MakeCurrent then

    glDeleteShader(Shader); <-HERE *****************

    end;

    EXC_BAD_ACCESS (code=2, adress= 0x0)

    Could you help me ?

    ReplyDelete
  5. Ok I answer to myself.
    The exception is not revelant of the error.
    If the server doesn't answer, the excpetion raise.
    Think of add a try/except with explicit message on the on_create event of your main form.
    Thanks for you blog again

    ReplyDelete
  6. @Jerome: The error isn't relevant to your root cause, because you're not handling the original exception on the Delphi (FPC) side so the whole app derails and crashes.

    ReplyDelete
  7. Hi Anders, I have the same conclusion.
    Another question, with your sample, i don't reach to show unicode string in iOS app. Do you have a hint to fix that ?

    ReplyDelete
  8. I will promptly clutch your own feed because i cannot to find ones e-mail registration link or e-newsletter program. Perform you've any? Generously make it possible for my family realize to make sure that I can subscribe. Cheers.

    ReplyDelete
  9. surely appreciate your internet site however, you should examine the punctuational for a good number of of the posts. Many will be rife along with spelling problems so i to find the item quite difficult to tell the simple truth nonetheless I am going to certainly keep coming back yet again.

    ReplyDelete
  10. I truly do take into account every one of the concepts you've wanted to your site. They're genuine and definitely will unquestionably get the job done. However, this posts are certainly speedy for newbies. Would you please prolong these a little from next time? Information posting.

    ReplyDelete

Note: Only a member of this blog may post a comment.