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 Foundation/Foundation.h
#import AudionetCommand.h
#import AudionetQueueDelegateProtocol.h
@interface AudionetCommandQueue : NSObject {
id
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
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 gid...@novamind.com 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
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, at 18:43,
Your AudionetQueueDelegate protocol is probably not inheriting from
NSObject (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
Op 16 nov 2010, om 12:18 heeft Mark Wright het volgende geschreven:
Your AudionetQueueDelegate protocol is probably not inheriting from
NSObject (the protocol) so it warns that valueForKeyPath: is not found.
It'll also probably complain about methods like respondsToSelector: which is
also
Yes that wont work, which is why I said NSObject* protocol instead of
idNSObject,protocol
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 re...@beryllium.net wrote:
Op 16 nov 2010,
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
NSObject (the protocol) so it warns that valueForKeyPath: is not
found. It'll also probably complain
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
On Tue, Nov 16, 2010 at 6:27 AM, Remco Poelstra re...@beryllium.net 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 NSObject
That does not seem
On Tue, Nov 16, 2010 at 7:28 AM, Sherm Pendley sherm.pend...@gmail.comwrote:
On Tue, Nov 16, 2010 at 6:27 AM, Remco Poelstra re...@beryllium.netwrote:
Op 16 nov 2010, om 12:18 heeft Mark Wright het volgende geschreven:
You need to write your protocol declaration in
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 caret
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 a
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 mentioned
On Mon, 15 Nov 2010 10:02:44 -0800, Jonathon Kuo
newsli...@autonomy.caltech.edu 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
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
-
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
newsli...@autonomy.caltech.edu 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
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
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 whatever
On Tue, Nov 16, 2010 at 4:26 AM, eveningnick eveningnick
eveningn...@gmail.com 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
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
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 the
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 kal...@gmail.com 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
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
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 I'm
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 have it
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:.
Now, I
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 fine, putting it
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 entities
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
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 I
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 icon
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 some
-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 like
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?
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
user
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:
[[window
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) Copyright ©
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 - when
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
system i
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 jww...@gmail.com wrote:
I'd like to add support for svn to my ios project, but I notice that
libsvn_client is not
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
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
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 quinceymor...@earthlink.net
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
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
On Tue, Nov 16, 2010 at 3:19 AM, Lionel Pinkhard lio...@breezysoft.comwrote:
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
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.
I
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 wsqui...@satx.rr.com wrote:
I
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 needs, it should
62 matches
Mail list logo