Generating a Grid of NSTextField Objects From NSDictionary Items
        Posted  
        
            by SteveStifler
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by SteveStifler
        
        
        
        Published on 2010-04-19T02:18:10Z
        Indexed on 
            2010/04/19
            2:23 UTC
        
        
        Read the original article
        Hit count: 322
        
I'm trying to create an vocabulary study application using Obj-C and the Cocoa frameworks. I have about two week's experience in both areas and have reached an edge of my current knowledge.
Here's where I'm stuck. When I press a checkbox, a corresponding plist is loaded into memory as an NSDictionary. I want to generate a "Label: Textfield" pair for each key:value pair, where the Label is the key. When the text typed into the Textfield matches the key's value, I want the Label's text to turn green.
So how would I generate this grid, and once generated, how would I make the text green upon correct input?
Thanks!
© Stack Overflow or respective owner