Quantcast
Channel: programming
Browsing all 25 articles
Browse latest View live

Fix: Breakpoints stop working in XCode

Breakpoints stop working?In xcode go to Preferences, select the page for Debugging then make sure "Load symbols lazily" is NOT selected.

View Article



Stuff to setup on XCode preferences

Layout->Layout: All In OneLayout->Open counterparts in same editorLayout->Automatically clear logIdentation->Syntax Aware Identing->All checks ON

View Article

XCode Shortcuts

Alt+Cmd: .h/.m toggleAlt+Escape: Intelisense

View Article

NSAsserts

NSAssert(theDate == nil, @"Argument must be non-nil"); To deploy without NSAsserts:In the Debug version, you will want all your asserts checked. In the Release configuration, you will not. I will...

View Article

Suck it down

“Everything in life is a tradeoff. If you want to write software for the iPhone, you’ll just have to suck it up and do it instead of complaining.”

View Article


Memory Release

- (IBAction)goButton:(id)sender { AClass *ourObject; ourObject = [AClass alloc]; // Do stuff with ourObject…. [ourObject release]; ourObject = nil; }In the second-to-last line, we send ourObject a...

View Article

Convenience constructors

By now you have probably noticed in the class documentation that most Cocoa classes have a set of class methods that are named in the format +className.... These special class methods are called...

View Article

Memory Release Idioms

http://www.stepwise.com/Articles/Technical/2001-03-11.01.html

View Article


RetainVsCopy

Here's a simple guide for retain or copy. Use retain when the object represents a relationship. Use copy when the object represents a value. The difference is this: in a relationship, if the object...

View Article


StickIt; Vacations Days 1, 2, 3

The first 3 days of StickIt went well but a bit over the top.I spent the time configuring Eclipse CDT with the IrrLicht engine, XCode library building, lots of compilers flags to twiddle around, all...

View Article

FInder And File Path Woes

Its incredible how little things make up the difference. Finder's GetInfo does not use a blocke textedit box to show the file path, hence the user cannot copy/paste its value! Simple but major! I...

View Article

Running irrLicht on CDT!! YES!

Ok, here's the solution:I'm new at gcc compiling, so this took a while fiddling, but now I got it, its simple once you know.To have irrLicht running on CDT we need to setup opengl, carbon and cocoa...

View Article

Day 4

The day was passed learning about IrrLicht API and discovering this nice library called Newton for physics.In the night, I was able to find some documents on integrating IrrLicht and Newton.

View Article


Eclipse Ganymede is Out!

This is great. The CDT is beautiful now.It also is amazing how we can use it.TIps:VERY USEFUL ones:When looking for symbols, don't open the .h, just open the file tree on the Project Explorer. Much...

View Article

Day 5

I've used most of the day to try to build the PAL (Physics Abtraction Library) to work with Newton. A lot of "make" messing around turned no nothing. The make file is broken.Of course, that, since the...

View Article


Resetting an Apple portable's System Management Controller (SMC)

http://support.apple.com/kb/HT1411

View Article

Day 6

Most of the day was to get a joint going in newton, the stick and the joint!Of course, my abtraction programmer mechanism set in and I just had to go and make some nice wrapper for irrlicht game loop...

View Article


Day 7

Spent the day learning some tutorials on Newton, checked out out the Newton Playground app. Checked collisions and basic joints like ball-and-socket and hinge. Very very nice. This is the physics...

View Article

Day 8

Today I spent the afternoon at work browsing model formats, MD2, MD3, OBJ, 3DS, there's a ton of them and for the most part nobody has a clue what's the better one. One is for sure, MD2's suck a bit...

View Article

GCC and Visibility flag

-fvisibility=default|internal|hidden|protectedSet the default ELF image symbol visibility to the specified option—all symbols will be marked with this unless overridden within the code. Using this...

View Article
Browsing all 25 articles
Browse latest View live




Latest Images