[futurebasic] Re: [FB] [X-FB] RealBasic, etc. is now...

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : June 2013 : Group Archive : Group : All Groups

From: Bernie <fblist.bw@...>
Date: Fri, 21 Jun 2013 12:28:07 +0100
Steve wrote:

> I am a registered Apple developer on MacOS and iOS and currently using xCode for two projects using Cocoa and iOS now.
> Money is not an issue.  Faster development time is!

Spent a couple hours playing with Xojo yesterday and I must agree that development time is probably faster.

Didn't delve too deeply, but creating a simple ListBox (table view) is a doddle and I worked out how to implement read/write of the contents to disk fairly quickly (couldn't find this in any of the tutorials). For interest, here's the save handler which looks familiar.

  dim dlg as new SaveAsDialog
  dim f as FolderItem
  dim t as TextOutputStream
  dim count, i as integer
  dlg.PromptText = "Save URL list as"
  dlg.SuggestedFileName = "MyURLList"
  f = dlg.ShowModal()
  if ( f <> nil ) then
      t = TextOutputStream.Create(f)
        count = URLList.ListCount
        for i = 0 to count - 1
          t.WriteLine( URLList.list(i) )
        next i
        t = nil
      end try
    end try
  end if
  return true