Hi,
I'm working on a slide show application, in that I have a Custom View
which has a layer. On top of that layer I've several sub-layers. The
custom view is enclosed in a scroll view.
When the user switches to fullscreen, I'm calling
enterFullScreenMode:withOptions: method on the custom v
On 22-Jan-09, at 2:23 PM, Gordon Apple wrote:
As is supposedly the alternating start/stop when you change anything
in the
layer. I haven't had a chance to test it yet. (Waiting on a new HD
to
arrive to load Snow Leopard.) BTW, I haven't seen an update since
around
Dec. 1. What's with
On 23/01/2009, at 1:53 PM, Bill Bumgarner wrote:
A problem arose when I added an NSButton to my nib file and
assigned an image to it in Interface Builder (just entering the
image name NSAddTemplate) in the Inspector. As soon as I did this,
I started getting the following kinds of messages
On Thu, Jan 22, 2009 at 10:15 PM, Joe Turner wrote:
>
> On Jan 22, 2009, at 4:57 PM, Nick Zitzmann wrote:
>
>>
>> On Jan 22, 2009, at 4:09 PM, Joe Turner wrote:
>>
>>> I see. Then, how would you suggest to create a cloner/deleter, if it
>>> needs root privileges, but cannot use the security framew
On Thu, Jan 22, 2009 at 7:34 PM, Quincey Morris
wrote:
> On Jan 22, 2009, at 14:55, John Mikros wrote:
>
>> I'm working on a Cocoa application which does all of its work within an
>> NSTimer callback that is called regularly. Events are handled normally
>> within a Cocoa run loop.
>>
>> However,
On Jan 22, 2009, at 6:48 PM, Andy Lee wrote:
I'm using AuthorizationExecuteWithPrivileges() to run /bin/rm within
some uninstaller code. I thought I had everything working, but
today it returned errAuthorizationToolEnvironmentError, which
according to the docs means "The attempt to execute
On Jan 22, 2009, at 7:49 PM, Rick Hoge wrote:
I have a garbage collected app which has been running fine, with no
crashing or leaks and passing nicely using the Xray diagnostic tools.
A problem arose when I added an NSButton to my nib file and assigned
an image to it in Interface Builder (ju
I have a garbage collected app which has been running fine, with no
crashing or leaks and passing nicely using the Xray diagnostic tools.
A problem arose when I added an NSButton to my nib file and assigned
an image to it in Interface Builder (just entering the image name
NSAddTemplate) i
On Jan 22, 2009, at 4:57 PM, Nick Zitzmann wrote:
On Jan 22, 2009, at 4:09 PM, Joe Turner wrote:
I see. Then, how would you suggest to create a cloner/deleter, if
it needs root privileges, but cannot use the security framework?
I didn't say you couldn't use the security framework. I said
I think this is it. Thank you so much.
Daniel
Roland King wrote:
Daniel Richman wrote:
Hi all,
I am trying to write an app that has a hard-coded NSString, formatted
like this:
@"Alex: This is a test.\nBruce: One two.\nFred: This is another test."
The idea is that the lines in the text
Hi all,
I am trying to write an app that has a hard-coded NSString, formatted
like this:
@"Alex: This is a test.\nBruce: One two.\nFred: This is another test."
The idea is that the lines in the text are spoken using the indicated
voice. In the example above, line one is Alex, line two is Bru
On Jan 22, 2009, at 14:55, John Mikros wrote:
I'm working on a Cocoa application which does all of its work within
an NSTimer callback that is called regularly. Events are handled
normally within a Cocoa run loop.
However, there are times when within the callback, the code enters
an inne
I'm using AuthorizationExecuteWithPrivileges() to run /bin/rm within
some uninstaller code. I thought I had everything working, but today
it returned errAuthorizationToolEnvironmentError, which according to
the docs means "The attempt to execute the tool failed to return a
success or an er
On 22 Jan 2009, at 22:52:56, kvic...@pobox.com wrote:
in anticipation of the deprecation of NSCaledarDate, i am in the
process of converting my app to use NSDate and friends. and while
the process is mostly straightforward and not all that difficult, it
is tedious.
when i think i'm done,
On Jan 22, 2009, at 2:51 PM, David Duncan wrote:
On Jan 22, 2009, at 2:40 PM, Alexander Heinz wrote:
Now, to figure out why I'm sending a - release to a CGImage...
If you'd set the contents property of a CALayer to a CGImage at any
point? Since you set the view's layer to nil, it could b
This happens when I close a window in my app, but only if I close it
_very_ soon after it is opened. If I leave the window open for a few
100 ms then there is no problem. My app is garbage collected. The
exception is happening after windowWillClose.
The culprit seems to be an NSObjectControlle
On Jan 21, 2009, at 13:15, Derek Kuhl wrote:
I created a document-based core data application and want it to be
able to add external files from a support folder. I can
successfully set the permanent URIs for the transient relationships
working in memory, but for some reason saving to file
On Jan 22, 2009, at 4:09 PM, Joe Turner wrote:
I see. Then, how would you suggest to create a cloner/deleter, if it
needs root privileges, but cannot use the security framework?
I didn't say you couldn't use the security framework. I said you ought
to consider re-thinking your strategy.
Hello all,
I'm working on a Cocoa application which does all of its work within
an NSTimer callback that is called regularly. Events are handled
normally within a Cocoa run loop.
However, there are times when within the callback, the code enters an
inner loop, and will not exit until som
in anticipation of the deprecation of NSCaledarDate, i am in the
process of converting my app to use NSDate and friends. and while the
process is mostly straightforward and not all that difficult, it is
tedious.
when i think i'm done, i'd like to be able to do a fresh build and if
possible ha
H Am I missing something? Where did this option go under the new
Interface Builder? I feel dumb but how am I suppose to change the font
and font size of table columns in a table view without using a
specific font and a specific size?
Thanks for any info.
-Laurent.
--
Laurent Daudelin
AI
On Jan 22, 2009, at 2:40 PM, Alexander Heinz wrote:
Now, to figure out why I'm sending a - release to a CGImage...
If you'd set the contents property of a CALayer to a CGImage at any
point? Since you set the view's layer to nil, it could be that at that
point, some number of CALayers are
On Jan 22, 2009, at 2:15 PM, Sean McBride wrote:
On 1/22/09 2:11 PM, Alexander Heinz said:
*** -[Not A Type release]: message sent to deallocated instance
0xe412b30
This doesn't tell me what kind of object is sent the message, so I'm
having a very hard time debugging the problem.
My questions
On Jan 22, 2009, at 2:34 PM, Corbin Dunn wrote:
On Jan 22, 2009, at 2:29 PM, Alexander Heinz wrote:
Thanks for the quick reply.
You're right, I read that wrong, but, unfortunately, I can't "po"
the object in gdb (just gives me a similar log message) and
Instruments doesn't have a record
Hello,
First, I'm pretty new to Mac OS X programming so please bear with my
ignorance.
I was hoping to get a bit of quick advice. I'm wanting to write a
little application that will kind of put my MacBook in a lock down
mode of sorts. It would need to block/ignore all network traffic
On Jan 22, 2009, at 2:36 PM, Sean McBride wrote:
On 1/22/09 2:29 PM, Alexander Heinz said:
You're right, I read that wrong, but, unfortunately, I can't "po" the
object in gdb (just gives me a similar log message)
Figures.
and Instruments
doesn't have a record for the object.
I'd apprecia
On 1/22/09 2:29 PM, Alexander Heinz said:
>You're right, I read that wrong, but, unfortunately, I can't "po" the
>object in gdb (just gives me a similar log message)
Figures.
> and Instruments
>doesn't have a record for the object.
>
>I'd appreciate any other ideas...
In addition to Corbin's ad
On Jan 22, 2009, at 2:29 PM, Alexander Heinz wrote:
Thanks for the quick reply.
You're right, I read that wrong, but, unfortunately, I can't "po"
the object in gdb (just gives me a similar log message) and
Instruments doesn't have a record for the object.
Are you sure you are using instr
Thanks for the quick reply.
You're right, I read that wrong, but, unfortunately, I can't "po" the
object in gdb (just gives me a similar log message) and Instruments
doesn't have a record for the object.
I'd appreciate any other ideas...
Alex
On Jan 22, 2009, at 2:15 PM, Sean McBride wrot
On 1/22/09 2:11 PM, Alexander Heinz said:
>*** -[Not A Type release]: message sent to deallocated instance
>0xe412b30
>
>This doesn't tell me what kind of object is sent the message, so I'm
>having a very hard time debugging the problem.
>
>My questions are:
>
>What is a "Type release" (and, by ex
Hello all,
I'm trying to debug what I think is a memory-management problem in my
Core Animation-based custom view. I'm getting EXEC_BAD_ACCESS at some
point after I release a bunch of ivars and set the view's "layer"
property to nil, so I've turned on NSZombieEnabled in the environment
to
Thanks again for the speedy responses!
On Jan 20, 2009, at 1:47 AM, Nick Zitzmann wrote:
On Jan 19, 2009, at 7:56 PM, Joe Turner wrote:
That makes sense, but then how does an app like SuperDuper! do it.
You click the lock, enter your password, and then you don't need to
enter your passwor
- (void)drawRect:(NSRect)rect {
// Drawing code here.
NSArray *_colorArray = [NSArray arrayWithObjects:
[NSColor colorWithDeviceRed:0.9843 green:
0.9843 blue:0.9843 alpha:1.0],
[NSColor colorWithDeviceRed:0.9608 green:
0.9608 blue:0.96
Hi all,
I'm getting a weird exception, "Cannot perform operation without a
managed object context", with this backtrace:
#0 0x93d66e17 in objc_exception_throw ()
#1 0x9485beeb in +[NSException raise:format:arguments:] ()
#2 0x9485bf2a in +[NSException raise:format:] ()
#3 0x94de2ff5 in -[_NSM
On Thu, Jan 22, 2009 at 1:11 PM, Cormac Daly wrote:
> I had created a custom class for the window controller in Interface Builder,
> but I got rid of it and hooked up all the outlets via File's Owner instead.
> I'm not sure exactly how this worked but it did!
You don't create classes in IB, you i
Thanks. I will read that.
Paul Franz
Shawn Erickson wrote:
On Wed, Jan 21, 2009 at 6:33 PM, Paul Franz wrote:
Can a custom NSControl/NSCell combo be used in a normal NSView?
Yes. This type of question implies you may want to dig a little more
deeply in the view documentation.
http://devel
Okay, thanks again anyway. I've filed an enhancement request, and for now I'll
just try to optimise the menu building as best as I can, being sure only to
update them when they have actually changed.
Thanks again and all the best,
Keith
--- On Thu, 1/22/09, Eric Schlegel wrote:
> From: Eric S
What are the min and max values? The defaults in IB are 20 and 100,
so maybe you aren't seeing anything because the initial value of 0.5
is too small.
--Andy
On Jan 22, 2009, at 2:17 PM, Aaron Wallis wrote:
Yeah, I realised that "%d" should be "%f" shorly after I send the
email - however
As is supposedly the alternating start/stop when you change anything in the
layer. I haven't had a chance to test it yet. (Waiting on a new HD to
arrive to load Snow Leopard.) BTW, I haven't seen an update since around
Dec. 1. What's with that?
On 1/22/09 7:04 AM, "cocoa-dev-requ...@lists.app
Yeah, I realised that "%d" should be "%f" shorly after I send the
email - however, even after I changed it the progress indicator still
didn't update itself, and the value echo'ed was 20.5!?
I tried tinkering with the intdeterminate setting but, although it
stopped the barber shop animation
On 22. Jan 2009, at 17:02, Ross Carter wrote:
On Jan 21, 2009, at 1:38 PM, Fritz Anderson wrote:
On 21 Jan 2009, at 9:42 AM, Ross Carter wrote:
Can someone give me a hint how can I switch one window per
document model (that currently works as expected thanks to
NSDocument) to one tab pe
On Jan 22, 2009, at 6:23 AM, Keith Blount wrote:
Many thanks for your reply. I'll file an enhancement request, but
still looking for a solution to the problem, is there any way to be
notified of when the Help menu is about to start doing this
indexing? If there were, I could tell my dynami
On Thu, Jan 22, 2009 at 11:53 AM, Timothy Reaves
wrote:
>There are a number of reasons to use Log4Cocoa over something like
> ASL. The fact that it already supports Obj-C is the least of them.
> * It supports various logging levels,
As does ASL.
> * supports logging to other than the de
On Fri, 16 Jan 2009 15:24:45 -0800, Luke Evans said:
>I tried a set up where some UI (slider) bound to a property on a
>class, and separately this class' init programmatically set up a
>binding to NSUserDefaultsController sharedUserDefaultsController to
>initialise both the property and indirectly
On Jan 22, 2009, at 11:03 AM, Harry Plate wrote:
I have a simple text view that will display its text information
with an
ellipses on the right (end) if the string is too long for the view.
Nice,
but...
How can I tell NSTextView to use a "front" or "middle" ellipses for
viewing
purposes?
Thank you to everyone who replied to this query: it is now resolved.
I had created a custom class for the window controller in Interface Builder,
but I got rid of it and hooked up all the outlets via File's Owner instead.
I'm not sure exactly how this worked but it did!
Thanks again,
Cormac
On T
On Thu, Jan 22, 2009 at 2:44 AM, Cormac Daly wrote:
> Any ideas? Is there a problem in the ordering somewhere? Its probably
> something very basic but I'm stumped!
You are subclassing NSWindowController and NSWindowController will
call windowDidLoad after the nib it loads is fully instantiated a
I have a simple text view that will display its text information with an
ellipses on the right (end) if the string is too long for the view. Nice,
but...
How can I tell NSTextView to use a "front" or "middle" ellipses for viewing
purposes?
-h
___
Coc
On Jan 21, 2009, at 4:56 PM, Barry Wark wrote:
+1
ASL supports logging level filtering and redirection to one or more
URLs. It's a C library, but it's quite trivial to write an ObjC
wrapper on top (email me offline, if you'd like to take a look a my
code; I'm not quite ready to release it publi
Did you make the connections in IB?
You need to do that on top of adding the outlets in code.
Joseph Crawford
On Jan 22, 2009, at 5:44 AM, Cormac Daly wrote:
Hi list,
I've added a new window to my application and have written a window
controller class. Everything is going fine, except for the
Hi list,
I've added a new window to my application and have written a window
controller class. Everything is going fine, except for the fact that
when initialising the window, none of my IBOutlets are responding to
methods called on them. This is the case in both the init and
windowDidLoad methods
A bit of self inflicted stupidity here.
I had dragged in some logging code from another app which sneakily
redirected stderr.
OCUnit test failures are now reported in the build transcript window.
On 22 Jan 2009, at 16:46, Timothy Reaves wrote:
On Jan 22, 2009, at 8:27 AM, jonat...@mugginsof
On Wed, Jan 21, 2009 at 6:33 PM, Paul Franz wrote:
> Can a custom NSControl/NSCell combo be used in a normal NSView?
Yes. This type of question implies you may want to dig a little more
deeply in the view documentation.
http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/CocoaViewsGuide/i
My thanks to Kyle for shaming me into RTFM! Upon changing my code to
setDocumentView I get the same result on Tiger and Leopard, i.e when
switching to a table view in the scroll view the thumb behaves properly.
Thanks!
David Blanton
___
Coco
On Jan 21, 2009, at 9:07 PM, Erik Buck wrote:
One possibility that answers the following question which is similar
to yours:
Sigh. I actually did search for "NSScroller not scrolling", and got a
bunch of results that had nothing to do with my problem, and it turns
out that there was one
The view in question has a 4-stop gradient, with each stop positioned
at a particular point, rather than spaced evenly. The view also draws
a grey line at the top, so you'll want to reduce the height of the
gradient rect by a pixel to leave space for it so you can draw it at
some other poin
On Jan 21, 2009, at 4:56 PM, Barry Wark wrote:
On Wed, Jan 21, 2009 at 1:15 PM, Kyle Sluder
wrote:
On Wed, Jan 21, 2009 at 2:58 PM, Robert Kukuchka
wrote:
I'm looking into logging frameworks and see references to this
project. Does anyone know if this project is still running? I was
Hello,
I am implementing mouse support in Core Animation. For this I have a
CAButton : CALayer and adds button-related behavior : highlighting on
mouseDown, stopping highlighting on mouseExit, etc. and actions.
The actions are associated using:
-[CAButton setAction:(SEL) withTarget:(SEL)]
On Jan 22, 2009, at 8:27 AM, jonat...@mugginsoft.com wrote:
On 22 Jan 2009, at 14:14, Jeremy Pereira wrote:
On 22 Jan 2009, at 13:27, jonat...@mugginsoft.com wrote:
I do not seem to be seeing the formatted about of my OCUnit STxxx
macros.
My OCUnit test failures produce only the follow
On Jan 21, 2009, at 1:38 PM, Fritz Anderson wrote:
On 21 Jan 2009, at 9:42 AM, Ross Carter wrote:
Can someone give me a hint how can I switch one window per
document model (that currently works as expected thanks to
NSDocument) to one tab per document, same window?
This is answered in th
On Jan 22, 2009, at 3:31 AM, Aaron Wallis wrote:
As an example, i've got a controller which has a NSProgressIndicator
bound to it through IB, and on the awakeFromNib method I've got a
little bit of code:
double tD = 0.5;
[progressBar setDoubleValue:tD];
Hey,
I have built a Javascript WYSIWYG editor here :
http://www.alexmillsdesign.com/Developer/FernEngine/Default.htm
I want to send the contents of a NSTextView to the iFrame in the editor.
I have tried using some of the methods in the CallJS sample app but while I'm
able to open and close the
On 22 Jan 2009, at 14:14, Jeremy Pereira wrote:
On 22 Jan 2009, at 13:27, jonat...@mugginsoft.com wrote:
I do not seem to be seeing the formatted about of my OCUnit STxxx
macros.
My OCUnit test failures produce only the following output:
Error:Failed test for achitecture 'i386' (GC ON)
Many thanks for your reply. I'll file an enhancement request, but still looking
for a solution to the problem, is there any way to be notified of when the Help
menu is about to start doing this indexing? If there were, I could tell my
dynamic menus not to rebuild themselves in that situation. I
On 22 Jan 2009, at 12:57, Sam Krishna wrote:
I think my understanding of NSGradient's use may be off here
I'm trying to create a custom NSView that uses NSGradient to shade
the view in such a way that it mimics Apple's two-tints NSView. You
can see the color scheme at the bottom left h
Two points:
1. "Reverse-engineer" may be a little strong. "Mimicking" is what I'm
going after.
2. I meant to say "right" (nee correct) angle, not right angle. Please
don't respond with a pithy "all 90 degree angles are the right angle"
Live Playfully,
Sam
-
If he listens in faith,
fi
I think my understanding of NSGradient's use may be off here
I'm trying to create a custom NSView that uses NSGradient to shade the
view in such a way that it mimics Apple's two-tints NSView. You can
see the color scheme at the bottom left hand corner of Mail and the
NSView at the botto
Hi,
I use the method from the QCTV example to play a quartz composition
with the difference that i use a qcview and then the opengl context of
it to render the qc instead of creating the opengl context myself.
This works like a charm with my iSight on a power mac G5, but when i
try it on
On Jan 21, 2009, at 11:21 PM, Michael Ash wrote:
I'm sure we're all dying to know, are there actually two people with
that exact same name and e-mail address, or what?
Well ... sort of.
http://en.wikipedia.org/wiki/Two-Face
--
I.S.
___
Coc
Is there any alternative for it. because when i use the QTCaptureView
my application performance really degrades . Is CAOpenGLLayer will be
a good idea ?
On 22-Jan-09, at 1:51 PM, Freddie Tilley wrote:
On 22 jan 2009, at 07:26, Anshul jain wrote:
I am trying to capture live video. For dis
If I remember correctly, %d requires an integer
On Jan 22, 2009, at 11:31 AM, Aaron Wallis wrote:
double tD = 0.5;
[progressBar setDoubleValue:tD];
NSLog(@"%d", [progressBar doubleValue]);
___
Cocoa-de
Hi there,
This is probably a really obvious bug, but I can't seem to get my
NSProgressIndicator to show progress when using incrementBy: or
setDoubleValue:.
As an example, i've got a controller which has a NSProgressIndicator
bound to it through IB, and on the awakeFromNib method I've got
[CC m...@porting.openoffice.org , as answer to the initial question]
Hi,
Gary L. Wade a écrit :
Not in the sense you get from the Windows platform whereby setting a flag on
the parent window causes everything to automatically jump to the opposite
side of the window and lay itself out right-to-l
Great, thanks
On Wed, Jan 21, 2009 at 8:43 PM, Rob Boellaard wrote:
>
> In addition to Kenneth Bruno's suggestion, there is also the Data
> Formatting guide:
>
>
> http://developer.apple.com/documentation/Cocoa/Conceptual/DataFormatting/DataFormatting.html
>
> hth,
>
> Rob
>
>
>
>
> On Jan 2
On 22 jan 2009, at 07:26, Anshul jain wrote:
I am trying to capture live video. For displaying live video i am
using QTCaptureLayer. It works fine with a USB Camera but as soon
as Firewire camera is use flickering starts happening. When i use
the QTCaptureView it works fine. Any suggestio
I created a document-based core data application and want it to be
able to add external files from a support folder. I can successfully
set the permanent URIs for the transient relationships working in
memory, but for some reason saving to file never works properly. If I
tell each object
76 matches
Mail list logo