Recent Updates RSS Toggle Comment Threads | Keyboard Shortcuts

  • neror 8:31 pm on February 16, 2010 Permalink | Reply  

    Posts From the Free Time Studios Blog 

    • SlapHappy!™ is Officially Released!
      It’s September 16th on the East Coast, and SlapHappy!™ is now live in the US app store. I don’t know about other countries, yet, but I assume that if it is September 16th somewhere in your country, you can get it now. To celebrate the launch, SlapHappy!™ is on sale for $.99 for a limited time. [...]
     
  • neror 8:30 pm on January 26, 2010 Permalink | Reply  

    Posts From the Free Time Studios Blog 

     
  • neror 8:30 pm on January 12, 2010 Permalink | Reply  

    Posts From the Free Time Studios Blog 

    • iPhoneDevCamp Houston Presented by Free Time Studios
      2010 is shaping up to be an exciting year for those of us in the iPhone and mobile software business, and there is no better way to kick it off than with a free community event. Free Time Studios is proud to be a major sponsor and primary organizer of the first ever iPhoneDevCamp Houston. [...]
     
  • neror 8:30 pm on January 5, 2010 Permalink | Reply  

    Posts From the Free Time Studios Blog 

    • Introducing FTUtils: Open Source Utilities for iPhone Developers
      For my Core Animation presentation at 360idev last year, I created a bunch of sample code to show how simple and powerful Core Animation is. I also promised that I would update the sample code with even more advanced examples. That has not really happened (yet!), and it is time for me to atone. I am [...]
     
  • neror 2:41 pm on January 5, 2010 Permalink | Reply  

    FTUtils: A New Open Source iPhone Library 

    At the Free Time Studios blog, I just officially announced the release of an open source library for iPhone projects called FTUtils. Check out the post and the screencast:

     
    • Mike Ross 3:28 pm on January 22, 2010 Permalink

      Hey Nathan, playing with your FTAnimation code – good stuff, thanks! Seeing something strange and can’t figure it out. I was hoping you my have a thought. Using the Popin animation, popin and popout work find first time, then each following invocation fails to show the popin animation (also, the view isn’t displayed). But, I can click in the view (triggering the Popout), and the popout animation is shown. Any thoughts? Thanks in advance Nathan.

    • neror 3:56 pm on January 22, 2010 Permalink

      Mike: Interesting behavior. I’m not sure exactly what’s happening. The animations all take over the hidden attribute on UIView to hide or show the view based on the type of animation. This is because the animations were originally designed as transitions. For example, after popOut is finished, the hidden attribute is set to YES right before your delegate selector (if there is one) is called. There might be some kind of race condition going on, but it’s hard to say.

      I can take a look at it if you can give me a small example.

    • Mike Ross 5:24 pm on January 23, 2010 Permalink

      Thanks for taking the time to respond Nathan. It was user error; I was passing in a different key on the addAnimation: call. This led to the problems noted above. Great stuff Nathan – I appreciate you making this available to us.

    • Florent Pillet 8:31 am on March 15, 2010 Permalink

      Hi Nathan, FTUtils is a nice library. I started using it and was wondering why you are setting the removedOnCompletion for animation groups to NO. This makes it so that each animation persists in the view layer, even though it’s complete. Moreover, since you’re keeping a reference to the view (kFTAnimationTargetViewKey) in the animation, this has a later impact on memory management: if I show a view using, say, a back-in effect then make it disappear with a slideOut effect, since the backIn animation is never removed from the layer, there is a live reference to the view, so even if I do a removeFromSuperview: call from the slideOut delegate’s stopSelector, it’s not enough. I have to -removeAllAnimations on the target view first, so that -removeFromSuperview causes a dealloc of the view object.

      I’m interested in hearing your thoughts about these!

      Thanks for making FTUtils public!

    • neror 3:06 pm on March 18, 2010 Permalink

      @Florent Pillet

      I’m glad you like FTUtils and that you’re getting a lot of use from it!

      The reason I set removedOnCompletion to NO is that I want to manually remove the animation in the aminationDidStop:finished: delegate method. FTAnimation assumes that it will always be the delegate for any animations it creates, and it forwards the delegate calls to the startSelector and endSelector. As a result, the animation should be removed every time, but you found a bug in my delegate method. I was calling removeAnimationForKey: inside of an if statement when it should be called all of the time. I’ve pushed up the fix to github already.

      The reason I have to manually remove the animation is because after an “out” animation completes, FTAnimation sets the hidden attribute of the view to YES. In many cases, the view wasn’t being hidden quickly enough after the transform was reset, and the view would flash visible for a split second. My solution was to set the fillMode of the animation to kCAFillModeForwards (or kCAFillModeBoth) and hide the view before removing the animation from it. This is a fairly old optimization, and I don’t know if it’s still necessary. I’ve kept it there just in case. I could probably optimize further by only doing this for “out” animations, but I don’t think there is really any significant performance penalty for manually removing the animation.

      Thanks a lot for pointing this out, and I hope my explanation and fix help.

    • Bruce 9:23 am on May 19, 2010 Permalink

      Hey Nathan, playing with your FTAnimation code – good stuff, thanks! Seeing something strange and can’t figure it out. I was hoping you my have a thought. Using the Popin animation, popin and popout work find first time, then each following invocation fails to show the popin animation (also, the view isn’t displayed). But, I can click in the view (triggering the Popout), and the popout animation is shown. Any thoughts? Thanks in advance Nathan.

  • neror 6:15 pm on June 19, 2009 Permalink | Reply  

    iPhone Development Resources 

    I promised a list of the websites I mentioned in my talk at the HTC on Wednesday. Instead of putting my own list together, I defer to the master: Ari Braginsky. This google doc is where I found most of the sites that I follow daily:

    iPhone Resources

    It’s a huge list, so I’ll give you a few must haves here:

    • Mobile Orchard is a great iPhone Development Blog. There’s lots of great info there, and a pretty good podcast as well.
    • Games from Within – Noel Llopis writes about his experiences as an indie iPhone game developer.
    • Jeff LaMarche’s iPhone Development Blog – Jeff wrote the Apress book Beginning iPhone Development, and his blog is one of the best places to get started with OpenGL ES on the iPhone, especially if you don’t have any OpenGL experience.
    • 148Apps.biz – All about the business of developing iPhone apps. It’s also the home of the app store metrics .
    • These three iPhone analytics companies also blog metrics periodically:
    • TouchArcade is a great iPhone game review site, and a lot of developers are active in the forum there.
    • iPhone Developers on Twitter is a community maintained Google spreadsheet where you can find the Twitter handles of thousands of iPhone developers.
     
    • Glenn Jenkinson 7:04 pm on June 19, 2009 Permalink

      Thanks again for the great class and all these links!

    • Dan Grigsby 11:51 pm on June 21, 2009 Permalink

      Thanks for including Mobile Orchard! We appreciate it :-)

    • neror 12:08 am on June 22, 2009 Permalink

      Sure, Dan. I read Mobile Orchard every day. :)

      I’m also looking forward to your 360|iDev presentation.

    • Matt O'Donnell 11:52 am on September 30, 2009 Permalink

      Morning, I’m enjoying you session right now on Core Animation and checking your site out. Do I need special access to the iphone resources google doc? I get an error saying I don’t have access. Thanks again for the awesome session.

    • neror 12:12 am on October 1, 2009 Permalink

      It’s not my doc, and it looks like the author took it down. :(

      I’m glad you enjoyed the talk. Keep an eye on github for some more code samples.

    • neror 12:58 pm on October 7, 2009 Permalink

      Correction. Ari just moved the google doc. I’ve updated the link in the post.

  • neror 2:11 pm on June 19, 2009 Permalink | Reply  

    Who Wants to Be a Millionaire? 

    As promised, Here are the slides for my talk at the Houston Technology Center’s Web Based Startup School on 6/17/09. The slides aren’t really useful on their own since I only used them as a visual aid in the talk, but they might trigger some memories for those in attendance.


    Who Wants to Be a Millionaire? – What it Takes to Become an iPhone Developer

    Abstract:

    Since the opening of the iPhone app store, many developers have turned themselves into true success stories. While these stories are more exception than rule, their telling has inspired countless others to give iPhone development a shot. The app store is a revolution in software distribution, and it gives independent developers the power to make their own success. If you are considering becoming an iPhone developer, or if you are just curious what it’s all about, this session is for you. You will learn how to get the SDK, how to join the iPhone developer program and some common iPhone business models. We will also look at the technical side of iPhone development and get a look at the tools of the SDK. Since this session falls on the day of the release of iPhone OS 3.0, we will also get a good look at the new features in the OS and SDK that enable even more rapid development and new business models.

    [Download PDF]

     
  • neror 7:51 pm on June 15, 2009 Permalink | Reply  

    I’m Speaking at 360|iDev in Denver 9/27-9/30! 

    I just got confirmation that I’ll be speaking at 360|iDev in Denver this September. I’m really excited about the conference! I was disappointed that I didn’t hear about the last 360|iDev until after it was over, and the raves of Jeff LaMarche and Owen Goss made me a little jealous. If you can swing it, come on out. It should be a great time!

    Here’s what I’ll be talking about:


    Using Core Animation to Build Complex and Attractive Interfaces

    Core Animation plays an integral role in the iPhone user interface and is responsible for much of its intuitiveness. Careful use of animation can make even an average app a joy to use. In this session you will learn how to effectively apply the features of Core Animation in your own apps. After a brief introduction to the principles behind Core Animation, you will learn how it is used in UIKit. Then, we will dig into the meat of Core Animation and how to use it effectively. Using the open source FTAnimationManager as an example, you will learn how to tame some of the complexities of the Core Animation API. By the end of this session, you will be comfortable with Core Animation, and your apps will run more smoothly and be more visually appealing.

    360|iDev Speaker

     
  • neror 12:28 pm on March 4, 2009 Permalink | Reply  

    Hog Butchering 

    Last night, I butchered the hog my wife shot at the ranch this weekend. If anyone else finds themselves in a similar situation, I found this awesome guide. Very useful! ;)

    pork butchering guide

     
    • Lynn 2:26 pm on February 23, 2010 Permalink

      Hey Nate! First of all – I love your hog butchering guide by the way. Second of all – how the heck are you?! I don’t do facebook but I found you there anyhow. Looks like you have some exciting stuff going on. Well, I just wanted to say hi and hope we can catch up! Can you believe it has been nearly ten years since we graduated from Trinity?

  • neror 8:07 pm on September 21, 2008 Permalink | Reply  

    (Almost) No-Knead Bread 

    I tried the Cooks Illustrated modified version of Michael Bittman’s recipe in the NYT. Just waiting for it to cool…



    Posted by neror on Natuba


     
    • carlie 8:37 am on September 22, 2008 Permalink

      The hurricane must have put us in domestic mode. I found myself making banana bread yesterday, too.
    • neror 11:58 am on September 22, 2008 Permalink

      Having to completely restock my refrigerator put me in cooking mode. I did a monkfish sauté and made some panna cotta last night, too. :)
    • Eric 11:38 pm on January 15, 2009 Permalink

      please email me as I have a question about a different post of yours.
    • Lynn 2:28 pm on February 23, 2010 Permalink

      I have used this recipe before. So easy. This reminds me that I should make up a batch for the bread lovers in our family.

c
compose new post
j
next post/next comment
k
previous post/previous comment
r
reply
e
edit
o
show/hide comments
t
go to top
l
go to login
h
show/hide help
esc
cancel