• 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 15:09:41 +0200
  • Acceptlanguage: nl-NL, nl-BE
  • Thread-topic: Create TabView class to split code in manageable parts

Shane,

I’ve already created a delegate for each tabViewItem in which I can capture a button pressed but how do I make a call that resides in the app's delegate…
I wanted to add a screen dump but the list didn’t took that…

On 11 Apr 2015, at 9:56 pm, Luc Naets <email@hidden> wrote:
>
> 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…

So make your library a class. Then either make an instance of it in Xcode (drag in blue cube, change it's class to your class, connect it to a property in your app delegate), or use alloc()'s init() to instantiate it in something like applicationWillFinishLaunching:. Then call whatever handlers you want...

--
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: Shane Stanley <email@hidden>
References: 
 >Re: Create TabView class to split code in manageable parts (From: Luc Naets <email@hidden>)

  • Prev by Date: Re: Create TabView class to split code in manageable parts
  • Next by Date: Preference Pane stuff up in 10.0.3
  • 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