Ready to learn a bit about the Date class in the new Xojo framework?
Comments closedCategory: Tips
sort code tips and tricks
Wayne Golding has been a Xojo developer since 2005. He operates two IT companies, a Network/Systems services co & DRNine11 an offsite backup & DR co. Though he primarily uses Xojo for internal management systems and utilities, Wayne’s hobby is robotics where he uses Xojo to communicate with Arduino devices.
When distributing applications with a database component you will undoubtedly upgrade your database schema as your application matures. So how do you manage the schema within your application?
Comments closedShadowing is when a subclass defines a constant, property or enumeration (almost anything that is not an event or a method) that has the same name as a constant, property or enumeration (but not an event or a method) in the superclass. Generally the best rule is avoid using the same names for constants, properties and enumerations that the superclass has already used.
Comments closedIf you’ve worked with times and dates you know how much fun they can be especially when you deal with different time zones, differing Daylight savings time rules, if they observe DST and all the other intricacies tracking dates and times bring up.
And very often you need to save data to a database. So how do you store the data in your database so you can properly deal with it? And does your chosen database make that easy?
Comments closedThis came up recently on the forums and I thought it good to share. Do you see what is wrong with the following code?
Function foo() As FolderItem try beep catch NilObjectException return nil end try End FunctionComments closed
Eric Gibbon has been a Xojo developer since 1999. When not heading up the Birmingham, UK Xojo User Group, you can find Eric at MacTasks.com where he offers consulting services and develops bespoke multi-platform multi-user databases for Mac, PC and the Web using Xojo.
Last year work wasn’t going so well, and I was feeling down. I had lost my “Xojo mojo”. As a freelance developer it can be hard to do everything you need to and it is easy to get bogged down. Sometimes you need a fresh injection of ideas and opinions, to see what other developers are doing and how they do it.
Comments closedSometimes you need a feature that is not available directly from the Xojo framework. Responding to this need is what Declares are designed for: to get access to system native APIs. On OS X, you typically look at the Cocoa APIs. On Windows, the Win32 APIs. Finally on Linux, the GTK APIs.
Comments closedFor those of you building apps for Windows and Linux, you’ll notice that each build includes a Libs folder. The name of this folder depends on the application name that you’ve set in your Build Settings. For example, if my Windows App Name is “My Application.exe” then the Libs folder would be named “My Application Libs”.
Comments closedOS X has a built-in terminal command, textutil, that can be used to convert text files to different formats. You can access it from a Shell to use in your Xojo apps.
Comments closed