December 2017

S M T W T F S
     12
34 5 6789
1011 12 13141516
1718 19 20212223
2425 2627282930
31      

Page Summary

Style Credit

Expand Cut Tags

No cut tags

July 15th, 2004

jarandhel: (inuyasha)
Thursday, July 15th, 2004 12:41 am
I made my first real Cocoa application today. It's nothing fancy, really, but it's light-years beyond anything that I've done before. What it does, basically, is load an xml file from the internet and display two text strings as part of its graphical interface. One string is intended to represent the date, but can be altered to be a title if the situation warrants simply by editing the contents of the string connected with the CurrentDate key in the xml file. The other is keyed to be the days "horoscope". Additionally, the GUI displays a picture bundled with the application itself, next to the text.

The cool thing about doing it this way is that I retain control over the content displayed in the application at any given time it is accessed. Whenever I wish, I can change the text in the xml file and so display what information the application provides the user. This seems handy for any applications where the developer would like to provide updated content as part of the application. Granted, my implementation of this content is fairly crude, there's not even error-handling for the event you start the program up without an internet connection yet, but considering that just 48 hours ago I had never written a single cocoa application, I'm fairly impressed by how quickly I have been able to progress to writing programs with actual real-world functionality.

Plus, Dusk really liked it when I presented it to him as his birthday present. *grins*
jarandhel: (Default)
Thursday, July 15th, 2004 09:20 am
If you and I were alone in a room right now, what would we be doing?

Now post this in YOUR LJ, and see what people wanna do with you...

Since I host Ally, and he doesn't have a journal of his own, feel free to pick either (or both) of us for this. :)