I have created a command line tool that executes correctly in the debugger. How
do I get the built binary to execute independently without starting the
Terminal app.
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev
Is there a way to make the system menu bar transparent from within a cocoa app?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
Is there a system command or any other way to get application memory stats like
vm_stat does for the whole system?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
Thanks. If integral max resident set size means the amount of memory being
used then that's exactly what I want.
On Aug 16, 2012, at 11:30 AM, Stephen J. Butler wrote:
getrusage?
On Thu, Aug 16, 2012 at 9:39 AM, Charlie Dickman 3tothe...@comcast.net
wrote:
Is there a system command
When my app is running menu bar requests are honored in a timely fashion but
neither keyboard shortcuts nor mouse clicks not in the menu bar are.
Can anybody tell me why and what to do about it?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev
: jDieDrawRect
fromRect: imageRect2
operation: NSCompositeSourceOver
fraction: 1.0];
What can I do to eliminate these errors? I know the simple answer is to make
the context valid but I don't know how to do that.
Charlie Dickman
unlockFocus];
[[self window] flushWindow];
}
without the lockFocus the images never show.
On Aug 15, 2012, at 10:35 PM, Stephen J. Butler wrote:
On Wed, Aug 15, 2012 at 10:20 AM, Charlie Dickman 3tothe...@comcast.net
wrote:
[[NSColor whiteColor] set];
[die1 drawInRect
, Charlie Dickman 3tothe...@comcast.net
wrote:
Here's the whole method... it is being called from within a view's drawRect
method...
Are you calling drawRect directly from your code? If so, don't do
that. You should be sending one of the setNeedsDisplay messages, and
letting AppKit call
.
What I want to do is determine the ratio of inactive to free in order to
determine when to execute the purge command to free up the inactive memory
before the system gets into trouble.
On Aug 13, 2012, at 1:56 PM, David Duncan wrote:
On Aug 12, 2012, at 7:10 PM, Charlie Dickman 3tothe
vmDataLength = 0;
do {
vmData = [vmRead availableData];
vmDataLength = [vmData length];
} while (vmDataLength != 0);
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
PM, Jens Alfke wrote:
On Aug 13, 2012, at 2:17 PM, Charlie Dickman 3tothe...@comcast.net wrote:
int vmDataLength = 0;
do {
vmData = [vmRead availableData];
vmDataLength = [vmData length];
} while (vmDataLength != 0);
Don't you mean == 0
So why doesn't it work???
On Aug 13, 2012, at 7:08 PM, Ken Thomases wrote:
On Aug 13, 2012, at 5:09 PM, Jens Alfke wrote:
On Aug 13, 2012, at 2:17 PM, Charlie Dickman 3tothe...@comcast.net wrote:
int vmDataLength = 0;
do {
vmData = [vmRead availableData
of it should still work.
https://github.com/aglee/MoreArty
--Andy
On Aug 13, 2012, at 6:42 PM, Kyle Sluder k...@ksluder.com wrote:
On Mon, Aug 13, 2012, at 02:17 PM, Charlie Dickman wrote:
I'm trying to get the output from a vm_stat command using the following
code. My app hangs in the [vmRead
How do I get system memory usage numbers within my app?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
be a better
way to find out how it's done.
On Aug 12, 2012, at 7:17 PM, Jens Alfke wrote:
On Aug 12, 2012, at 3:21 PM, Charlie Dickman 3tothe...@comcast.net wrote:
How do I get system memory usage numbers within my app?
What kind of memory usage numbers? There are a lot of different ones — take
a saved combined system
package.
There is a real problem in the speech synthesizer.
On Aug 9, 2012, at 9:54 PM, Charlie Dickman wrote:
I have solved my problem as follows; if there is any memory leak inside the
speech synthesizer it is isolated to the spawned task and is short lived
into using an NSPipe but it doesn't seem to add anything.
I think what I want to do is execute the command
ls -f file | say
but I can't figure out how to do that. Can someone help me?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa
:
On Aug 9, 2012, at 10:00 AM, Charlie Dickman 3tothe...@comcast.net wrote:
NSTask *ls = [[NSTask alloc] init];
NSFileHandle *stdIn = [NSFileHandle
fileHandleForReadingAtPath: txtFilePath];
[ls setStandardInput
, at 6:05 PM, Charlie Dickman wrote:
I tried the Speech Synthesizer Manager too. It suffers from the same
deficiency that NSSpeechSynthesizer does. I suspect that NSSpeechSynthesizer
uses the Speech Synthesis Manager internally.
On Aug 9, 2012, at 2:51 PM, Ken Thomases wrote:
On Aug 9, 2012
Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/3tothe4th%40comcast.net
This email sent to 3tothe...@comcast.net
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
to 3tothe...@comcast.net
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help
/3tothe4th%40comcast.net
This email sent to 3tothe...@comcast.net
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/3tothe4th%40comcast.net
This email sent to 3tothe...@comcast.net
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
...@comcast.net
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe
Never mind. It originates in Xcode 4 and I don't use Xcode 4.
On Jul 17, 2012, at 11:52 AM, Charlie Dickman wrote:
What is ARC and where can I read learn about it?
On Jul 17, 2012, at 11:42 AM, Sean McBride wrote:
On Tue, 17 Jul 2012 12:30:39 +0200, Martin Hewitson said:
This started
be easier to do it with accessibility
API, so you can write a normal Cocoa App and a write another app to mimic
user interaction to this cocoa app.
-Jonny
在 2012-7-6,上午3:57,Charlie Dickman 3tothe...@comcast.net 写道:
I have a demonstration app that is basically operating on a 0.15 second
with the versatility of timers.
I'll have to re-architect the app.
Thanks again.
On Jul 6, 2012, at 7:24 AM, Uli Kusterer wrote:
On 05.07.2012, at 21:57, Charlie Dickman wrote:
I have a demonstration app that is basically operating on a 0.15 second
timer loop. The problem I am having is that even
for the user. I think it is
worth a try in your case before you rethink your application.
[[[Brainchild alloc] initWithName:@Richard Altenburg] saysBestRegards];
Op 6 jul. 2012, om 15:38 heeft Charlie Dickman het volgende geschreven:
I'll have to re-architect the app.
Charlie Dickman
3tothe
but is typically called with a value of 0.15)
but none of this improves response. Is there anything else to try?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
Correct, by your say so, or not if the timers don't drive the program it just
sits there and does nothing. Human intervention is required to configure it or
cause it to quit.
On Jul 5, 2012, at 8:24 PM, Graham Cox wrote:
On 06/07/2012, at 5:57 AM, Charlie Dickman wrote:
I have
:
https://lists.apple.com/mailman/options/cocoa-dev/3tothe4th%40comcast.net
This email sent to 3tothe...@comcast.net
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/3tothe4th%40comcast.net
This email sent to 3tothe...@comcast.net
Charlie Dickman
3tothe...@comcast.net
://lists.apple.com/mailman/options/cocoa-dev/3tothe4th%40comcast.net
This email sent to 3tothe...@comcast.net
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/3tothe4th%40comcast.net
This email sent to 3tothe...@comcast.net
Charlie Dickman
3tothe...@comcast.net
Can someone direct me to some documentation on how to do data encryption in
Cocoa/Objective C/C?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
/Security/Conceptual/Security_Overview/CryptographicServices/CryptographicServices.html#//apple_ref/doc/uid/TP3976-CH3-SW1
Mikkel
On 6 Jun 2012, at 18:51, Charlie Dickman wrote:
Can someone direct me to some documentation on how to do data encryption in
Cocoa/Objective C/C?
Charlie
the encryption/decryption
methods. I have tried packages that are available on the internet (AquaPrime,
SSCrypto) but they are difficult to manage and require a lot of busy work to
keep up to date.
On Jun 6, 2012, at 1:12 PM, Jens Alfke wrote:
On Jun 6, 2012, at 9:51 AM, Charlie Dickman wrote:
Can
the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/3tothe4th%40comcast.net
This email sent to 3tothe...@comcast.net
Charlie Dickman
3tothe...@comcast.net
Is (Are) there functions that report application memory usage, as a whole, on
the stack, in the autorelease pool, in the heap?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
) yet the app continues to die for lack of memory.
Does anyone know of a next step I can take to help track down this problem?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
wrote:
On 15/05/2012, at 11:38 AM, Charlie Dickman wrote:
Note that the retainCount has changed in the first case but not in the
second.
Does anyone have any ideas as to what is happening?
No, but relying on, peeking at or otherwise taking any notice of retain
counts is a sure path
working again. However, as you can see, theAttributedString itself
is not mutable.
Thanks millions!
On May 16, 2012, at 1:13 PM, Jens Alfke wrote:
On May 16, 2012, at 9:44 AM, Charlie Dickman wrote:
The actual problem is that I am telling an NSTextfield to set it's contents
(the method
An excellent observation! That was probably causing all kinds of problems yet
to be seen!
Thanks so much!
On May 16, 2012, at 1:51 PM, Stephen J. Butler wrote:
On Wed, May 16, 2012 at 12:39 PM, Charlie Dickman 3tothe...@comcast.net
wrote:
possible[strlen(possible)] = '\0
seems more likely.
--Graham
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
has changed in the first case but not in the second.
Does anyone have any ideas as to what is happening?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
could possibly make the stringValue disappear like this?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa
requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/3tothe4th%40comcast.net
This email sent to 3tothe...@comcast.net
Charlie Dickman
3tothe
not satisfying: aString != nil
@ is the nil string and the compiler is smart enough to make the
substitution.
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/3tothe4th%40comcast.net
This email sent to 3tothe...@comcast.net
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/3tothe4th%40comcast.net
This email sent to 3tothe...@comcast.net
Charlie Dickman
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/cocoa-dev/3tothe4th%40comcast.net
This email sent to 3tothe...@comcast.net
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev
/options/cocoa-dev/3tothe4th%40comcast.net
This email sent to 3tothe...@comcast.net
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
I have many textfields in an app and I receive the various delegate method
messages as editing proceeds. I'd like to tab to the next text field when an
acceptable value has been entered. Is there a way to do this from within one of
the delegate methods?
Charlie Dickman
3tothe...@comcast.net
Begin forwarded message:
From: Charlie Dickman 3tothe...@comcast.net
Date: April 5, 2012 9:28:41 AM EDT
To: Graham Cox graham@bigpond.com
Subject: Re: Fielding a mouseDown in a textField
Sorry.
I am writing a Sudoku program and for a standard sudoku puzzle text fields do
the job
Good people,
How do I go about fielding a mouseDown event in an NSTextField?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
to separate the trackpad messages from the mouse messages? Do
mouse events have an attribute that distinguishes the trackpad from the mouse?
What am I missing or can the trackpad only emulate the mouse?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa
Thanks Seth. I'll look into AppleScript. Can't you write to the .DS_Store file
with root privilege?
On Dec 7, 2010, at 1:10 AM, Seth Willits wrote:
On Dec 6, 2010, at 3:11 PM, Charlie Dickman wrote:
In the days of System 9 there was a thing known as the desktop database and
a number
it and how to save it with no luck.
I was wondering if anyone on this list could help me in my quest.
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/3tothe4th%40comcast.net
This email sent to 3tothe...@comcast.net
Charlie Dickman
3tothe...@comcast.net
such as Mac Pros, iMacs,
iPhones, etc.
On Jul 26, 2010, at 12:12 PM, Kyle Sluder wrote:
On Jul 26, 2010, at 8:32 AM, Charlie Dickman 3tothe...@comcast.net wrote:
Try using an NSTimer with a repeating timeout interval of, say, .001 (or
anything smaller than your required accuracy), and countdown
This email sent to 3tothe...@comcast.net
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
one accomplish the same thing?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/3tothe4th%40comcast.net
This email sent to 3tothe...@comcast.net
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
.
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update
This email sent to 3tothe...@comcast.net
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/3tothe4th%40comcast.net
This email sent to 3tothe...@comcast.net
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa
of interface. Examples of this are very
common in AppKit and UIKit, such as NS/UITableView or UIImagePickerController.
--
David Duncan @ My iPhone
On Dec 23, 2009, at 2:19 PM, Charlie Dickman 3tothe...@comcast.net wrote:
In an iPod Touch/iPhone app where the view is in 1 xib and it's
Except the view and the controller are in separate xib's so they can't be
connected in this way.
On Dec 23, 2009, at 4:08 PM, Seth Willits wrote:
On Dec 23, 2009, at 11:19 AM, Charlie Dickman wrote:
In an iPod Touch/iPhone app where the view is in 1 xib and it's controller
This email sent to 3tothe...@comcast.net
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
been declared
id controller;
.
.
.
@property (nonatomic, assign) id controller;
in myView.h with
synthesize controller in myView.m?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
the necessary nib but simply loading an xib in the iPhone OS doesn't
resolve the IBOutlet.
Can someone instruct me or direct me to sample code that shows how this is
accomplished?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa
the controller and the view
are in _different_ xib's?
On Dec 17, 2009, at 1:02 PM, Quincey Morris wrote:
On Dec 16, 2009, at 13:20, Charlie Dickman wrote:
When the didReceiveMemoryWarning notification is sent to the controller I
want to invoke a method in the main view. This means linking
I have discovered the answer. The controller knows about the view without me
doing any linkage.
It is referenced using [self view] in the controller.
On Dec 17, 2009, at 4:07 PM, Shawn Erickson wrote:
On Thu, Dec 17, 2009 at 12:46 PM, Charlie Dickman 3tothe...@comcast.net
wrote
and it makes
no sound either but works fine in the simulator.
Can anyone help me with this?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update
Is there a way to do voice synthesis on the iPhone/iTouch like there is in OS X
Cocoa using a [NS}voiceSynthesizer?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
/NSStringDrawing.h the compiler reports that no such file can be found.
Looking in the Appkit/headers folder it definitely is there. What do I have to
do to get the compiler to recognize it?
Charlie Dickman
3tothe...@comcast.net___
Cocoa-dev mailing list (Cocoa-dev
how to accomplish the same thing
in the iPhone SDK. Can anybody help me?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
()) {...
It compiles fine but the load fails with...
__NSConcreteGlobalBlock, referenced from:
___block_holder_tmp_1.1207 in Controller.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
Can anyone explain this and help me with what I'm not doing or not
doing right?
Charlie
Breakpoint bubbles have started showing in the midst of my debugging
window for each breakpoint I have set.
What have I done to cause this and how do I stop it from happening?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev mailing list
this synchronization? And how can I force a view to update?
Invoking [view display] has no effect on forcing the display toshow
the latest update.
Thanks for any help you can provide.
Charlie Dickman
[EMAIL PROTECTED]
___
Cocoa-dev mailing list
On Aug 20, 2008, at 11:08 AM, Joseph Kelly wrote:
On Aug 20, 2008, at 7:25 AM, Charlie Dickman wrote:
I have an app that contains multiple NSView's which are all visible
at the same time. They are all sub-classes of NSView but not of any
of the others. Each has its initialize
This email sent to [EMAIL PROTECTED]
Charlie Dickman
[EMAIL PROTECTED]
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Thanks to all who responded. I must have had a mental block against
this.
Now, how do I define things like 'self' and 'super' to a C program?
On Aug 19, 2008, at 7:38 PM, David Duncan wrote:
On Aug 19, 2008, at 4:28 PM, Charlie Dickman wrote:
from within a C (not Objective C) function
I have tried everything I can think of and have tried the
documentation I can find and I still can not figure out what is going
on or what to do about it.
I have an app that contains multiple NSView's which are all visible at
the same time. They are all sub-classes of NSView but not of any
Can anybody direct me to documentation and or example code that
explains/shows how to implement a voice for use in OS X?
Charlie Dickman
[EMAIL PROTECTED]
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
86 matches
Mail list logo