Ken ..
Thanks for your prompt reply, I really appreciate it.
I have revamped my code to have just one NSInvocationOperation whose
selector contains the long for-loop. A snippet looks like:
itsOps = [[NSInvocationOperation alloc] initWithTarget:self
On Oct 17, 2009, at 7:46 PM, Ben Haller wrote:
Copied the TrueType font from Instruments into my project, added
the necessary key to my Info.plist, set the font using [NSFont
fontWithName:...], and hey presto, there the font is in my app.
Only... it doesn't look as nice. It's less cris
On 19/10/2009, at 12:40 AM, Ben Haller wrote:
The font may be a leftover from a previous implementation, perhaps.
However, a troll through the images in Instruments does not reveal
any digit images. Although it is an interesting exercise anyway;
many of their button images and such are P
On Oct 17, 2009, at 7:40 PM, Ian Piper wrote:
I have a Core Data entity that has an attribute called charge
(stored as a float). So I am storing a number of records each of
which has a charge. I simply want to be able to show a running total
of charges as I add or remove items. I was hoping
Is there a certain class or framework that people are using to store
Keychain Information? Apps like Coda, and Transmit, and Versions that
store passwords, how do they add them to Apples Keychain access, for
use with apps like SSH/SFTP and so on.
___
On Oct 18, 2009, at 11:26 AM, Brent Smith wrote:
Is there a certain class or framework that people are using to store
Keychain Information?
Yes.
Apps like Coda, and Transmit, and Versions that store passwords, how
do they add them to Apples Keychain access, for use with apps like
SSH/
On 18 Oct 2009, at 15:45, I. Savant wrote:
On Oct 17, 2009, at 7:40 PM, Ian Piper wrote:
I have a Core Data entity that has an attribute called charge
(stored as a float). So I am storing a number of records each of
which has a charge. I simply want to be able to show a running
total of
On Fri, 16 Oct 2009 18:45:54 -0700, Rick Mann said:
>It often starts with one, then spreads to others. There is speculation
>online that that 65,535th event results in a long hang/timeout. I want
>to get an idea of how many events are really being sent during normal
>use (that is, not during heavi
I repeat. I'm not interested in any specific app. I'm just seeing my
machine lock up periodically. By being able to see how many events are
flying around *the whole system*, I can attempt to correlate that with
the lockups I'm seeing, and get a better handle on whether or not this
is the pr
On Sat, 17 Oct 2009 16:14:29 -0700, Robert said:
>Now, after a lot of googling, I'm working on a solution that involves
>having a new transient attribute in my model of type string (let's
>call it storyText) that will mirror the text held in the binary data
>story attribute. Instead of my search
On or about 10/18/09 11:10 AM, thus spake "Rick Mann"
:
> I repeat. I'm not interested in any specific app. I'm just seeing my
> machine lock up periodically.
Then what's this doing on the Cocoa-Dev list? m.
--
matt neuburg, phd = m...@tidbits.com, http://www.tidbits.com/matt/
pantes anthropoi
I found the setting in Interface Builder. This works in that the
keyboard initially appears in numeric mode. However, when someone
presses the return key, the keyboard switches to letter mode. How can
someone prevent this behavior?
Yandy Ramirez wrote:
numbers and punctuation in IB textfie
Ben Haller wrote:
I'm using an NSTextField to do the text drawing. It certainly
renders text antialiased. In any case, the renderings do look
antialiased; the edges are not sharply on pixel boundaries (see the
top of the 5, for example). It just isn't the same appearance as in
Instruments
well I'm assuming if the user hits return, then you want the keyboard
to disappear, not stay on screen. Look up in the documentation
UITextFieldDelegate protocol, and a method textFieldShouldReturn, this
will hide the keyboard. Assuming that you want the keyboard to
disappear from screen. Thi
On Oct 18, 2009, at 3:01 PM, Brent Smith wrote:
Is there a certain class or framework that people are using to store
Keychain Information?
A relevant subject line is always a good idea; your query was actually
about Keychain, not ssh.
On Oct 18, 2009, at 3:01 PM, I. Savant wrote:
Apps li
how do I delete a key in a plist file, in a postinstall script?
I have tried:
Code:
#!/bin/sh
defaults delete $HOME/Library/Preferences/com.apple.Safari myKeyToDelete
the script deletes the entire plist file though, not the key?
I tried this:
Code:
#!/bin/sh
/usr/bin/defaults delete myKeyToDe
On Oct 18, 2009, at 1:33 PM, Russell Gray
wrote:
how do I delete a key in a plist file, in a postinstall script?
This has nothing to do with Cocoa. Take it to the installer-dev list.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.appl
On Oct 18, 2009, at 7:26 AM, John Love wrote:
Thanks for your prompt reply, I really appreciate it.
You're welcome.
I have revamped my code to have just one NSInvocationOperation whose
selector contains the long for-loop. [...] the long for-loop is
within -doAllOperations.
OK, as far i
I'm having a problem with some disk burning code that has me baffled.
It works fine on my main development machine, I take it to a second
machine (even if I build and run it from within XCode on a second
machine) and it mysteriously fails.
I create a burn folder and make it virtual
DRFolder *r
While I am on the subject of DVD burning, are there any
methods of creating a video DVD playable in DVD players
programmatically, other than directly calling another program such as
dvdauthor?
Regards
David
___
Cocoa-dev mail
Take a look at the source for DVDAuthor.
paulm
On 19/10/2009, at 11:58 AM, David Cake wrote:
While I am on the subject of DVD burning, are there any methods of
creating a video DVD playable in DVD players programmatically, other
than directly calling another program such as dvdauthor?
can you unsleep the display programatically? i haven't found a
method yet for doing it?
Jon.
___
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 coco
The Environment:
(1) iPhone SDK 3.2.1
The Setup:
(1) UITableViewCell is defined within its own XIB...
Interface Builder (XIB):
File's Owner: View Controller.
(2) UISegmentController's Action Method is defined within the
View Controller; along side
with: UITa
On 18-Oct-2009, at 5:11 PM, jon wrote:
can you unsleep the display programatically? i haven't found a
method yet for doing it?
Hrm... In what situation would you want to do such a thing?
And what if the user has set security to require a password after
being in sleep?
M.
_
no, not the machine sleep, just the display sleep...the
situation would be a process that runs longer than the current display
sleep time, which then pops up an alert, which no one can see,
since the display is asleep...
Jon.
On Oct 18, 2009, at 7:12 PM, Mark Ritchie wrote:
Hrm.
On 2009-10-18, at 9:15 PM, jon wrote:
no, not the machine sleep, just the display sleep...the
situation would be a process that runs longer than the current
display sleep time, which then pops up an alert, which no one can
see, since the display is asleep...
Jon.
On Oct 18, 200
Hi David, that would not work, because the display does need to
sleep, it would be working a long time, and at nightbut
needs to let people know that it is done. i have an alarm go off,
but people can know it has gone off much better from a distance if
suddenly the room is
On 2009-10-18, at 9:30 PM, jon wrote:
Hi David, that would not work, because the display does need to
sleep, it would be working a long time, and at nightbut
needs to let people know that it is done. i have an alarm go off,
but people can know it has gone off much better f
worth a try anyway, I'll try tomorrow.
thanks,
Jon.
On Oct 18, 2009, at 7:36 PM, David LeBer wrote:
UpdateSystemActivity(UsrActivity);
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
On Oct 18, 2009, at 12:50 PM, Stuart Malin wrote:
Multiple keywords is good stuff: the first link served by a Google
search of "keychain framework" scores a bullseye:
Keychain Framework | Get Keychain Framework at SourceForge.net
There's also MYCrypto (disclaimer: written by me) which is le
thanks for the help all.
Theres no need to be passive aggressive, Im already done writing my
own class towards it, I had done research in the past and came up with
no information, interestingly enough this time it did. I even
searched the documentation.
Anyways, I figured out what I need
At 12:17 PM +1300 19/10/09, Paul M wrote:
Take a look at the source for DVDAuthor.
If there aren't any better alternatives, I may end up just
doing what Burn does, and calling dvdauthor via NSTask.
On 19/10/2009, at 11:58 AM, David Cake wrote:
While I am on the subject of DVD burning, ar
there a different roots to success
Thanks for the input.
a) roll your own Tabs instead of Segmented cell in combination with
a tabless NSTabView
Do you mean use a segmented control with a tabless NSTabView, where
each segmented cell is linked to a tab view?
I have set that up, but c
I need a function in OSX that is equivalent to WaitMessage() from the
Win32API...
Thanks
Dave
___
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-
I have a Class Math which extends NSManagedObject and has some dynamic
propertiesa. name (String) b. date (Date)
I using xcdatamodel for modeling my tables. I am using String and Date
respectively from xcdatamodel.
I am creating a new match object using insertNewObjectForEntityForName.
The objec
Since it wasn't explained
"The WaitMessage function yields control to other threads when a
thread has no other messages in its message queue. The WaitMessage
function suspends the thread and does not return until a new message
is placed in the thread's message queue."
The closest thin
On 18/10/2009, at 6:48 PM, Mars999 wrote:
I need a function in OSX that is equivalent to WaitMessage() from
the Win32API...
No you don't.
What are you actually trying to do?
--Graham
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Plea
On 10/18/09 2:48 AM, Mars999 said:
>I need a function in OSX that is equivalent to WaitMessage() from the
>Win32API...
You posted exactly this on carbon-dev 19 hours ago! You need to be more
patient. And you need to explain more than you have, as I already told you.
--
On 19/10/2009, at 9:58 AM, David Cake wrote:
DRFolder *rootFolder = [DRFolder folderWithPath:[self burnDirPath]]
^^^ rootFolder
[rootFolder makeVirtual];
and then I try to add some other files to the contents of this
directory
NSURL *source = @"/Volumes/AValidVolumeName"
NSFileManager
> I need a function in OSX that is equivalent to WaitMessage() from the
> Win32API...
You cannot port software from Windows to Mac OS X by simply transliterating
function calls.
--
Scott Ribe
scott_r...@killerbytes.com
http://www.killerbytes.com/
(303) 722-0567 voice
__
void CEngine::Start()
{
m_lLastTick = SDL_GetTicks();
m_bQuit = false;
// Main loop: loop forever.
while ( !m_bQuit )
{
// Handle mouse and keyboard input
HandleInput();
if ( m_bMinimized ) {
// Release some system resources if the app. is minimized
Total newbie question here...
I have a window with a custom view filling the entire window. I'm
trying to programatically determine the size of my view, but the
numbers I'm getting back don't make sense to me. As a test, I've set
my window and view to both be 1024 x 768. But in my view, if I outpu
On Sun, Oct 18, 2009 at 10:31 PM, patrick wrote:
> Total newbie question here...
You're going to need to post your code. Sounds like you're
incorrectly printing the width and height of your view (a %d instead
of a %f in your NSLog statement might cause this behavior).
--Kyle Sluder
On Oct 18, 2009, at 9:43 PM, Mars999 wrote:
void CEngine::Start()
{
m_lLastTick = SDL_GetTicks();
m_bQuit = false;
// Main loop: loop forever.
while ( !m_bQuit )
{
// Handle mouse and keyboard input
HandleInput();
if ( m_bMinimized ) {
// Release some syste
Thank you! That was exactly the problem. :)
Patrick
On Sun, Oct 18, 2009 at 10:44 PM, patrick wrote:
> Thank you! That was exactly the problem. :)
>
> Patrick
>
> On Sun, Oct 18, 2009 at 10:39 PM, Kyle Sluder wrote:
>> On Sun, Oct 18, 2009 at 10:31 PM, patrick wrote:
>>> Total newbie question
Am 18.10.2009 um 04:35 schrieb Ken Thomases:
For controlling code completion, search for
"XCCodeSenseFormattingOptions" on this page: http://developer.apple.com/mac/library/documentation/DeveloperTools/Reference/XcodeUserDefaultRef/100-Xcode_User_Defaults/UserDefaultRef.html
Thank you Ken, t
> Any suggestion how to jump from one method parameter prototype to the next
> to replace them one after the other? Eclipse does that with tab.
If I understand you correctly, control-/
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do no
Frederick,
just an idea - from UIView’s documentation:
tag
The receiver’s tag, an integer that you can use to identify view
objects in your application.
@property(nonatomic) NSInteger tag
Set the tag of each segmented view to the row before you hand it out
to the table view.
atze
Am 18.10.2009 um 20:50 schrieb Harish Yarlagadda:
I have a Class Math which extends NSManagedObject and has some
dynamic propertiesa. name (String) b. date (Date)
I using xcdatamodel for modeling my tables. I am using String and
Date respectively from xcdatamodel.
I am creating a new match o
You're looking for CFRunLoop (or NSRunLoop if you want to use
Objective-C), which is the way event loops and event handling work on
Mac OS X.
But there isn't a function like WaitMessage, because the loop is
inside-out — instead of writing your own event loop, the system runs
it, and calls
Am 19.10.2009 um 08:05 schrieb Dave Keck:
Any suggestion how to jump from one method parameter prototype to
the next
to replace them one after the other? Eclipse does that with tab.
If I understand you correctly, control-/
Yep, that’s it!
I didn’t see it in the prefs. Got it now.
Thank y
51 matches
Mail list logo