| BravoBug Mac Dev Stuff |
Here's a few code snippets that Mac and iPhone developers may find useful.
|
|
iPhone UI Design Template
Here is a printable iPhone screen template you can use to sketch out UI designs while brainstorming or developing the initial plans for an iPhone app. The template includes 3 screens with a grid (each square is 32 screen pixels), and a space for notes. It has a half-inch margin on all sides and can be printed easily on any standard desktop printer.Download template in PNG format Read More |
|
|
Hue, Saturation, Brightness (HSB/HSV) from UIColor
A quick and easy set of additions that allows you to grab hue, saturation, and brightness from UIColor. Source code + More Info |
|
|
BravoSprites Mac Game Engine
A few details on BravoSprites game engine (still under development, being worked on in parallel with MechMarine). Read More |
|
|
A-* Pathfinding Algorithm in Obj-C / CocoaXCode Project / Source Download Example project that shows how to implement the A-Star algorithm in a 2D map or grid using Cocoa classes / Objective-C. Read More |
|
|
Easy 10.3+ Animated NSWindow Resize
Super simple, blocking non-threaded animation for resizing an NSWindow while it's on screen. Read More |
|
|
Storing NSColor in NSUserDefaults
Quick and simple methods to provide NSColor storage within the standard NSUserDefaults. Read More |
|
|
BBCSVExporter - Save Cocoa data to CSV
CSV (comma-separated values) is a popular file format for saving data, as it is simple, human-readable, and can be imported by just about any spreadsheet app (Excel, NeoOffice, Numbers, etc.). BBCSVExporter is a basic Objective-C class that provides easy CSV exporting of Cocoa/Foundation objects. Just toss it an NSArray and it does the rest.
Header: BBCSVExporter.h |

A-* Pathfinding Algorithm in Obj-C / Cocoa