I am so excited! Apple just approved Particle Playground and I set things up so that it will be available tomorrow (February 15th). There will be a 50%-off sale for the first two days. So it will cost 4.99$ for the first two days and 9.99$ after that.
You can read what I blogged about UIKit particle emitters in my recent posts or check it out in the Mac App Store.
I hope you enjoy PP as much as I enjoyed creating it and hopefully it soothes your pain as it did mine.
While developing my last app I got the idea to add some sparkle to it. But since I’m not using cocos2d or some other framework I had to use the standard iOS classes CAEmitterLayer and CAEmitterCell to set-up my particle emitter. After a while I started to grow tired of the hassle of always tweaking the emitter the tiniest bit and then recompiling and running the app in the simulator.
UPDATE: Here is the Particle Playground savefile for this emitter so you can also check it out in Particle Playground.
I recently spent a lot of time working with
CAEmitterCell. After a while I stumbled upon one curious thing. The particle image you use in your
CAEmitterCell gets mirrored horizontally.
I just stumbled upon a nice feature in Spotlight. You can input formulas into the Spotlight search bar and it short-circuits to Calculator and displays the result in the spotlight search results.
It even supports log(x), ln(x), exp(x) and I guess a lot more functions I just didn’t think of when testing this for a bit.
Quite a handy feature I would say and one I have never seen before. But after googling for three seconds I found about a myriad posts about this. So I guess it’s yesteryears news. It still felt right to slap it up here. Maybe you didn’t know it either or maybe I will forget it again in a couple of months and this will be my reminder. 🙂
Since I am in the process of finishing my first Mac App now is the time to create the image resources for the app. Along comes the old problem/annoyance of manually resizing and renaming app icon files. After a little googling i got some solutions but most of them were just for iOS, so I had to adapt one of them to my needs.
In my new Mac App I have an image well where the user can drop images and – at a later time – export the whole project to code. I was rather surprised to find out that the
NSImageView does not (to my knowledge) save or communicate in any way the filename of the dropped file.
Let’s say your app needs a custom struct. Maybe for upper/lower bounds of some values. Let’s also assume that you – like me – don’t like the thought of abusing
NSPoint just because ‘It fits the problem’. Yes, you could store your two values in both structs, but the names would be wrong and in general: doing it would be wrong.
I just picked up Mac App Development after quite a long time of inactivity and it is really fun! The learning curve is much steeper than with iPhone development because I simply am not that knowledgeable in the Mac universe as I am in the iPhone universe.
Finally I have something to write about that hasn’t been written about on ten other blogs (to my knowledge). So there will be more updates than there have been in the last couple of months… well actually in the last year.
So stay tuned! I already have some raw ideas floating around in my head that need to be put to paper.
I updated KSLabel (a
UILabel subclass) to be more versatile and reusable. You can read about KSLabel right here. I added support for dynamic outline and gradient colors and uploaded it to github. Take a look and drop me a line if you like it or have issues with it. Continue reading
UPDATE: Eric Goldberg created a nice github repo with a high-contrast cursor and short and sweet instructions for this. You can skip this post and check out his repo. Thanks Eric!
Or you can read on… 😉
I always liked dark themes in my IDEs, but with XCode I almost had to switch to a lighter theme because I just did not see my mouse cursor anymore in the main text editor. A major annoyance having to move the cursor around for a while to spot its location!