Skip to content

Category: Learning

What is Raspberry Pi?

The announcement at XDC 2015 of upcoming Xojo support for Raspberry Pi was greeted with enthusiastic applause. But after the keynote, I had several people come up to me and admit that they did not know what this Raspberry Pi is, so I thought I’d take a moment to give some background.

RapsberryPi.png

Comments closed

Using Using

With Xojo 2015 Release 2, much of the new Xojo framework is now available for use in all project types. Because the new Xojo framework uses namespaces, you might want to take advantage of the Using command to help make your code easier to read and write.

But first, a brief aside about namespaces. The Xojo framework uses namespaces to provide better grouping of related features and to allow for classes with the same name to co-exist (Xojo.Core.Dictionary and Dictionary, for example). In fact, you can mix classic framework code and Xojo framework code together in the same method!

Comments closed

Guest Post: Serial Communications with Xojo

Wayne Golding has been a Xojo developer since 2005. He operates an IT Company Axis Direct Ltd www.axisdirect.nz which primarily develops applications using Xojo that integrate with Xero www.xero.com.  Wayne’s hobby is robotics where he uses Xojo to build applications for his Pi2 often implementing IoT for remote control.

When receiving data from remote sources there are two options available, one option is where the source will send a packet size followed by the data, the other is where the packet is terminated. Today we’re going to look at the terminated version.

Comments closed

But it said DataAvailable…

But it said DataAvailable…where is all my data?

I’ve seen this a few times and have made the mistake once or twice myself. You write some code with TCP sockets and rely on the DataAvailable event as if it means “all your data is here”.

But it’s not. So the code you wrote that parses the data into its components keels over because you only have part of what you were expecting to have. And so you ask: “Why isn’t all my data here”?

Comments closed

Pi Day

Pi day this year is special because the year also fits into Pi, making it possible to have a specific “pi-time” (at least in the US where we write the month first). March 14, 2015 at 9:26:54AM has this value of Pi: 3.141592654.

Comments closed

iOS Declares from the Xojo Community

Our user community has been busy enhancing the capabilities of Xojo for iOS with Declares!

We have been quite pleased with the feedback we’ve received about Xojo iOS, but we are commonly asked when Xojo will support a specific iOS feature that it does not yet have. We will be adding new iOS features with each release, but you may not have to wait for us to add a feature. With a bit of knowledge about CocoaTouch and the use of the Declare command in Xojo, there are many things you can take advantage of today.

Comments closed