Skip to content

Category: Learning

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

Guest Post: Solving Sandboxing Issues and Improving Xojo Apps With Ohanaware’s Sandbox Kit

Sam Rowlands has been developing Xojo apps since 1997. He and his wife, Joy Sha, make up Ohanaware and they have been building award winning apps since 2008, notably Funtastic Photos, HDRtist and Shine. Sam is an active Xojo developer and he also offers App Wrapper, which simplifies the process of preparing applications for submission to the Mac App Store and deploying on web sites, in the Xojo Third Party Store.

What is the App Sandbox and why is it a chore?

The App Sandbox is a great end user security concept. The Sandbox governs what an application can and cannot do. This means that a virally infected word processor, cannot go on to infect other applications nor rampantly damage files on the users disk. It can however affect files which the user has created or opened within the word processor.

Comments closed

Iterators

One feature that was added in Xojo 2014r3 that I haven’t seen much discussion about yet is iterators. In short, iterators are a way to make classes useable with the existing For Each loop feature.

Comments closed

Coding To Be Lazy

I know a lot of people like to write their local variable declarations like this:

dim i, i, j as integerdim k as double, s as string, b as boolean

Personally, I don’t and the reason is not that I like typing…

Comments closed

Guest Post: Learning Xojo

Bob Keeney has been an active member of the Xojo community since 2001. BKeeney Software has offered Xojo consulting work for 15 years with happy clients all around the world. Bob blogs regularly on Xojo and developer topics at www.bkeeneybriefs.com.

I think that Xojo is an amazing product. Clients love the simplicity and power of Xojo which is not found in many software development products. Part of what makes it a great product to work with is the wide array of options to learn more about the language- whether it’s for someone who’s new to programming trying to get an introduction to the language or for an experienced programmer trying to do a deep dive into the framework and what Xojo is capable of.

Comments closed