Taking a look at my activity on GitHub shows that, outside of my day job, I didn't do Jack from June until November last year. 😳 No wonder I was so cranky. All work and no play makes me very restless!
I've started using Jazzy to generate documentation for my Swift and Objective-C projects. If you do development on the macOS platform then I highly recommend using Jazzy. It's by far the easiest to use. Here's a sample: Rubicon ► Extensions ► String ► split(on:limit:)
After playing with Swift a bit here are my first impressions of the language. There is definitely a lot to like about it! There's also a few things that annoy me. 😎 But first I'll start out with a giving you a 1,000 foot overview of the language itself. Syntax aside, Swift and Objective-C 2.0 (as … Continue reading Swift – First Impressions
Okay... So... I think I'm finally ready to take the plunge and start learning the Swift Programming Language in earnest. I've been watching it and starting with version 5 there is finally enough there for me to get excited about. But this isn't going to be easy for me. Not like it was when I … Continue reading Taking the Swift Plunge
I've made a major milestone in my personal project Rubicon. I've gotten it where it will build on Linux as well as Mac OS X. More info is in the readme file. Check it out: https://github.com/GalenRhodes/Rubicon
Previously in Avoiding an Objective-C Pitfall #1 I discussed a more stable way of creating singletons in Objective-C. As with all things in the world of Apple there's always an easier way and that way comes to us via two very powerful yet unnoticed (in the Windows and Linux communities at least) APIs that Apple has contributed to … Continue reading Always an Easier Way
The formatting really didn't copy over well. Read the actual page here: https://github.com/GalenRhodes/LockSpeedTest/blob/master/README.md -fobjc-arc-exceptions My current use of this is to test if there was any overhead involved with using the clang -fobjc-arc-exceptions flag to ensure that memory isn't leaked when exceptions are thrown in Objective-C. Basically I compiled this test without -fobjc-arc-exceptions and ran it … Continue reading Objective-C and Exceptions
I originally posted this on LikedIn back in June, 2017. My high school shop teachers use to drill it into me and my fellow students every day. At least once every day I'd hear one of my shop teachers tell someone in the class, "Use the right tool for the job!" Usually this happened just … Continue reading It’s All About the Tools Baby!
Below is a very commonly used design pattern in Objective-C. It's the typical Objective-C "Singleton Pattern" because it does just that. Returns a singleton of the class it belongs to. If we take a look at an example that uses it we can see it in action. The "@synchronized(self)" statement ensures that only one thread at a … Continue reading Avoiding an Objective-C Pitfall #1
For those that don't know GNUstep is a project that started many years ago to help bring Objective-C to the masses using operating systems other than Mac OS X macOS. Actually, Objective-C already existed on any platform that had access to the GCC compiler suite but what GNUstep sought to do was bring the primary … Continue reading Thoughts on GNUstep