• 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: Create TabView class to split code in manageable parts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Create TabView class to split code in manageable parts


  • Subject: Re: Create TabView class to split code in manageable parts
  • From: Luc Naets <email@hidden>
  • Date: Sat, 11 Apr 2015 13:56:33 +0200
  • Acceptlanguage: nl-NL, nl-BE
  • Thread-topic: Create TabView class to split code in manageable parts

Thnx Shane,
I know I’m not very clear but I’m already struggling with it for a long time…
I’m a heavy user of libraries in ScriptDebugger… and I’m still working from that perspective

The idea is, when the application starts, load the library and see if I can connect to a SQLdatabase thru a web service and see that the Application Cumulus is active with a certain catalog. If not the application wil show a dialog… if everything goes OK then my library is initiated with additional info about the open catalog say theCatalogID and I can speak to that catalog…

Now with the first tabViewItem in focus I’m will start to catalog images in it, again the commands are called from the loaded library… but that library resides in the AppDelegate and not in the TabViewItem1Delegate… 
On 11 Apr 2015, at 5:47 pm, Luc Naets <email@hidden> wrote:
>
> Would it be possible to load the Library when opening the app and initiating it… and then depending on which tabView is selected pass that to the actions in that tabView? Is this the way to go?

If I understand you correctly, yes. It sounds like you might want to instantiate them in the .xib. But I'm afraid I only have the vaguest idea of what you mean.

--
Shane Stanley <email@hidden>
<www.macosxautomation.com/applescript/apps/>
—
Luc Naets <email@hidden>
<www.px.be>

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Create TabView class to split code in manageable parts
      • From: Luc Naets <email@hidden>
    • Re: Create TabView class to split code in manageable parts
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Create TabView class to split code in manageable parts
  • Next by Date: Re: Create TabView class to split code in manageable parts
  • Previous by thread: Re: Create TabView class to split code in manageable parts
  • Next by thread: Re: Create TabView class to split code in manageable parts
  • Index(es):
    • Date
    • Thread