With Xojo 2015 Release 2, most of the new Xojo framework is available for all project types. This includes Xojo.Net.HTTPSocket, which adds support for HTTP 1.1.
Comments closedCategory: Tips
sort code tips and tricks
Much of the new Xojo framework is available for all project types staring with Xojo 2015r2. The Data namespace includes two methods for dealing with JSON data: GenerateJSON and ParseJSON. This is how they are used in comparison to JSONItem in the old “Classic” framework.
Comments closedWith 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 closedWayne 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 closedBut 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 closedDo you have a suggestion for a feature you would like added to Xojo? Have you found a bug? In either case, the best way to report this to us is to use the Xojo Feedback app.
Comments closedOur 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 closedWe’ve been getting a lot of questions about available options for deploying iOS apps.
Geoff recently wrote about how to deploy iOS apps inside a company, but I’d like to collect all the various ways to deploy your iOS here for quick, easy reference.
Comments closedSam 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 closedOne 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