I did it again!

Do you see the difference?

I discovered the power of NSStatusItem and UIElement options that made it possible to get rid of the MelScrobbleX Dock Icon and put it on the Menubar. The window can be shown and hidden at any time and it will retain your datas entered like Media/Segment until you quit out of the program. Don’t worry though, the Preferences and Check for Updates options are still accessible by clicking the Melative Logo on top of the menubar. Still, more improvements need to be done before I release the alpha version of the program…

For details on the commit: look here

Melative in Cocoa!

COCOA!!!
Planning on making a native scrobbler thingy on Mac OS X using primarily Objective-C/Cocoa and AppleScript. Still not polished yet, but later on, I will be adding iTunes detection which will take the album and track and add it to the update with the message and other stuff. Of course, this experiment only works on Mac OS X Leopard and Higher. Stay tuned for what will happen next.

Also, this can’t be ported onto Linux and Windows… sadly.

Never say never…

After several hours of frustration on trying to make it work.

I got it to work… Well, I just used ASIHTTPRequest, an open sourced class to make http networking a bit more easier to use. Still, a lot needs to be done before it catches up to 1.0 version of MAL Client OS X.

I’m beginning to like Objective-C and Cocoa… Yes it’s a bit harder, but I can do alot more than what I could in RealBasic.

Anyways, if you want to track my progress, the git repo for the MAL Client OS X Rewrite can be seen at: http://github.com/chikorita157/MAL-Client-OS-X-Rewrite

Objective-C Madness!

Baby steps... folks...

Learning a new programing language takes time, especially when the programing language is based on C, the hardest language ever, but at least I had some knowledge and experience from Object Oriented Programing from Visual Basic/RealBasic… Trying to breeze through a few chapters tonight… The book I’m using by the way is “Programing in Objective-C 2.0″ by Stephan G. Kochan.

Sooner or later, having a basic foundation of Objective C will make Cocoa programing a breeze.

The Future of MAL Client OS X

As you heard, I have recently released MAL Client OS X 1.0.1 and even the final version just last month. I haven’t been doing much development on it since the whole program is rather functional and stable compared to iMAL, which makes MAL Client OS X a suitable replacement for iMAL, except the lack of Manga support and Scrobbling.

As I recalled on my blog, MAL Client OS X was written primarily in RealBasic. However, the project is becoming a bit more constrained and limitations arise. Sure, everything work and I tried my hardest to make it more Mac-like as I can, but in the end, a few things still aren’t what I wanted it to be. Another thing is that since MAL Client OS X is built from RealBasic, it is still using Carbon, which Apple is not seemingly want to support anymore. This is why I come to the decision that starting with 2.x, MAL Client OS X will be rewritten in Objective C and Cocoa.

Why would you do such a thing? Sure I have to learn the whole language (I have books on Objective C 2.0 and Cocoa), but in the long run, it will be worth it. With RealBasic, you are pretty much limited to what you are provided, but with Cocoa, you can call other frameworks to add functionality and MAL Client OS X can grow and become more like a Mac OS X application than it is currently. Also, Objective-C have Garbage Collection like RealBasic, so I don’t have to worry much about memory management, although this means that the 2.x branch will require Leopard and higher, although it will still support PowerPC Macs.

When you will expect 2.x preview builds to come out? After Spring Semester, but probably in June/July since I need to take some days to learn the Objective-C language and have some knowledge of it before diving in and start rewriting the whole program. In the mean time, if Manga support comes, it will be added to the 1.5 branch of MAL Client OS X. From this change, expect the interface to be the same, except that I may put the Search in a HUD panel than on the same window.

120 queries in 0.854 seconds.