Wednesday, March 18, 2015

Livecodes 8 Media Buzz

I started hearing all this buzz about a new Livecode. Like it was a new dawn, mountains where going to be moved, lives where going to be changed and the future was now. There was talk around the world about Livecode 8 so much that one would think alien life landed on the earth last week.

With this kind of media attention, they sure want us to take notice. Usually I would see d.p., alpha, beta as words not ready for release. However Livecode yelled as loud as they could, look at me! look at Livecode 8, Talk about it.

OK lets do this, take a journey with me to my mac desktop. A video screen cast of Livecode 8 and all of its media buzz, they unleashed at this point in time on this product.

I however could not get anything to work. There no UI items in the tool palette and no properties. I ask around if anyone else where seeing these problems also, many where but some say they where not.

I really like the idea what this could do, specially for Android. However I just can not get it to work.

Watch the video below:




Thanks and happy coding ;)

--

Edited: If you comment on this please no cyber bullies. I already had a threaten response over this video, and a few others call me several other foul words (which I will not re post) over this video. That pretty crazy.

Just imagine if your self had similar issues as I did. With this tool or any other. (Like in this video.) Imagine trying to get help and have people be absolute thugs over something so little as documenting something not working.

We had users of our apps before video document bugs. Guess what our response was. Thank you for sharing, we will fix that as soon as we can. 


Thursday, March 12, 2015

Make a custom button with Xojo canvas

Today we look at another Xojo canvas example on how to make a very simple custom button.
Our simple button will draw a button on screen with text that resizes and centers as the window resizes. Also will show how to add a very simple button states and add simple effects on which state is active. The sky really the limit with the canvas object in Xojo. We just touch the surface here, and show how simple it can be to get started making some custom UI elements such as a button with Xojo.

 Check out the video:

If your on iOS device (The video quality is better if you watch va the YouTube app.) here the link




Thanks and Happy coding ;)


Wednesday, March 11, 2015

Xojo draw image to follow mouse

Another look at the Xojo Canvas object.

This time where going to show how simple it is to draw a image to screen to follow the mouse. We made a simple video for that because it easier to see how it works many times more than read about it.




For Xojo canvas docs for desktop: look here
For Xojo graphics doc for desktop: look here


Thanks and happy coding ;)



Tuesday, March 3, 2015

Converting file url to and from strings with swift

There times where you need to display a file url as a string. This might be to display a list of files into a Table View or even a field. 

Below is a custom function I made to do this. It takes one parameter a NSURL and returns a string as a absolute file path

func myFileString(theFile: NSURL) -> String {

return theFile.absoluteString

}


And if you need to convert the string as a absolute file path back to a NSURL this custom function does that. It takes one parameter a string as a absolute file path.

func myFileStringURL(tFileString: String) -> NSURL {

return NSURL(fileURLWithPath: tFileString!)

}


As you can see not very hard, but useful. Making custom functions for later reuse of code for future project can be helpful. These work for Swift and Mac OS X with Swift v 1.1

Thanks, and happy coding ;)


Monday, March 2, 2015

Xojo still choose for crossplatform apps

Many are confused that I stop using Xojo, I never stopped using Xojo. Many of the jobs of making in-house software for companies require Mac, Windows and Linux. For that I still use Xojo.

Over the years I used many different languages and tools from Ruby, Python, Javascript, C#, Lua and more. Just because I decided to start using Swift for iOS and some Mac apps for things, does not  mean I stopped using Xojo.

I had some issues recently with Xojo and my active license not working. After contacting support by email everything was fixed. It is working again.

Another aspect of why I chosen to use Swift is that I would like to put myself in the market to code Swift projects for others. I done this in the past with Unity, where I was hired to help program other companies games in exchange for cash. I also been hired to help program with Livecode, Python, Ruby, Javascript, Xojo and etc projects. It how I currently make a living.

Selling software does not support my family, however programming part of a team as a freelancer does. More languages I know how to code in is a major plus getting more work.

My blog here is about making cool things with code, and I will show many different things and different tools and programming languages.

Hope that clears up the confusion. We usually only made 15 post a year. 2015 we already are past that with ten more months to go. Meaning more content is coming and it will not all be Swift. More Xojo, Livecode and who knows what else will be pack along with Swift for this year.

So stick around I be post other stuff soon.