<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link rel="hub" href="http://tumblr.superfeedr.com/" xmlns:atom="http://www.w3.org/2005/Atom"/><description></description><title>Corey Floyd</title><generator>Tumblr (3.0; @coreyfloyd)</generator><link>http://coreyfloyd.com/</link><item><title>Made with Paper</title><description>&lt;img src="http://24.media.tumblr.com/tumblr_m1oiwql2Io1qaz8spo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Made with &lt;a href="http://paper.fiftythree.com"&gt;Paper&lt;/a&gt;&lt;/p&gt;</description><link>http://coreyfloyd.com/post/20155947604</link><guid>http://coreyfloyd.com/post/20155947604</guid><pubDate>Thu, 29 Mar 2012 23:55:38 -0400</pubDate><category>MadeWithPaper</category></item><item><title>Treat warnings as errors</title><description>&lt;a href="http://iPhoneDeveloperTips.com/xcode/treat-warnings-as-errors.html"&gt;Treat warnings as errors&lt;/a&gt;: &lt;p&gt;In almost every project I work in, I use at least five 3rd party libraries. “Treating warnings as errors” is no longer practical for me.&lt;/p&gt;

&lt;p&gt;I try to contribute when I can, but on my best months I can only submit a few patches. Who has time to contribute every open source library they use just to get rid of warnings?&lt;/p&gt;

&lt;p&gt;Projects like cocoa pods are attempting to help with some of this, but they are still is a long way off.&lt;/p&gt;

&lt;p&gt;Many developers say “Warnings are there for a reason, don’t ignore them”. Let me turn that argument on it’s head - Warnings are not errors for a reason, so you ship.&lt;/p&gt;</description><link>http://coreyfloyd.com/post/19683576665</link><guid>http://coreyfloyd.com/post/19683576665</guid><pubDate>Wed, 21 Mar 2012 12:52:36 -0400</pubDate></item><item><title>I can't find my refrigerator (and neither can Best Buy)</title><description>&lt;p&gt;&lt;em&gt;Scroll to the bottom for updates&lt;/em&gt;&lt;/p&gt;

&lt;h4&gt;My long, slightly sad, somewhat surprising letter to Best Buy:&lt;/h4&gt;

