• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Building Interface logic via IB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building Interface logic via IB


  • Subject: Re: Building Interface logic via IB
  • From: jordibares <email@hidden>
  • Date: Fri, 23 Feb 2007 13:05:08 +0000
  • Thread-topic: Building Interface logic via IB

Just to keep you updated...

>
> And here are my questions to two little problems;
>
> Problem 1 :
>
> 1.a ) I want the flag to activate/deactivate the numeric field without
> having to create an action and then programatically turn on/off the state of
> the button.
>
> 1.b ) Also I plan to trigger an action when pressing the Test button so I am
> relying on the user changes to interactively collect all the data I need.
> Hopefully this is correct too.
>
So far I have been going the route of programatically control the logic and
attach my NSButton Actions to a routine that does it all.. Not fun to go
this way but nevertheless it works fine.

IMHO the logic could/should be controlled via IB instead but hey... That is
just my opinion.

>
>
> Problem 2 :
>
> 2.a ) More interface questions, Here I am using a NSMatrix (radio buttons)
> to drive multiple elements visibility on/off, and the idea is that hide
> would hide all 4 elements in the bottom of the page, while unactive will
> make the field and the combo box unactive yet visible.
>
> 2.b ) Hopefully also I can via IB set the default value of the NSMatrix? Do
> I have to do this programmatically via awakeFromNib?
>
So far coded.

> 2.c ) Is it correct to use a ComboBox instead of a PopUp box? My intention
> is to have some combo boxes with completely static values and I found I can
> do easily that via IB, while other should be filled programmatically.
>
So far is working well now.

> 2.d ) In case the combobox has to be filled programmatically do I need to
> build an ArrayController to handle this or can I resort to pass an array
> from the program somehow? This is particulary confusing as the concepts are
> not that clear and going through the Apple documentation has not many
> examples.
>
I have done it via a dataSource, clearly I was confused.  :-P

>
>
> Problem 3 :
>
> Here lies the last one I think (for now), these two tabs will call the same
> AppController? Should I have one app controller for one tab view and another
> for the other?
>

Again this was another confusion, one single controller and a delegate to
analyze things when switching from one tab to another.

Boing
jb


> I guess this is not right but wanted to make sure I pack all my questions in
> one single email.
>
>
> Thanks for you help
> Jordi Bares
>
>
> PS. Also I would like to meet some Cocoa developer to share ideas/questions
> and help each other (probably I will only be able to help on other areas at
> the moment, please visit my web site to see the kind of work I do). Either
> that or I will pay the beers  :-)
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Building Interface logic via IB (From: jordibares <email@hidden>)

  • Prev by Date: Re: NSXMLParser in background thread crashing
  • Next by Date: Re: NSXMLParser in background thread crashing
  • Previous by thread: Building Interface logic via IB
  • Next by thread: Finding "myself" in a plugin architecture
  • Index(es):
    • Date
    • Thread