Arun Stephens

Modal view controllers and recursion causing stack overflow

Ironically, it was this post at Stack Overflow that helped me solve this problem! There appears to be a bug (either in the iPhone SDK or my understanding of it) that if you dismiss a modal view controller with animation using UINavigationController’s dismissModalViewControllerAnimated, it will cause some sort of weird recursion that causes a stack overflow (over 4000 frames were in the stack when it crashed, and it took a split second for it to fill up in the Read post »

OpenID and iPhone apps

I am trying to find an OpenID implementation that is similar to the way that Facebook Connect’s login mechanism works on the iPhone. I can’t find anything, which is very surprising. Does anybody know of an open source OpenID consumer implementation for iPhone OS? And if you don’t know of one, are you looking for one? If I can’t find one, I am going to have to write my own, and it’s something that I Read post »

Skype for Mac Mood Message Feed

Why isn’t anybody writing about the “Mood Message Feed” in Skype for Mac 2.8? This version appears to have been out for a month now. I Googled it to see whether it was a Mac-specific thing or if the real version has it as well and I just haven’t updated to the latest version. There were 4 results (not including the ones that Google hid). It says it’s a pseudo chat, showing the mood updates that Read post »

Entity Framework 4 many-to-many

I had another problem with EF4 today. Code that worked fine in .NET 3.5 didn’t work after I regenerated the entity model using Visual Studio 2010. I found an answer, again on Stack Overflow: http://stackoverflow.com/questions/2243618/how-do-you-insert-or-update-many-to-many-tables-in-net-entity-framework It turns out that the generator decided that one of my foreign keys in an associative table should have a StoredGeneratorPattern of Identity, meaning it thought it was an identity column. When it isn’t. But updating the Read post »