Olie

Santa Cruz Mountains, CA

2d
comment ios NSNotification not received in the handler
A better solution might be to strongly-hold your view, so that ARC doesn't deallocate it. #justSayin'... ;)
2d
comment NSNotification Not Received from Modal ViewController
Also, while you register for the notification with object: nil (meaning: I'll accept the notification from any object), it's common to post the notification with object: self, which just passes the object along for listeners, in case they care to interrogate the sender. It's nil at the register-end that matters in terms of getting the notification.
Nov
16
comment how to programmatically fake a touch event to a UIButton?
@TanSiongZhe, bottonObj is the UIButton. Whatever your reference to your button -- be it IBOutlet, iVar or what have you -- calling [myButton sendActionsForControlEvents: ... will do the expected thing which, in my case, was the desired thing.
Nov
11
revised Drawing Isometric game worlds
typo
Nov
11
revised Drawing Isometric game worlds
typo
Nov
11
revised Drawing Isometric game worlds
added sorting note.
Nov
11
answered Drawing Isometric game worlds
Nov
10
comment Drawing Isometric game worlds
+1 for superb answer. NOTE: I edited the 1st example to clarify cellXY vs screenXY. This works in my code, but you might want to double-check that I got the example correct (my app is laid out slightly differently.) Also, you might want to replicate the clarification in other examples.
Nov
10
revised Drawing Isometric game worlds
Clarified cellX/Y vs screenX/Y in first example. (NOTE: I think I got it right, though someone might want to double-check me. Seems to work in my code.)
Nov
6
answered Objective C iOS pre load views
Nov
5
awarded Yearling
Nov
2
awarded Popular Question
Nov
1
comment source of historical stock data
CSI is great but, just FYI, delisted stocks are now a premium service, no longer included in the basic packages. Just FYI.
Nov
1
comment source of historical stock data
CSI is great but, just FYI, delisted stocks are now a premium service, no longer included in the basic packages. Just FYI.
Oct
31
answered Finding points on a rectangle at a given angle
Oct
31
revised Finding points on a rectangle at a given angle
aligned variables to and capitalization (clarification)
Oct
31
comment Finding points on a rectangle at a given angle
@belisarius: could you explain a bit the sentence near the end about "Just be aware of the signs of Tan(φ) in each quadrant"? I've got this so close, but my remaining bugs I'm pretty sure have to do with not understanding how to alter the formulae based on the sign of tan(φ). Thanks!
Oct
31
comment Finding points on a rectangle at a given angle
@VictorVanHee: the angles are the angle from the center point. He used 2 letters to indicate that they are different possible code-paths but, in the formulas, it's just "theta" (or whatever variable you use.)
Oct
30
comment Importing AddressBook data into the iPhone Simulator
To clarify: I copied to both ~/Library/Application Support/iPhone Simulator/7.1/Library/AddressbBook and .../7.1-64/... -- as well as .../User/Library/AddressBook -- then launched the iPhone 5s (7.1) Sim, and I still only had the 6 "comes with" contacts. Xcode 6.1
Oct
29
comment Importing AddressBook data into the iPhone Simulator
Same issue as Kirby. :(
1 2 3 4 5