Olie

Santa Cruz Mountains, CA

Dec
18
comment Display video inside the Uiwebview not in device full screen
Important note from the docs: "In order for video to play inline, not only does this property need to be set on the view, but the video element in the HTML document must also include the webkit-playsinline attribute."
Dec
1
comment What's the trick to pass an event to the next responder in the responder chain?
EDIT: Bah! Spanky's link =was= good, but Apple moved their documentation. The information seems to be here, now: developer.apple.com/library/ios/documentation/EventHandling/…
Dec
1
comment How to add properties to NSMutableArray via category extension?
Link is dead: 404
Dec
1
comment Call super in overridden class method
Sure, but then how to set buttonType?
Nov
21
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'... ;)
Nov
21
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)
1 2 3 4 5