Afternoon Jordan,

First off - development discussions are normally taken place at
https://groups.google.com/forum/#!forum/quicksilver---development
I've forwarded this email to there, so hopefully we can continue this
discussion over there :)

It sounds like you're doing everything right, so I'd make sure that the
methods you're setting themselves are getting called properly.

What you need to do to set the object handler for your object type (I'm
assuming in objectsForEntry: you're creating your own object type by using
[object setPrimaryType:@"my.new.type"] or something similar)
is to create a 'QSObjectHandler' entry in the plist.

See the iTunes plugin
Info.plist<https://github.com/quicksilver/iTunes-qsplugin/blob/master/Info.plist#L1113>for
an example

Also, from Rob's excellent Quicksilver plugin
manual<http://projects.skurfer.com/QuicksilverPlug-inReference.mdown#qsregistration>
:

Also under QSRegistration are some settings you’ll need if you want users
to be able to “right arrow” into things (which can also be done with ‘/’).
As far as I can tell, you use QSBundleChildHandlers to allow right arrowing
into things that don’t “belong” to your plug-in and you use
QSObjectHandlers for
things your plug-in will create.


>From Rob's manual

On 16 October 2012 16:49, Jordan Kay <[email protected]> wrote:

> Hi all,
>
> I am developing a new plugin, and can successfully get the right source
> objects to appear using objectsForEntry:. However, I can’t seem to get
> children working for these objects. In loadChildrenForObject: I am calling
> -[QSObject setChildren:] on the object with a non-empty array and returning
> YES, and in objectHasChildren: I am returning YES as well. However, when I
> install the plugin, no arrow appears next to my source object, and I can’t
> right-arrow into the object.
>
> What would cause these children not to be displayed?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Quicksilver" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> Visit this group at
> http://groups.google.com/group/blacktree-quicksilver?hl=en.
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Quicksilver" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/blacktree-quicksilver?hl=en.


Reply via email to