Hi,
I've somewhat the same problem as a recent thread, but I can't fix it with what
was suggested in that thread.
I've to following class:
#import
#import "AudionetCommand.h"
#import "AudionetQueueDelegateProtocol.h"
@interface AudionetCommandQueue : NSObject {
id delegate;
}
@property
AFAIK, when something is referenced as a protocol like that, the *only* methods
it knows about are the ones in the protocol. If you just cast the delegate to
type id, you should be OK (I have encountered similar situations where this
solution worked)
[(id)delegate valueForKeyPath:...
HTH
Gide
That works indeed. I hoped there was a more elegant solution.
Kind regards,
Remco Poelstra
Op 16 nov 2010, om 11:43 heeft Gideon King het volgende geschreven:
> AFAIK, when something is referenced as a protocol like that, the *only*
> methods it knows about are the ones in the protocol. If you
Or use
NSObject*< protocol >
Instead of id. Assuming that all the objects are NSObjects.
On Nov 16, 2010, at 18:43, Gideon King wrote:
> AFAIK, when something is referenced as a protocol like that, the *only*
> methods it knows about are the ones in the protocol. If you just cast the
>
More elegant indeed :). I thought delegates had to be of type id.
Kind regards,
Remco Poelstra
Op 16 nov 2010, om 11:57 heeft Roland King het volgende geschreven:
> Or use
>
> NSObject*< protocol >
>
> Instead of id. Assuming that all the objects are NSObjects.
>
>
>
> On Nov 16, 2010,
Your AudionetQueueDelegate protocol is probably not inheriting from
(the protocol) so it warns that valueForKeyPath: is not
found. It'll also probably complain about methods like
respondsToSelector: which is also part of the NSObject protocol.
You need to write your protocol declaration i
Op 16 nov 2010, om 12:18 heeft Mark Wright het volgende geschreven:
> Your AudionetQueueDelegate protocol is probably not inheriting from
> (the protocol) so it warns that valueForKeyPath: is not found.
> It'll also probably complain about methods like respondsToSelector: which is
> also part
Yes that wont work, which is why I said NSObject*< protocol> instead of
id
valueForKeyPath: is not defined in the NSObject protocol, but is defined on
NSObject itself which is why it works.
On Nov 16, 2010, at 19:27, Remco Poelstra wrote:
> Op 16 nov 2010, om 12:18 heeft Mark Wright het vo
On 16 Nov 2010, at 11:27:22, Remco Poelstra wrote:
Op 16 nov 2010, om 12:18 heeft Mark Wright het volgende geschreven:
Your AudionetQueueDelegate protocol is probably not inheriting from
(the protocol) so it warns that valueForKeyPath: is not
found. It'll also probably complain about met
Hello
I a wondering, if it is possible to get the current screen position of
a text cursor (text caret) using Cocoa? It is possible to do that in
Windows system (GetCaretPos), maybe Mac allows some similar
functionality?
Thanks!
___
Cocoa-dev mailing lis
On Tue, Nov 16, 2010 at 6:27 AM, Remco Poelstra wrote:
> Op 16 nov 2010, om 12:18 heeft Mark Wright het volgende geschreven:
>
> > You need to write your protocol declaration in
> AudionetQueueDelegateProtocol.h as:
> >
> > @protocol AudionetQueueDelegate
>
> That does not seem to work.
> I now
On Tue, Nov 16, 2010 at 7:28 AM, Sherm Pendley wrote:
> On Tue, Nov 16, 2010 at 6:27 AM, Remco Poelstra wrote:
>
>> Op 16 nov 2010, om 12:18 heeft Mark Wright het volgende geschreven:
>>
>> > You need to write your protocol declaration in
>> AudionetQueueDelegateProtocol.h as:
>> >
>> > @protocol
On 16/11/2010, at 11:26 PM, eveningnick eveningnick wrote:
> I a wondering, if it is possible to get the current screen position of
> a text cursor (text caret) using Cocoa? It is possible to do that in
> Windows system (GetCaretPos), maybe Mac allows some similar
> functionality?
The text care
> The text caret doesn't have a single, global position. It is really the
> position of the text selection within an active text view when the selection
> length is zero. If you want to know which logical characters the insertion
> point is at in a given text view, that's easy to find - just get
Le 16 nov. 2010 à 15:18, eveningnick eveningnick a écrit :
> Basically i want to get the text caret position in Word 2011 active
> document window. I want to place a popup window on that location.
> Microsoft Word 2011 SDK is not available to public (i am not even sure
> if this SDK includes such
> Hi George,
> What you want to do would is within another's application.
> Any public hooks/APIs could be used...
> In this case VB and AppleScript.
> For deeper, Cocoa-based integration, you would probably need to work with
> Microsoft.
> Couldn't hurt to try contacting them...
>
> The means men
On Mon, 15 Nov 2010 10:02:44 -0800, Jonathon Kuo
said:
>Interesting idea, probably a little beyond me. :)
Nonsense. This is perfectly standard and easy. A UIButton can send an action
message on TouchDown. It makes no difference that the UIButton is inside a
UIBarButton. How much plainer can i
Below is a simple test application that launches a process and logs the output
as it runs.
It works as expected when the app is set to no garbage collection, but as soon
as I turn on garbage collection, the following notifications stop working:
- NSTaskDidTerminateNotification
- NSFileHandleR
On Nov 16, 2010, at 7:18 AM, eveningnick eveningnick wrote:
> Thus i was thinking that as long as Word 2011 is a cocoa application,
> its document is most likely something like a modified text field (not
> sure though) and i could get that position (at least, relatively to
> the main window's pos)
On Nov 16, 2010, at 9:12 AM, Matt Neuburg wrote:
> On Mon, 15 Nov 2010 10:02:44 -0800, Jonathon Kuo
> said:
>> Interesting idea, probably a little beyond me. :)
>
> Nonsense. This is perfectly standard and easy. A UIButton can send an action
> message on TouchDown. It makes no difference that
Which means you'd probably have to do it programmatically, or just have an
IBOutlet to the UIButton inside the UIBarButtonItem.
Dave
On Nov 16, 2010, at 10:26 AM, Jonathon Kuo wrote:
> On Nov 16, 2010, at 9:12 AM, Matt Neuburg wrote:
>
>> On Mon, 15 Nov 2010 10:02:44 -0800, Jonathon Kuo
>> s
On Nov 12, 2010, at 10:51 AM, Jerry Krinock wrote:
> When implementing this method:
>
>-createDestinationInstancesForSourceInstance:entityMapping:manager:error:
>
> in a subclass of NSEntityMigrationPolicy, one typically loops through
> attributes of the given source instance, does whateve
On Tue, Nov 16, 2010 at 4:26 AM, eveningnick eveningnick
wrote:
> Hello
> I a wondering, if it is possible to get the current screen position of
> a text cursor (text caret) using Cocoa? It is possible to do that in
> Windows system (GetCaretPos), maybe Mac allows some similar
> functionality?
Yo
The issue [I'd bet -- don't have time to dive deep] is that you don't have a
strong reference to the Tasker instance.
Since notification observers don't hold strong references to observers, either,
the garbage collector sees Tasker as garbage and collects it.
You could fix this any number of wa
And now with functional links... sigh
On Nov 12, 2010, at 10:51 AM, Jerry Krinock wrote:
> When implementing this method:
>
> -createDestinationInstancesForSourceInstance:entityMapping:manager:error:
>
> in a subclass of NSEntityMigrationPolicy, one typically loops through
> attributes of th
On Nov 16, 2010, at 09:17, Jon Gilkison wrote:
> Below is a simple test application that launches a process and logs the
> output as it runs.
>
> It works as expected when the app is set to no garbage collection, but as
> soon as I turn on garbage collection, the following notifications stop
>
Am 15.11.2010 um 04:43 schrieb Kyle Sluder:
> On Sun, Nov 14, 2010 at 9:55 AM, kalexm wrote:
> Hello all,
>
> I'm new to the list and somewhat new to OSX (not iphone!) development. I
> spent ten years most of my time in java so it was a hurdle..
>
> I am currently developing an app (APP-A) wh
That was it, though further up the chain. The object that created/owned the
task was being GC'd away.
Thanks Bill and Quincy!
On Nov 16, 2010, at 12:53 PM, Bill Bumgarner wrote:
> The issue [I'd bet -- don't have time to dive deep] is that you don't have a
> strong reference to the Tasker ins
On 2010 Nov 16, at 09:48, Adam Swift wrote:
> That the objects will be fetched as NSManagedObjects is documented in the
> versioning & migration guide … Three-Stage Migration.
Thank you, Adam. I see that it says "the class of all entities is changed to
NSManagedObject". However, I think that
Yeah, UIToolbars are odd beasts. Try this out: place a UISwitch in a toolbar,
hook it up to an IBAction, and you get... nothing. It switches from ON to OFF
and back, but the action never fires. Bug? Feature? Not exactly 'standard and
easy' imho. Maybe the 'next major release' will address this.
I just noticed that Apple's Keynote, Pages, and Numbers '08
applications acknowledge the following material.
Mike Ferris – (MOKit) Portions Copyright © 1996-2002 Mike Ferris. All
Rights Reserved.
Kurt Revis – (SNDisclosableView/SNDisclosureButton) Copyright © 2002,
Kurt Revis. All rights
Hello.
I'm stomped by a strange problem. I've been working with a UIViewController
subclass and it's been working fine, putting it on screen using
"pushViewController:animated:".
Now, I would like to load the view controller and have it perform a method
before I put it on screen. However, when
On Nov 16, 2010, at 1:29 PM, Laurent Daudelin wrote:
> Hello.
>
> I'm stomped by a strange problem. I've been working with a UIViewController
> subclass and it's been working fine, putting it on screen using
> "pushViewController:animated:".
>
> Now, I would like to load the view controller and
Hi ,
I am developing a non document based App. i need to add an icon to its main
window title bar before the title string , any input on how to implement it
would be help full
Thanks In Advance
P.Rajendran or Raju
(for further details contact
me )
_
On Nov 16, 2010, at 13:34, Dave Carrigan wrote:
> On Nov 16, 2010, at 1:29 PM, Laurent Daudelin wrote:
>> Hello.
>>
>> I'm stomped by a strange problem. I've been working with a UIViewController
>> subclass and it's been working fine, putting it on screen using
>> "pushViewController:animated:"
HI all ,
I am currently using a custom make file to build my project file , when i
right click and say "Jump to definition". it is no going to definition file
for
methods defined in frameworks like cocoa and systemsecurity but its working
fine for all methods written by me . any input on
On Nov 16, 2010, at 4:50 PM, Laurent Daudelin wrote:
> On Nov 16, 2010, at 13:34, Dave Carrigan wrote:
>
>> On Nov 16, 2010, at 1:29 PM, Laurent Daudelin wrote:
>>> Hello.
>>>
>>> I'm stomped by a strange problem. I've been working with a UIViewController
>>> subclass and it's been working fin
On Nov 16, 2010, at 10:46 AM, Jerry Krinock wrote:
>
> On 2010 Nov 16, at 09:48, Adam Swift wrote:
>
>> That the objects will be fetched as NSManagedObjects is documented in the
>> versioning & migration guide … Three-Stage Migration.
>
> Thank you, Adam. I see that it says "the class of all
On 2010 Nov 16, Adam Swift wrote:
> What you seem to be describing shouldn't be possible (unless you've added
> property accessors to NSManagedObject via a category)
I definitely have not done that. I subclass NSManagedObject.
Let's step back a little here:
> You should be able to use the st
On Nov 16, 2010, at 15:55, Jerry Krinock wrote:
>> You should be able to use the standard KVC accessors during migration,
>> NSManagedObjects will respond to the foo/setFoo: laccessors for properties
>> defined in your managed object model.
>
> Well, -foo and -setFoo: won't even compile unless
Hello!
I have to write an application, that should run on the background.
When the user needs, it should display some control panel. On Windows
system i would have used System tray, and an icon there - when the
user clicks on that icon, it displays some GUI. but what is the Mac's
usual practice? I
I fumble-fingered the first message and sent it without actually typing
anything. Sorry for the noise if the moderator didn't catch it.
Someone may know an approved Apple method, but here are some things that are
out there now you could emulate. You could have it in Applications and use a
menu
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/16/10 5:27 PM, eveningnick eveningnick wrote:
> Hello!
> I have to write an application, that should run on the background.
> When the user needs, it should display some control panel. On Windows
> system i would have used System tray, and an ico
http://developer.apple.com/library/mac/#documentation/UserExperience/Conceptual/PreferencePanes/PreferencePanes.html
On 17/11/2010, at 12:27 PM, eveningnick eveningnick wrote:
> Hello!
> I have to write an application, that should run on the background.
> When the user needs, it should display so
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
On 11/16/10 1:51 PM, Rajendran P wrote:
> HI all ,
> I am currently using a custom make file to build my project file , when i
> right click and say "Jump to definition". it is no going to definition file
> for
> methods defined in frameworks l
I am trying to study the performance of non standard codec relative to H.264.
I was wondering if there was a straight forward way to add compression options
to QTCompressionOptions object.
If this is not the best approach, what is the recommended strategy to implement
a proprietary codec? I'
Conrad Shultz wrote:
> On 11/16/10 5:27 PM, eveningnick eveningnick wrote:
>> Hello!
>> I have to write an application, that should run on the background.
>> When the user needs, it should display some control panel. On Windows
>> system i would have used System tray, and an icon there - when the
Rajendran P wrote:
> Hi ,
> I am developing a non document based App. i need to add an icon to its main
> window title bar before the title string , any input on how to implement it
> would be help full
Found something in the list archives from 2008. You can use:
[[ standardWindowButton:NSW
Richard Somers wrote:
> I just noticed that Apple's Keynote, Pages, and Numbers '08
> applications acknowledge the following material.
>
> Mike Ferris ˆ (MOKit) Portions Copyright © 1996-2002 Mike Ferris. All
> Rights Reserved.
>
> Kurt Revis ˆ (SNDisclosableView/SNDisclosureButton) Copyrigh
On Tue, Nov 16, 2010 at 5:27 PM, eveningnick eveningnick <
eveningn...@gmail.com> wrote:
> Hello!
> I have to write an application, that should run on the background.
> When the user needs, it should display some control panel. On Windows
> system i would have used System tray, and an icon there -
On Nov 17, 2010, at 12:40 PM, Kyle Sluder wrote:
> On Tue, Nov 16, 2010 at 5:27 PM, eveningnick eveningnick <
> eveningn...@gmail.com> wrote:
>> Hello!
>> I have to write an application, that should run on the background.
>> When the user needs, it should display some control panel. On Windows
>>
I'm curious. What will you use svn for from iOS? is this for mobile access to a
repository? Or something else?
Piko
Sent from my iPhone
On Nov 14, 2010, at 11:51 AM, James West wrote:
> I'd like to add support for svn to my ios project, but I notice that
> libsvn_client is not available for
hi,
To write cocoa parser plugin for 3gp or MKV file format(for MAC OS on PC) do
we need to write in any specific plugin pattern/format.
If not can we add our own member functions into this plugin in which case the
host application needs to know the prototypes of the member functions befo
Hi,
I wonder if it's possible to detect a shared folder? That is a folder that
is shared via File Sharing.
Am I missing something obvious?
I couldn't find an appropriate folder attribute in either Cocoa or
AppleScript. Or any other way to distinguish a shared folder from other
folders.
I also a
hi,
When I instantiate my browser from XIB file, and when i play with
hierarchy, the column 's titles do not appear.
Only after the resize the window (container), that the conportment of
titles is correct.
have you a solution to fix this?
thank.
_
From: Quincey Morris
> a number of system extensions (like Default Folder, but I think that wasn't
> the first) added the ability to option-click on a disabled item to prefill the
> text field with an existing name,
> At some point (possibly Mac OS X 10.0), Apple quietly adopted this very useful
I am just starting to work on Scott Stevenson's book as a total programming
beginner and I am wondering if there is a place to discuss beginner's issues (I
just completed the first part of the introduction to C concepts) or the
contents of the book itself.
Jean-Christophe Helary
--
Hi
I'm trying to achieve a kind of proxy/filter effect for a specific TCP/IP
port. I want my application to act as a server to all other applications on
the system for that specific port.
For example, Safari connects to site www.whatever.com on port 412. My
application is intercepting on port 412
On Tue, Nov 16, 2010 at 3:19 AM, Lionel Pinkhard wrote:
> Hi
>
> I'm trying to achieve a kind of proxy/filter effect for a specific TCP/IP
> port. I want my application to act as a server to all other applications on
> the system for that specific port.
>
> For example, Safari connects to site www
On Nov 15, 2010, at 4:01 AM, Leo wrote:
> I wonder if it's possible to detect a shared folder? That is a folder that
> is shared via File Sharing.
It would seem to be possible, since the Finder puts a banner in the window for
shared folders.
> Am I missing something obvious?
Not obvious, no.
You may check Accelerate.framework. It utilized the SIMD for
performance for up to 1024bit operands.
http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man7/vBigNum.7.html
Regards.
yllan
On Mon, Nov 15, 2010 at 7:14 AM, William Squires wrote:
> I know some crypto alg
Le 17 nov. 2010 à 05:21, John Joyce a écrit :
>
> On Nov 17, 2010, at 12:40 PM, Kyle Sluder wrote:
>
>> On Tue, Nov 16, 2010 at 5:27 PM, eveningnick eveningnick <
>> eveningn...@gmail.com> wrote:
>>> Hello!
>>> I have to write an application, that should run on the background.
>>> When the user
62 matches
Mail list logo