-
Recent Posts
November 2023 M T W T F S S « Jul 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 Tags
3d-printing AIR android apache captcha cocoa coding configuration configure emulator fair-work filter framework gaming hack hardware iapps install ios iphone java javascript lion location maps media objc opinion php plugin portal random rant recording refactoring reputation review scrolling servlet social threading url-rewrite video wordpress xcodeCategories
Meta
Tag Archives: objc
Matchbook – Multi-platform Realtime Gaming
Have you ever thought that it would be cool if you could build a cross-platform or multi-platform game and connect from one platform to another without having to do all the heavy lifting with respect to matchmaking, communications, and related … Continue reading
Posted in coding, java, objective-c, software
Tagged coding, framework, java, objc, open-source
Leave a comment
NSObject+SimpleJson
Certainly the subject of JSON processing on iOS is fairly old-hat at this point. After all, Apple has provided native support for JSON serialization and parsing since the release of iOS 5. So why bring it up now? Personally I’ve … Continue reading
[Objective-C + Cocoa] Runtime Performance Profiling
The iPhone SDK and XCode provide some very useful tools for application profiling, particularly with respect to tracking memory consumption and pinpointing memory leaks and other similar issues, but one thing which I have found lacking in the default toolset … Continue reading
[Objective-C + Cocoa] Screen Capture, Multiplexing, and More
It’s been a bit quiet on the coding-front lately, so I thought I’d share a small handful of various utilities that I’ve developed over the past few weeks. None of them are particularly revolutionary, but they can certainly prove useful … Continue reading
[Cocoa + iPhone] Avoiding ‘_handleMemoryWarning:’ Crashes
Spend enough time developing iPhone applications (particularly if you go to the trouble of collecting crash logs from your apps), and eventually you are bound to come across something like the following: This error occurs most frequently when suspending an … Continue reading
[Objective-C + Cocoa] UIScrollView and contentSize
So here’s a simple one. For whatever reason, a UIScrollView instance only behaves correctly if you programmatically set its contentSize when you use it. This is fairly silly because in most cases the contentSize is simply the total size of … Continue reading
[Cocoa + iPhone] UITableViewCell: It’s Broken!
I present for your consideration the following screenshot: It shows a basic table-view, in which each cell has been assigned the same image (using its built-in ‘imageView‘ property). The source image is 20 pixels square, and the imageView’s ‘contentMode‘ property … Continue reading
[Cocoa + iPhone] Unraveling Apple’s Pagecurl
First off, I encourage anyone that’s unfamiliar of this topic to read through this short but very sweet blog post on the subject (and to take a quick look at his sample code). We’ll be picking up where Steven left … Continue reading
[Objective-C + Cocoa] NSAutoreleasePool and Threads
If you have a multithreaded iPhone/iPad/Cocoa application, you are probably aware that for each thread you create you need to set up an auto-release pool for that thread. If you don’t do this then you’ll get some nice messages in … Continue reading
[Objective-C + Cocoa] Object Inspection
I’m a big fan of reflection. Always have been since I was first exposed to it in Java. For those not familiar with the concept, reflection (or introspection as it is alternately called) allows one to inspect and/or access the … Continue reading