Blake Watters
Two Toasters | CTO | ||
I have a decent solution for replacing the ttdealloc swizzle: I'm using an NSProxy subclass to wrap controllers cached by TTURLMap, and I've moved the ttdealloc code to the proxy's dealloc.
Working around popViewController is a bigger pain. I don't use any custom transitions, so the quick fix was to just remove the TTSwapMethods call.
On Thu, May 13, 2010 at 4:19 PM, Robert Rasmussen <rob.ra...@gmail.com> wrote:I have a decent solution for replacing the ttdealloc swizzle: I'm using an NSProxy subclass to wrap controllers cached by TTURLMap, and I've moved the ttdealloc code to the proxy's dealloc.Thanks for sharing this idea on IRC!Here's what I came up with codewise:That's what you had in mind?
I hate to ask a stupid question, but is this an issue for current 3.x development, or strictly for things being submitted for 4.0 approval? I've got a couple of apps submitting this week that have me worried.
"Your application, xxx, *currently posted to the App Store* is using method_exchangeImplementations to exchange the implementation of Apple provided APIs with your own implementations."