NSBrief

NSBrief

By Saul MoraTechnologyArtsDesign
Download on the App Store

NSBrief episodes

  • #16: Mike Berg

    Mike Berg is the President and Lead Designer at We Heart Games, a game development consulting agency. Mike and Saul discuss what makes a good game and why Photoshop sucks.

    Download Episode

     
    Links
     
    We Heart Games
    Twitter
    Photoshop for Devs
    Stencyl
    The Art of Game Design - A Book of Lenses
    Art of Game Design Website
    Art of Game Design App
    360idev.com
     
    Games

    Landformer
    Starfighter X2
    Charmed
    reMovem
    Air Hockey for Mac
    Disc Drivin'
    Casey's Contraptions
    Tiny Wings
    Tilt to Live
    Lost Spider
    Tiny Tower
    Epic Win
    Chaotic Box
    49 min
  • #15: Klaas Pieter

    Klaas is a Mac, iOS and web developer and is also a Core Committer to the Cappuccino web Framework. In this interview, we discuss his recent contributions to the Cappuccino project as well as what Cocoa developers can expect when they develop for the with with Cappuccino.

    Download Episode

    Links

    iOSDevcamp
    VJ Mixer
    NextiveJson
    Klaas Pieter's Blog
    Cappuccino
    Cappcon
    KPUIKit
    NSConf 11 Videos

    28 min
  • #14: AppCode

    AppCode is the upcoming Objective C IDE by the same company that does Intelli-J for Java and Resharper for C# and Visual Studio. While at WWDC, Saul tracked down the AppCode team for a short discussion on JetBrains’ plans for AppCode and what you can do to help make AppCode the IDE you want to see.

    Download Episode

    Links
    • Jetbrains
    • AppCode EAP (Early Access Program)
    • Upcoming Events
      • CocoaConf
      • Columbus, OH
      • Aug 12-13
        • SwipeConf
        • Melbourne, Austrailia
        • Sept 5-6
          • UpdateConf
          • Brighton, UK
          • September 5
            • iOSDevUK
            • Aberystwyth
            • Sept 7-9
              • SecondConf
              • Chicago, IL
              • Sept 23-25
                • 360idev
                • Denver, CO
                • Sept 11-14
                • 29 min
                • #13: The WWDC Keynote Line

                  WWDC is the biggest event of the year for Mac and iOS Developers. Every year, we wait in line for the wonders that await us at the Keynote. This year, Saul chats with a few people in line. Trying to strike up a conversation with developers is a little easier when we’re all giddy about the keynote!

                  Events

                  • iOS DevCamp
                  • SecondConf
                  • 360idev
                  • MacTech
                  • 360macdev
                  • Links

                    • MacTech - Call for Speakers
                    • RESTKit
                    • Download Episode

                      35 min
                    • #12: Matt Drance

                      Matt Drance heads up the iOS consulting firm Bookhouse Software, as well as teaches iOS courses for the pragmatic studio. Many of you may know him from his previous role at Apple as a Developer Evangelist. In this episode, we talk with Matt about his life after Apple and may of the other exciting things going on in the iOS development community.

                      Download Episode

                      Links
                      • Bookhouse Software
                      • iOS Developer Recipes - Pragmatic Bookshelf
                      • Apple Outsider
                      • 57 min
                      • #11: Appsterdam

                        Saul talks with Mike Lee about Appsterdam, a new idea to relocate the worlds developers to Amsterdam, Netherlands. This made a big splash on twitter recently, so i decided to go straight to the horse’s mouth, so to speak, and talked to Mike Lee about his big plans for the Mac and iOS developer community called Appsterdam.

                        Links
                        • airbnb.com
                        • @appsterdamrs
                        • http://appsterdam.rs
                        • http://mur.mu.rs
                        • Download Episode

                          54 min
                        • #10: Sofa

                          Sofa is a 2-time Apple Design Award winning Mac Software development firm based in Amsterdam. Saul chatted with Dirk Stoop and Jonathan Dann about designing great, award winning applications.

                          Guests

                          Jonathan Dann
                          @jonathandann
                          [email protected]

                          Dirk Stoop
                          @dirkstoop
                          [email protected]

                          Links
                          • Sofa - http://www.madebysofa.com
                          • Versions - http://www.versionsapp.com
                          • Kaleidoscope - http://www.kaleidoscopeapp.com
                          • Download Episode

                            29 min
                          • #9: Cathy Shive

                            While at NSConference UK 2011, Saul sits down with Cathy Shive to talk about aspects of design, and that inevitable topic of girl programmers…

                            Download Episode

                            Guest

                            Cathy Shive
                            KATI
                            http://www.katidev.com

                            20 min
                          • #8: Jiva Devoe

                            Saul and Jiva talk about the cross platform architecture of the new todo list app, Wasabi, from Random Ideas Software. We also get to discussions on MVC, Blocks and code organization.

                            Download Episode

                            Show Links

                            Random Ideas Website

                            Wasabi Blog Post Announcement

                            Wasabi on the App Store

                            Frameworks are teh suck, err, By Wil Shipley - http://www.wilshipley.com/blog/2005/11/frameworks-are-teh-suck-err.html

                            Events

                            NSCoderNight

                            Denver NSCoder, Tuesdays, 6pm at Common Grounds Coffee, Downtown Denver.
                            Follow @jwilker on twitter for up to date information.

                            iOS/Cocoaheads Meetups

                            Denver iPhone User Group
                            Tuesday Feb 15, 6:30pm at Remy 1660 17th St, Downtown Denver.

                            CocoaHeads Colorado Springs
                            Thursday March 10, 7pm at Panera Bread, 7344 North Academy Blvd. Colorado Springs, CO

                            CocoaHeads Boulder
                            Tuesday March 8, 7pm at Inspiring Apps, 1045 Pearl Street Boulder, CO

                            Colorado iPhone Developers Meetup
                            No Meeting Currently Scheduled

                            Gettin’ to Know Cocoa

                            Welcome to Gettin’ to Know Cocoa, where we crack open a piece of Cocoa documentation and hopefully let you know about another useful piece of the Cocoa framework.

                            Today on Gettin’ to Know Cocoa, we’re going to take a look at NSKeyValueCoding and NSKeyValueObserving. If you’re new to Cocoa, you should know that KVC an KVO are integral parts of the Cocoa framework. More often than not, your code can gain a lot of benefits in flexibility  . Both of these are defined as information protocols in Cocoa. Informal protocols contain a collection of method declarations whereby you can optionally implement the methods to change behavior. Let’s start with NSKeyValueCoding…

                            If you’ve used Key-Value coding in your cocoa apps, you may expect the usual suspects, such as valueForKey:, setValue:forKey:, valueForKeyPath: and setValue:forKeyPath:. Some overlooked methods are dictionaryWithValuesForKeys:, valueForUndefinedKey: and valueValue:forKey:error:.

                            Let’s take those one at a time.

                            dictionaryWithValuesForKeys:, and it’s corresponding mutator, setValuesForKeysWithDictionary: allow you to set and retrieve a subset of key-value pairs in your dictionaries in a single method call. The really neat trick with this method is that since NSObjects conform to this informal protocol, you can set and retrieve a subset of your objects property values with a single method call. setValuesForKeysWithDictionary: and dictionaryWithValuesForKeys both work with an instance’s valueForKey: and setValueForKey: method, so there isn’t as much magic as you may expect. But it’s nice to know that this handy shortcut is available for your use in both your Mac and iOS apps.

                            valudateValue:forKey:error: does what it sounds like, validates the value of the provided key. Since you most likely won’t be calling this method directly, you want to follow the guidelines for this method closely. First, you want to return the proper value whether a property is valid or not. You could, however, always return YES, and correct the value this method. So, it may also be the case that you want to validate more than one value in your class or collection. In this case, you should probably leave this method as the default and instead implement validate:error:, where is the name of the property you need to validate. Working with validations like this will rid your code of those unsightly if/else checks. The rules of this method are the same, you want to return YES if the property is valid, or if you’ve corrected it within the validation, and NO if it isn’t. A note on the error parameter, it is your responsibility to return an autoreleased error object, as it is not the sender’s responsibility to release the error. And, yes, there is a validateValue:forKeyPath:error method

                            valueForUndefinedKey: is invoked by valueForKey: when it is unable to, surprise, find a value for the given key. This method is called prior to giving up to give you one last chance to handle this specific problem yourself, if you need to do so. The default value of this method raises an NSUndefinedKeyException, which is why your apps seem to crash if you query for an undefined key. The way you use this method is to implement it in your subclasses of NSObject.

                            Moving on to the NSKeyValueObserving protocol, I found it funny that the docs spelled out that KVO is not available for Java applications. Let that be a lesson, don’t write Cocoa apps in Java.  Again, if you’ve done any KeyValue Coding, you’re most likely aware of methods such as addObserver:forKeyPath:options:context:, removeObserver:forKeyPath: and observeValueForKey:ofObject:change:context:. These three methods are at the heart of implementing KVO. Other methods in this protocol include didChangeValueForKey:withSetMutation:usingObjects:, didChange:valuesAtIndexes:forKey:, and the corresponding willChange methods. Remember, if you override a synthesized implementation of a property in your class, and you want to observe value changes, you must call the proper willChange and didChange method before and after you’ve change the value of the property. These two variations are to perform notifications in two specific situations. The first, did/willChangeValueForKey:withSetMutation:usingObjects: is when your property has an unordered relation. And the did/willChange:valuesAtIndexes:forKey: are when you have an ordered relationship. These methods must be used by your property accessor and mutator methods if you want them to maintain KVO compliance.

                            Again, these protocols are defined on both iOS and Mac since they reside in the Foundation.framework. On the mac, KVC and KVO is especially key since this is the heart of how bindings work…

                            That’s all we have for today, I’m Saul Mora, founding Panda at Magical Panda Software, and engineer at Double Encore, helping you to get to know Cocoa.

                            54 min
                          • #7: Erica Sadun

                            Saul chats with TUAW Blogger Erica Sadun about her work on reverse engineering the AirPlay protocol in the new AppleTV 2. Follow Erica’s nerdy adventures on twitter: @ericasadun.

                            Download Episode

                            ericasadun.com
                            Erica’s AirPlay applications

                            Sites

                            cocoaobjects.com - CocoaObjects.com is a web site containing a hand-selected listing of all sorts of reusable objects available for Macintosh programmers programming using the standard Cocoa Objective-C APIs.

                            The entries are maintained by volunteers based on personal discoveries and suggestions made to the@cocoaobjects Twitter account.

                            idevrecipies.com - iOS developers sometimes look at iPhone and iPad apps and wonder, how did they do that? This blog by Peter Boctor explores and re-creates interesting features and user interfaces of iOS apps.

                            Events

                            NSConference UK
                            March 21th - 24rd
                            Reading, UK
                            www.nsconference.com

                            iPhoneDevCon
                            April 4-6, 2011
                            Boston, MA
                            www.iphonedevcon.com

                            29 min

                          About NSBrief

                          From the publisher's feed

                          A brief podcast for cocoa developers, talking about interesting developer-y stuff