&lt;p&gt;(Spoiler, I still can&amp;#8217;t find my refrigerator)&lt;/p&gt;

&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;My name is Corey Floyd. My wife and I just bought a new home in Philadelphia. One of the first things we needed to do was buy a few new appliances. After talking to a great appliance specialist at your Philadelphia store, we decided to purchase them from Best Buy.&lt;/p&gt;

&lt;p&gt;On February 1st we purchased a washer and dryer. We came back on February 4th to purchase our refrigerator and dishwasher.&lt;/p&gt;

&lt;p&gt;Your specialist also explained the your outstanding service plans, so we purchased 4, 4 year plans, 1 for each of our new appliances.&lt;/p&gt;

&lt;p&gt;We were really excited.&lt;/p&gt;

&lt;p&gt;The washer and dryer arrived on Monday the 6th, on time. Unfortunately the delivery crew would not take the washer and dryer up to our 2nd floor wash room. They explained that it was against Best Buy policy. We were disappointed to hear this as we were not told this before hand, nor had anyone asked us if we had a 2nd floor laundry. All the same, I was not very bent out of shape since I knew that I could have a few friends help me get them up the stairs.&lt;/p&gt;

&lt;p&gt;(Quick aside)&lt;/p&gt;

&lt;p&gt;Since we live in an older section of Philadelphia and have a very narrow front door, I knew that the refrigerator would be much more of an issue to deliver. In fact, prior to purchasing the refrigerator, we did a lot of research, and decided that in order to had reasonable priced newer style of refrigerator, we would need to take remove the frame from the front door. Anticipating this, we scheduled a delivery date 3 weeks in the future. We then made arrangements with a trusted contractor to remove the door frame (and then reinstall it) on the day of the delivery. We picked Feb 24th to do this.&lt;/p&gt;

&lt;p&gt;(Ok, we&amp;#8217;re back)&lt;/p&gt;

&lt;p&gt;At purchase time it was explained that we would receive a call on the night of the 23rd to coordinate a delivery time. I planned to forward this information to our contractor as as soon as I received that call.&lt;/p&gt;

&lt;p&gt;We never received a call.&lt;/p&gt;

&lt;p&gt;On the morning of the 24th, I found the receipt and the number to your delivery hotline. They were able to tell me that our delivery window was 4pm-8pm, which would work out really well. I called our contractor straight away and made arrangements for him to arrive around 3pm to begin removing the door frame.&lt;/p&gt;

&lt;p&gt;At 1pm we received a call that the delivery truck was 5 minutes away. Normally being early is a good thing, so I cannot fault your delivery crew for this, but I knew we would not be able to take delivery until later in the day.&lt;/p&gt;

&lt;p&gt;As I explained the situation to one of the crew, I was surprised when he told me that they did not have a refrigerator to deliver, only a dishwasher.&lt;/p&gt;

&lt;p&gt;He said they could install the dishwasher, and that I should call Best Buy. So he began to install the dishwasher.&lt;/p&gt;

&lt;p&gt;I immediately called your delivery number and after waiting 10 minutes on hold, spoke to a representative. I explained the situation and gave her my name and phone number. She put me on hold and looked up our information. When she came back, she was also surprised to learn that the crew did not have the refrigerator. She further discovered that no one from the other warehouse (installation/delivery) had picked up the refrigerator from her warehouse (just a delivery warehouse). At this point I started to learn about Best Buy&amp;#8217;s delivery logistics.&lt;/p&gt;

&lt;p&gt;She asked to speak with one of the members of the installation crew. At that time, the call failed. Since she had my phone number and delivery information, I waited patiently for 5 minutes for her to call back.&lt;/p&gt;

&lt;p&gt;She did not call back.&lt;/p&gt;

&lt;p&gt;I called again, and waited about another 10 minutes. A different representative answered the phone. She told me that she couldn&amp;#8217;t help me, but that she would forward me to the other delivery warehouse, the one that also handles installations. I was placed on hold and then forwarded to another line where I was hold again.&lt;/p&gt;

&lt;p&gt;Eventually another representative answered, and I also explained the situation to her. By this time, I was getting good at explaining what had happened. So I was quick and to the point. She placed me on hold so that she could find out what had happened. She discovered the same thing that the first rep (at the other warehouse - the one that delivers, but does not install) had discovered. She also explained that the crew at my house did not work for her warehouse. They worked for another independent contractor. It was a little confusing.&lt;/p&gt;

&lt;p&gt;She then asked to talk to one of the installers (like the first representative). I was very careful this time. I made sure I stayed in a part of my house with good phone reception and had the installer take the call there.&lt;/p&gt;

&lt;p&gt;After some brief talk, he handed phone back. She explained that the &amp;#8220;they&amp;#8221; should have picked up the refrigerator, but didn&amp;#8217;t.&lt;/p&gt;

&lt;p&gt;At this point it became unclear who had not picked up the fridge from who. I was dealing with at least 4 independent entities now: The Best Buy store. The Best Buy Delivery Warehouse. The Best Buy Delivery / Install Warehouse. The independent Contractor who actually performs the installation. (I&amp;#8217;m being liberal in my use of &amp;#8220;Best Buy&amp;#8221;, I am actually not sure if either warehouse is actually owned by Best Buy)&lt;/p&gt;

&lt;p&gt;I wasn&amp;#8217;t as much of an expert at Best Buy logistics as I originally thought.&lt;/p&gt;

&lt;p&gt;Back to the representative. She put me on hold to call the delivery crew&amp;#8217;s boss. (That&amp;#8217;s the boss at the independent contracting company) After a few minutes, she returned and explained she had left a message. Unfortunately he had not answered so she was also sending him an email, just in case. I asked asked what the next step was. She told me we would have to wait and that she would call me as soon as she heard back him.&lt;/p&gt;

&lt;p&gt;She never called back.&lt;/p&gt;

&lt;p&gt;At this time the install crew was just about finished with dishwasher. It had been a little more than an hour, not too bad.&lt;/p&gt;

&lt;p&gt;The installer asked me to sign a sheet confirming the successful install. I signed (they did install the dishwasher, so that seemed fair).&lt;/p&gt;

&lt;p&gt;Then, I have to admit, I told a lie. I said that the representative from the warehouse asked to have him call his boss to see what was happening. He did. After a few words, he hung up and told me that his boss was checking on it and let me know a little later.&lt;/p&gt;

&lt;p&gt;He never called.&lt;/p&gt;

&lt;p&gt;After about an hour or so, I began to think it was time to call again. I called the 2nd warehouse, since they were in charge of installations. I spoke to another rep. I explained what was happening - very succinctly (I said I was getting good). She said it was still being looked into. They had not heard back from the contractor boss. She said she would call when they did hear back.&lt;/p&gt;

&lt;p&gt;She never called back.&lt;/p&gt;

&lt;p&gt;Another hour or so passed, it was almost 4PM and I had been holding off the contractor I hired to tear off my door frame. He was finally on his way. I still had hope since my delivery window was 4-8PM.&lt;/p&gt;

&lt;p&gt;I decided to call the Philadelphia Best Buy where I had purchased the appliances from. After waiting on hold, a young lady picked up. I explained what had happened. (I was still good at explaining the situation this point, but the story was getting longer and I wasn&amp;#8217;t as enthusiastic about telling it.)&lt;/p&gt;

&lt;p&gt;She took my name and number and said she need to look something up. She put me on hold, at this point I think something happened because the call failed. I waited for a few minutes.&lt;/p&gt;

&lt;p&gt;She did not call back.&lt;/p&gt;

&lt;p&gt;I called back. This time being on hold was much longer but I waited.&lt;/p&gt;

&lt;p&gt;(At this point I should note that this was a Friday afternoon. Though I work from home, and can make a few calls if needed, I did have work to do before the weekend.)&lt;/p&gt;

&lt;p&gt;After a few minutes the same rep answered the phone. She recognized my voice. She immediately offered to provide a number to the warehouse where they could help me. I explained that they actually were note able to help me, though they were trying, that is why I was calling the store.&lt;/p&gt;

&lt;p&gt;She insisted that I call again. I then asked if she could find out what was going on. (I must say I was a little &amp;#8220;firm&amp;#8221; here. I was doing my best to remember that all these employees are trying to help and did my best to remain respectful, but I am sure she could detect some stress in my voice.)&lt;/p&gt;

&lt;p&gt;She was a taken aback a little. She said that she couldn&amp;#8217;t help. I suggested that if she could call the warehouse, maybe they would tell her what was happening. She reluctantly agreed and said that she would call back in a few hours. I then explained the I had a contractor on the way and the whole &amp;#8220;door frame&amp;#8221; situation.&lt;/p&gt;

&lt;p&gt;After pleading, she finally agreed to call in 1 hour. It was 5pm.&lt;/p&gt;

&lt;p&gt;At about 6pm, there was a knock at the door. I ran downstairs, but was quickly reminded I had ordered Chinese food. I paid the delivery man and we went on his way.&lt;/p&gt;

&lt;p&gt;At 7pm I called Best Buy. Buy this time, the contractor I hired had come and gone (he did fix my running toilet and a leaky pipe though, so not a total loss) and I had finished my Hot &amp;amp; Sour soup. I was on hold for a few minutes, but not too long. Amazingly the same representative answered the phone, and recognized me. She said she was just about to call. (I am not too cynical, I really believe that she was).&lt;/p&gt;

&lt;p&gt;She said the delivery warehouse (I assume she meant the delivery / installation warehouse) could deliver Monday.&lt;/p&gt;

&lt;p&gt;At this time I was frustrated and beaten down. All my coordination and planning were down the drain and I had lost an afternoon of work.&lt;/p&gt;

&lt;p&gt;I had an idea though… I thought to myself &amp;#8220;Best Buy will really want to make this up to me. I bought 4 appliances, I bought 4 service plans. I applied for and used the Best Buy credit card. I used their home delivery and installation. I was a high value customer!&amp;#8221;&lt;/p&gt;

&lt;p&gt;So I asked that the Best Buy installers remove the door frame since I could no longer secure a contractor. She said she couldn&amp;#8217;t promise BUT she would forward my call back to the Geek Squad Install center to confirm. So I was forwarded. Then after several rings I was forwarded back to her.&lt;/p&gt;

&lt;p&gt;She picked up and forwarded me again. I was forwarded back.&lt;/p&gt;

&lt;p&gt;This time she said she would tell them, then forwarded me. The phone rang different. I was excited. It kept ringing. After about 2 minutes I hung up and went back to work (I was really falling behind now).&lt;/p&gt;

&lt;p&gt;I wasn&amp;#8217;t as high value as I thought.&lt;/p&gt;

&lt;p&gt;After another 30 minutes, I was in better spirits, so I called again. The same representative answered and said I should call the warehouse with my request. I was firm again, and said that I wanted to speak to a manager.&lt;/p&gt;

&lt;p&gt;The manager immediately got on the phone and I began to explain the situation. This time I did it slow, with a lot of detail. After I finished, I suggested it would be appropriate for Best Buy to assume responsibility for removing my door frame. He said it was unfortunate and could not help - He could not tell the delivery company what to do.&lt;/p&gt;

&lt;p&gt;That seemed a strange thing to say. Since I can tell people that I hire what I would like them to do. I asked again, and he confirmed that he did not have the power to direct a installation crew what to do.&lt;/p&gt;

&lt;p&gt;At this time I felt compelled to point out that it was very sad  that Best Buy cannot deliver goods that they sell. In fact it was a horrible, pitiful situation when a multi-billion dollar company can not get a contractor to remove deliver and install a fridge just because they need to do a little extra work.&lt;/p&gt;

&lt;p&gt;At this time, he paused. he didn&amp;#8217;t answer my question, but instead asked the only thing he could ask: &amp;#8220;How much was my contractor charging me to install the fridge?&amp;#8221; I told him how much, knowing full well his intention. I felt cheap. I was not calling to get money. I just wanted our new fridge installed in our new home.&lt;/p&gt;

&lt;p&gt;In the end I acquiesced, took the money, and asked when the fridge would be delivered so I can try to make arrangements. Surprisingly he told me did not know. Sometime Monday, but he couldn&amp;#8217;t be sure. He said the warehouse would call to confirm. He gave me the warehouse number once again just in case.&lt;/p&gt;

&lt;p&gt;So here I am, it is Friday night, I MAY have a fridge delivered on Monday, and if I do, I will have to beg a contractor to get it in the house.&lt;/p&gt;

&lt;p&gt;Your organization failed me at every level. As nice as all of your employees and contractors were, they were all impotent and powerless to do anything to help.&lt;/p&gt;

&lt;p&gt;And as nice as everyone one was, after speaking to no less than 8 individuals, not one person has ever called me back even though almost all of them assured me that they would.&lt;/p&gt;

&lt;p&gt;It cost you $250 to buy me off, and leave me bitter about the whole experience. You could have used the same $250, contacted one of your contractors, and worked out a way to have him do the whole job AND you would have had a customer for life.&lt;/p&gt;

&lt;p&gt;You had an opportunity and you blew it.&lt;/p&gt;

&lt;p&gt;I have 4, 4 year service contracts with Best Buy, so I have to have a relationship with you for at least the foreseeable future. But for me to ever spend money in your store ever again, I really need someone from your company to convince me as to why I would do that, and honestly, I am not sure that is even possible.&lt;/p&gt;

&lt;p&gt;Sincerely,&lt;br/&gt;
Corey Floyd&lt;/p&gt;

&lt;h3&gt;Update:&lt;/h3&gt;

&lt;p&gt;Monday Feb 27th, 10 PM
Monday has come and gone. Around 4PM I decided to call the warehouse since they never called me to confirm a time. I was place on hold. After about 20 minutes, a representative answered. I told her her my name, and after a few minutes on hold, she certainly knew who I was and how many times I had called before the weekend. She only knew that her warehouse no longer has the refrigerator. She said to find out anything else, I would need to contact the installer. So she gave me 2 numbers.&lt;/p&gt;

&lt;p&gt;I called the first, and there was no answer. I called the second and a surprised man answered in the way that a person answers when you call the house. I asked &amp;#8220;Is this the Delivery company?&amp;#8221; He replied &amp;#8220;Who is this?&amp;#8221;. I never got his name or his company&amp;#8217;s name. He did say that he would look up my order and call me back to schedule delivery.&lt;/p&gt;

&lt;p&gt;He has not called back.&lt;/p&gt;

&lt;h3&gt;Update 2:&lt;/h3&gt;

&lt;p&gt;Tuesday, Feb 28th, 2PM
It is now Tuesday afternoon and I am on hold again.&lt;/p&gt;

&lt;p&gt;One of your representatives is trying to reach the installation company (Optima?). She was on the phone with them making arrangements, and placed them on hold for minute so that she could tell me why was going on.&lt;/p&gt;

&lt;p&gt;While she explained the situation to me, they hung up on her. She is now calling back…&lt;/p&gt;

&lt;p&gt;I think it is important to note that no one from your company or any of your contractors has ever contacted me. Not once.&lt;/p&gt;

&lt;h3&gt;Update 3:&lt;/h3&gt;

&lt;p&gt;I hope you&amp;#8217;ll excuse the slight bit of humor I  weaved in and do not take this letter lightly because of it. It was quite a long letter and I needed a way to break up the monotony of writing it ,and quite frankly it helped me divert some of my anger over the situation in a less destructive way.&lt;/p&gt;

&lt;h3&gt;Update 4:&lt;/h3&gt;

&lt;p&gt;Wednesday, Feb 29th, 12PM
No one called me. Surprise. So I called again. After being on hold for about 20 minutes. I spoke to a rep who after putting me on hold for 5-10 minutes researching the situation, gave me the number of Optima Service Solutions. She had no information since the rep I spoke to yesterday was not in.&lt;/p&gt;

&lt;p&gt;I called the number, but it was CLEARLY not for customers. I spoke to another woman who also put me on hold. When she came back, she told me that I was getting the fridge delivered tomorrow. I asked what time, she didn&amp;#8217;t know, BUT, she said I would be called tonight to confirm a delivery window.&lt;/p&gt;

&lt;p&gt;If they call tonight, it will be the first call I received from anyone affiliated with Best Buy since this problem began, 5 days ago.&lt;/p&gt;

&lt;h3&gt;Update 5 (final update)&lt;/h3&gt;

&lt;p&gt;I have been a bit busy, but I can report that the refridgerator finally arrived on March 10th. But not without a fight.&lt;/p&gt;

&lt;p&gt;I skipped a few updates, but suffice to say I made many more phone calls, and the delivery company missed another delivery on March 1st.&lt;/p&gt;

&lt;p&gt;Tasha was even more fed up with me and on that night we went down to the Philadelphia Best Buy and had the fortune of running into the General Manager, Jared. He let Tasha vent and took another $500 off of the refridgerator. It was appreciated, but was honestly hard to even deal with at that point. We insisted that he are care of all the coordination with the delivery company. He did, and they scheduled delivery for March 8th.&lt;/p&gt;

&lt;p&gt;If I told you they missed the March 8th delivery, would you believe me?&lt;/p&gt;

&lt;p&gt;Anyways, at this point we were locked in, we had a $1200 for $400, it was almost impossible to get out of.  Tasha had a quick phone call with Jared, and he finally sent his own geek squad crew to go get the fridge from the contractors and deliver it themselves.&lt;/p&gt;

&lt;p&gt;I no longer believed a word they said, but at the same time still needed to get the fridge through our front door. I couldn&amp;#8217;t keep bringing our contractor out. So I did the only thing I could: I had the front door removed, widened, and had a new door hung.&lt;/p&gt;

&lt;p&gt;So yes, I had to replace my front door because Best Buy could not deliver an appliance in 3 tries.&lt;/p&gt;

&lt;p&gt;The good news is that they did come on March 10th, and the saga has officially come to a close.&lt;/p&gt;

&lt;p&gt;In all honesty, I cannot recommend buying an appliance from Best Buy, but it is not entirely about the missed appointments. It is more about the fact that no one ever seemed to care, even at the very end I felt like we were perceived as more of a nuisance. Although Jared was nice enough and eventually got our refridgerator to us, I never felt like it was a priority.&lt;/p&gt;

&lt;p&gt;Aside from a message board conversation with 5 day turn arounds, I have never been contacted by Best Buy corporate. I filled out a customer feedback form with very unsatisfactory ratings (but without any angry language), and no one has ever called/emailed me about my experience. Even after the fridge was delivered, no one called to confirm that the delivery went well.&lt;/p&gt;

&lt;p&gt;If any of the above had happened, I could imagine that someone in the Best Buy organization took our situation seriously and that they were taking steps to improve their process.  But instead I am left to conclude that my experience is not unique, and this is just business as usual.&lt;/p&gt;</description><link>http://coreyfloyd.com/post/18446791850</link><guid>http://coreyfloyd.com/post/18446791850</guid><pubDate>Tue, 28 Feb 2012 14:20:00 -0500</pubDate></item><item><title>"The difference between theory and practice is a lot greater in practice than it is in theory."</title><description>“The difference between theory and practice is a lot greater in practice than it is in theory.”&lt;br/&gt;&lt;br/&gt; - &lt;em&gt;&lt;p&gt;Brian Bechtel&lt;/p&gt;

&lt;p&gt;A great potent potable from the 2010 WWDC networking session.&lt;/p&gt;&lt;/em&gt;</description><link>http://coreyfloyd.com/post/9294196418</link><guid>http://coreyfloyd.com/post/9294196418</guid><pubDate>Tue, 23 Aug 2011 11:28:53 -0400</pubDate></item><item><title>2 ways to rotate</title><description>&lt;p&gt;I spent too long writing a few lines of code that I no longer need. I feel that I need to do something with them so here they are.&lt;/p&gt;

&lt;p&gt;Below are 2 methods for rotating a view while keep the rest of the UI from rotating (or at least appearing rotated). Since iOS 4, UINavigationController and friends are more easygoing about handling this automatically. Both of these methods really only apply to the situation where you are managing a custom view hierarchy and not relying on UINavigationController and UITabBarController like a good iPhone citizen. (You will notice in both methods I have mysterious object called &amp;#8220;customContainerController&amp;#8221; which is managing my view hierarchy, if you are so inclined you can try it out &lt;a href="https://github.com/coreyfloyd/FJSTransitionController"&gt;here&lt;/a&gt;)&lt;/p&gt;

&lt;p&gt;Method 1: Brute Force&lt;/p&gt;

&lt;p&gt;If you need to allow the rotation of a single view but don&amp;#8217;t actually want to rotate the entire interface of the app, the following will allow you to do that. It isn&amp;#8217;t really complex, but the devil is in the details. You need to bump and nudge a lot of things and you can spend a lot of time building and tweaking.&lt;/p&gt;

&lt;p&gt;Interesting things:&lt;br/&gt;
You must set the bounds after applying the transform.&lt;br/&gt;
The bounds is manipulated as if the origin is in the upper left hand corner (UIInterfaceOrientationPortrait).&lt;br/&gt;
You need to adjust the bounds +20 / -20 to account for moving the status bar around.&lt;br/&gt;
Changing the orientation of the status bar does not change the interface orientation of the device.&lt;br/&gt;
You need to rotate the status bar back when dismissing the view (do that with no animation).&lt;br/&gt;
If you need the keyboard this won&amp;#8217;t work because the keyboard respects the current interface orientation.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;- (IBAction)close:(id)sender {

    UIApplication *application = [UIApplication sharedApplication];

    [application setStatusBarOrientation:UIInterfaceOrientationPortrait animated:NO];    

    [self.customContainerController loadThatOtherViewController];
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;}&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{

    //manually rotate
    //bounds changes are made as if the phone never rotated
    //we are making these bounds tweaks to move aorund the status bar
    CGRect bounds = [self.customContainerController.view bounds];
    CGFloat r = 0;
    switch ( interfaceOrientation ) {
        case UIInterfaceOrientationPortrait:
            r = 0;
            break;
        case UIInterfaceOrientationLandscapeRight:
            r = M_PI/2;
             bounds.origin.y-=20;            
             bounds.size.height+=20;
             bounds.size.width-=20;
             break;
        case UIInterfaceOrientationPortraitUpsideDown:
             r = M_PI;
             bounds.origin.y-=20;            
             break;
        case UIInterfaceOrientationLandscapeLeft:
             r = 3*M_PI/2;
            bounds.origin.x+=20;
            bounds.origin.y-=20;            
            bounds.size.height+=20;
            bounds.size.width-=20;
            break;
    }


     UIApplication *application = [UIApplication sharedApplication];

     [UIView animateWithDuration:[application statusBarOrientationAnimationDuration] 
                     animations:^(void) {
                          CGAffineTransform t;
                          t = CGAffineTransformIdentity;
                          t = CGAffineTransformRotate(t, r);
                          self.view.transform = t;
                          self.view.frame = bounds;

                     }];

    [application setStatusBarOrientation:interfaceOrientation animated:YES];

    return YES;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;Method 2: Tricking UIKit&lt;/p&gt;

&lt;p&gt;This time we need to make UIKit ask us about rotation at an opportune time. To do this we can create and destroy a UIVIewController, causing all of the View Controller machinery to kick in. I picked this idea up from: &lt;a href="http://stackoverflow.com/questions/181780/is-there-a-documented-way-to-set-the-iphone-orientation/4915378#4915378"&gt;SO&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Interesting things:&lt;br/&gt;
Unlike the 1st method, you get to hook into the normal view controller autoresizing.&lt;br/&gt;
Presenting/dismissing a blank VC without animation is not visible to the user.&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;- (IBAction)close:(id)sender {

    self.isClosingDown = YES;

    //doing this to force an autorotation
    UIViewController *c = [[UIViewController alloc]init];
    [self presentModalViewController:c animated:NO];
    [self dismissModalViewControllerAnimated:NO];
    [c release];

    [self.customContainerController loadThatOtherViewController];  
   } 


- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{

    if(self.isClosingDown)
        return (UIInterfaceOrientationPortrait == interfaceOrientation);

    return YES;
}
&lt;/code&gt;&lt;/pre&gt;</description><link>http://coreyfloyd.com/post/8212203583</link><guid>http://coreyfloyd.com/post/8212203583</guid><pubDate>Fri, 29 Jul 2011 08:00:05 -0400</pubDate></item><item><title>Developer Forums: How to revert build settings made on target level?</title><description>&lt;a href="https://devforums.apple.com/message/396938#396938"&gt;Developer Forums: How to revert build settings made on target level?&lt;/a&gt;: &lt;p&gt;Extremely undiscoverable way to delete target and project level build settings. (i.e. reverting to iOS /  MacOS defaults)&lt;/p&gt;
&lt;p&gt;Hint: Deleting the text is not enough&lt;/p&gt;
&lt;p&gt;P. S. Another subtle gotcha: Although you can edit project level build settings while viewing the target build settings, you cannot delete them. First select the project, then delete.&lt;/p&gt;</description><link>http://coreyfloyd.com/post/4929089490</link><guid>http://coreyfloyd.com/post/4929089490</guid><pubDate>Mon, 25 Apr 2011 12:11:47 -0400</pubDate></item><item><title>Using Open Source Static Libraries in Xcode 4 | Carbon Five Community</title><description>&lt;a href="http://blog.carbonfive.com/2011/04/04/using-open-source-static-libraries-in-xcode-4/"&gt;Using Open Source Static Libraries in Xcode 4 | Carbon Five Community&lt;/a&gt;: &lt;p&gt;Best breakdown yet of using static libraries and build settings in Xcode. Although it seems that Xcode Workspaces are still very much broken…&lt;/p&gt;</description><link>http://coreyfloyd.com/post/4807963854</link><guid>http://coreyfloyd.com/post/4807963854</guid><pubDate>Thu, 21 Apr 2011 11:53:10 -0400</pubDate></item><item><title>Github Trends</title><description>&lt;a href="http://github-trends.oscardelben.com/"&gt;Github Trends&lt;/a&gt;: &lt;p&gt;Now, I can increase the number of my watched repos exponentially.&lt;/p&gt;</description><link>http://coreyfloyd.com/post/3975910997</link><guid>http://coreyfloyd.com/post/3975910997</guid><pubDate>Sun, 20 Mar 2011 02:29:16 -0400</pubDate></item><item><title>Pilky.me - Xcode 4: the super mega awesome review</title><description>&lt;a href="http://pilky.me/view/15"&gt;Pilky.me - Xcode 4: the super mega awesome review&lt;/a&gt;: &lt;p&gt;Big Xcode 4 review&lt;/p&gt;</description><link>http://coreyfloyd.com/post/3834906630</link><guid>http://coreyfloyd.com/post/3834906630</guid><pubDate>Sun, 13 Mar 2011 13:55:02 -0400</pubDate></item><item><title>Technical Note TN2239: iOS Debugging Magic</title><description>&lt;a href="http://developer.apple.com/library/ios/#technotes/tn2010/tn2239.html%23SECUIKIT"&gt;Technical Note TN2239: iOS Debugging Magic&lt;/a&gt;: &lt;p&gt;Nice tip on using [[self view] recursiveDescription] to print the view hierarchy.&lt;/p&gt;</description><link>http://coreyfloyd.com/post/3693404619</link><guid>http://coreyfloyd.com/post/3693404619</guid><pubDate>Sun, 06 Mar 2011 21:43:20 -0500</pubDate></item><item><title>iphone - UIButton in a UITableView header ignores most touches - Stack Overflow</title><description>&lt;a href="http://stackoverflow.com/questions/297297/uibutton-in-a-uitableview-header-ignores-most-touches"&gt;iphone - UIButton in a UITableView header ignores most touches - Stack Overflow&lt;/a&gt;: &lt;p&gt;Weird bug that has given me problems on several occasions&lt;/p&gt;</description><link>http://coreyfloyd.com/post/3549606269</link><guid>http://coreyfloyd.com/post/3549606269</guid><pubDate>Sun, 27 Feb 2011 15:15:23 -0500</pubDate></item><item><title>This is the title of a typical incendiary blog post - Coyote Crossing</title><description>&lt;a href="http://faultline.org/index.php/site/item/incendiary/"&gt;This is the title of a typical incendiary blog post - Coyote Crossing&lt;/a&gt;: &lt;p&gt;Funny and true&lt;/p&gt;</description><link>http://coreyfloyd.com/post/368941014</link><guid>http://coreyfloyd.com/post/368941014</guid><pubDate>Wed, 03 Feb 2010 11:28:16 -0500</pubDate></item><item><title>via td-architects.eu
The wealth of the world</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_kwridtx5Is1qaz8spo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;via &lt;a href="http://td-architects.eu/admin/uploads/files/c660e616d5d83111d6af3e701493d27f.walled_world_td-architects.jpg.jpg"&gt;td-architects.eu&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The wealth of the world&lt;/p&gt;</description><link>http://coreyfloyd.com/post/351013438</link><guid>http://coreyfloyd.com/post/351013438</guid><pubDate>Sun, 24 Jan 2010 12:39:28 -0500</pubDate></item><item><title>Why I Believe Printers Were Sent From Hell To Make Us Miserable</title><description>&lt;a href="http://theoatmeal.com/comics/printers"&gt;Why I Believe Printers Were Sent From Hell To Make Us Miserable&lt;/a&gt;: &lt;p&gt;Awesome!&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.marco.org/329966596"&gt;marco&lt;/a&gt;:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Perfect. (via &lt;a href="http://energyface.tumblr.com/post/329937616/from-why-i-believe-printers-were-sent-from-hell-to"&gt;energyface&lt;/a&gt;)&lt;/p&gt;
&lt;/blockquote&gt;</description><link>http://coreyfloyd.com/post/333658081</link><guid>http://coreyfloyd.com/post/333658081</guid><pubDate>Thu, 14 Jan 2010 00:50:21 -0500</pubDate></item><item><title>Rusty tried to off himself…</title><description>&lt;img src="http://25.media.tumblr.com/tumblr_kw1ipcRyDR1qaz8spo1_500.jpg"/&gt;&lt;br/&gt;&lt;br/&gt;&lt;p&gt;Rusty tried to off himself…&lt;/p&gt;</description><link>http://coreyfloyd.com/post/327114798</link><guid>http://coreyfloyd.com/post/327114798</guid><pubDate>Sun, 10 Jan 2010 11:48:44 -0500</pubDate></item><item><title>Dogs Waiting for Their Humans</title><description>&lt;a href="http://dwfth.tumblr.com/"&gt;Dogs Waiting for Their Humans&lt;/a&gt;: &lt;p&gt;Sad but cool&lt;/p&gt;</description><link>http://coreyfloyd.com/post/318397092</link><guid>http://coreyfloyd.com/post/318397092</guid><pubDate>Tue, 05 Jan 2010 13:27:01 -0500</pubDate></item></channel></rss>
