On 01/02/2012, at 7:59 AM, Marshall Houskeeper wrote:
I would like to create a transparent window that spans all the screens and
that handles mouse down events. Below is the code that I use to create my
transparent window. The transparent window gets created and display
successfully.
On 18/10/2011, at 4:25 PM, Sandeep Mohan Bhandarkar wrote:
Hi All,
I have created a NSCollectionView currently i am able to add prototypeItems
to this view. For removing items i have a - button which i have placed
in the prototypeItemView itself. I have also written an IBAction for its
On 31/08/2011, at 3:30 PM, Guy Halford-Thompson wrote:
This is somewhat of a basic question, but I am having a lot of trouble
getting it to work.
When my app loads, I check for certain parameters, and then display an
NSWindow.
I have created the window in IB and also created a custom
On 01/09/2011, at 7:05 AM, Geert-Jan Korsbø Nilsen wrote:
Im working on a tiny app just to learn cocoa, and Im having a hard time with
setting FirstResponder to some NSTextFields.
When the view opens, I want the first NSTextField, clientNumber, to be
selected, so I trigger [clientNumber
];
Now nothing works...
On Aug 31, 2011, at 11:22 PM, Ron Fleckner wrote:
On 01/09/2011, at 7:05 AM, Geert-Jan Korsbø Nilsen wrote:
Im working on a tiny app just to learn cocoa, and Im having a hard time
with setting FirstResponder to some NSTextFields.
When the view opens, I want
Hello all,
not even sure where to start looking for this, but is there a way to have a
reference to a file so that one can open it even after it has moved? That is,
without having to save the path as the key to the file.
I'd like to be able to allow the user to move files if s/he wants and
/AccessingFilesandDirectories.html#//apple_ref/doc/uid/TP40010672-CH3-SW5
On Aug 25, 2011, at 11:37 PM, Ron Fleckner wrote:
Hello all,
not even sure where to start looking for this, but is there a way to have a
reference to a file so that one can open it even after it has moved? That
is, without
and bookmarks:
http://developer.apple.com/library/mac/#documentation/FileManagement/Conceptual/FileSystemProgrammingGUide/AccessingFilesandDirectories/AccessingFilesandDirectories.html#//apple_ref/doc/uid/TP40010672-CH3-SW5
On Aug 25, 2011, at 11:37 PM, Ron Fleckner wrote:
Hello all
On 26/08/2011, at 2:18 PM, Joar Wingfors wrote:
On 25 aug 2011, at 21:15, Ron Fleckner wrote:
Oh I see now that file reference URLs and bookmarks are 10.6 only. I'm
making a tool for musicians, most of whom aren't too well off and so I
target 10.5. Might just have to stick with paths
On 06/08/2011, at 9:00 PM, julius wrote:
The need for the child window to have a minimum alpha of 0.05 in order for it
to receive mouse events has an acceptably small effect on the movie's colour.
Hey Julian, this should allow you to get rid of that 0.05 of darkness:
setIgnoresMouseEvents:
Tom, if you want to draw in a view from somewhere else, I think you need to
bracket that drawing with calls to [targetView lockFocus] and [targetView
unlockFocus]. Or, you could have a condition of some sort, a BOOL I suppose,
in the targetView which it checks every time it redraws to see if
On 15/02/2011, at 9:03 AM, Eric Wing wrote:
Is there an API in Snow Leopard to suppress/block/prevent the
screensaver from coming up? (I work with a lot of games/multimedia
where I don't want the screen to go to screensaver and the input
devices in use may not reset the idle counter.) For
On 11/12/2010, at 3:54 PM, Ken Thomases wrote:
On Dec 10, 2010, at 9:38 PM, WT wrote:
thank you both for the very fast response.
You're welcome.
Is that behavior of NSScanner documented anywhere? I read the docs but don't
remember coming across it. I'm a bit stunned. What's the point
On 12/11/2010, at 12:45 AM, Eric Gorr wrote:
It seems to me that NSTextView can do everything that NSTextField can and
more. For example, on a NSTextView, one can use the method
setHorizontallyResizable: and then call sizeToFit to get it to resize itself
vertically instead of
On 21/09/2010, at 8:34 AM, Evan Coleman wrote:
In applescript I was able to do this:
*set* TID *to* AppleScript's text item delimiters
*set* AppleScript's text item delimiters *to* space
*set* theString *to* *text** items* *of* theString
*set* AppleScript's text item delimiters *to*
Hi,
I'm developing a stand alone text service for changing/fixing case. For the
simple cases of uppercasing and lowercasing I've simply used NSString's built
in methods. But to correct sentence case, where the original text may have
lowercase letters following full stops (period in
On 20/08/2010, at 2:37 PM, Ken Thomases wrote:
On Aug 19, 2010, at 10:00 PM, Ron Fleckner wrote:
I'm developing a stand alone text service for changing/fixing case. For the
simple cases of uppercasing and lowercasing I've simply used NSString's
built in methods. But to correct sentence
On 22/07/2010, at 9:32 PM, Ariel Feinerman wrote:
Hi developers,
I search in google, but can see nothing. Is there Cocoa fuction for objects
like printf(), without timestamps?
--
best regards
Ariel
Depending on the information you want to see in printf, you can use
On 15/07/2010, at 5:18 PM, Vincenzo Morgante wrote:
The path for resource is not displayed because the object 'imageName' is
nil.Why this object is nil?I added the file report.png to the folder
Resources of my project:
Hello Vincenzo,
just a wild guess from an amateur: Did you just
, Vincenzo Morgante wrote:
Right-click on the Resources folder in Xcode's files pane on left and choose
Add Existing files... from the menu.
Then I selected the option Copy... in order to copy the image from the
source folder.
Vincenzo
--- Gio 15/7/10, Ron Fleckner ronfleck...@ozemail.com.au
On 15/07/2010, at 7:25 PM, Vincenzo Morgante wrote:
The subfolder Resources does not exist...
The Resources folder exists inside your built executable's package. You don't
add files to that after the build using the Finder.
I suspect you have dragged your image into your projects folder in
On 05/07/2010, at 9:32 PM, Motti Shneor wrote:
This works nicely until the menu has submenus. If a user selects an
item that belongs to a submenu --- then
resultIndex = [popUpButtonCell indexOfSelectedItem]; returns -1 (unknown)
result = [popUpButtonCell selectedItem]; returns nil!
On 29/05/2010, at 2:29 PM, Shane wrote:
I'm trying to create a help book for my app using the Apple Help
Programming Guide, which is not easy for me to follow...
Stop right there!
Fortunately, Matt Neuburg has created a very helpful short movie
showing exactly how to do this. As Matt
On 27/04/2010, at 11:49 PM, Michael Dippery wrote:
Don't why it's not working for you. My LSUIElement app similarly
has no menu bar or dock icon, but it's various ancillory windows
(About plain vanilla version, Preferences) respond to key board
short cuts which are set in the main menu
On 27/04/2010, at 11:49 PM, Michael Dippery wrote:
Don't why it's not working for you. My LSUIElement app similarly
has no menu bar or dock icon, but it's various ancillory windows
(About plain vanilla version, Preferences) respond to key board
short cuts which are set in the main menu
On 28/04/2010, at 5:06 AM, Michael Dippery wrote:
Sorry, didn't read your email properly. If you've already created
a menu in your MainMenu nib and it's not working, perhaps you
haven't actually made the connection in the nib. If that's the
case, then you just need to Control-drag from
On 27/04/2010, at 8:21 AM, Michael Dippery wrote:
I'm building a Cocoa application that runs as an item in the status
bar, and I'm using LSUIElement to prevent the app's icon from
appearing in the Dock. This application has an About window and an
item to activate that window, using the
On 21/04/2010, at 5:15 PM, Chris Idou wrote:
What would be the appropriate way to have an NSTableView notice that
you hit the delete key and delete the current row?
Rough guess: override delete, remove the item in your storage class
that the row represents, reload the tableview.
On 15/04/2010, at 2:24 PM, mark wrote:
Would someone please tell me why this text field will not show. It
is driving me spastic.
The window and text field are valid. And there are no errors.
The window shows but the text field does not.
relativeToWindow is valid.
NSRect w=[relativeToWindow
On 22/03/2010, at 10:01 AM, gMail.com wrote:
Hi,
I cannot find a Cocoa API to set the Attribute Modification Date
of a
file. If there is a way, may you please let me know?
In the meantime, on MacOS X 10.5.8, I have been trying to use
setattrlist
with ATTR_CMN_CHGTIME, unsuccessfully.
On 22/03/2010, at 11:28 AM, James W. Walker wrote:
On Mar 21, 2010, at 4:20 PM, Ron Fleckner wrote:
On 22/03/2010, at 10:01 AM, gMail.com wrote:
Hi,
I cannot find a Cocoa API to set the Attribute Modification Date
of a
file. If there is a way, may you please let me know?
Thanks
On 19/03/2010, at 8:59 PM, Nikhil Khandelwal wrote:
Hi,
Is there any way to lock a file in cocoa? I want to lock a file on
desktop programmatically so that I can't move that file to trash
until I unlock the file.
Thanks,
Nikhil
Hi Nikhil,
here's how I do it:
NSFileManager
On 11/03/2010, at 10:57 PM, Poonam Virupaxi Shigihalli wrote:
Hi,
I am using NSBorderless style mask for window and I am unable to
receive the NSKeyDown event for that window.But if I make the window
style as titled then I am able to receive the keyDown events.
I am using below
On 22/02/2010, at 10:43 AM, Alexander Hartner wrote:
I would like to rotate and offset an NSImage and then draw it onto
an NSImageView. So far I figured out to use Quartz and use
CGContextRotateCTM and CGContextTranslateCTM. I got the offset
working just fine using this, but as soon as I
On 25/01/2010, at 8:42 PM, Ken Tabb wrote:
On 25 Jan 2010, at 9:38, Tabb, Ken wrote:
Hi folks,
I have a Core Data app that needs to remember state of selected items
between launches.
The app's UI is a bit like iTunes (containers / playlists down the
side and contents show in a big
On 23/01/2010, at 8:57 AM, David Blanton wrote:
I have two views that need to occupy the same space and have their
visibility toggled via an action.
I first overlaid one on the other setting it hidden, all done in IB.
Then in code set one hidden the other visible at which time it
dawned
On 17/01/2010, at 4:06 PM, Grant Christensen wrote:
Hi, apologies for having a wrong topic, replied instead of created a
new message.
On 16/01/2010, at 11:25 PM, Grant Christensen wrote:
Hi all,
Somewhat new to cocoa (Mac even) development, and I have a UI
layout question that I am
On 13/01/2010, at 7:35 PM, Alexander Bokovikov wrote:
Hi, All,
Does anybody know how could I define default help window width?
I've created a navigation menu, which is too wide for default
window, so horizontal scrollbar appears.
Or should I adjust my help design to the existing help
On 10/01/2010, at 3:46 PM, Jim Correia wrote:
On Jan 9, 2010, at 7:54 PM, Graham Cox wrote:
I'm getting something odd though. If I set NSZombieEnabled during
app delegate -applicationDidFinishLaunching: method from my
preference, a later deliberate over-release still causes a
On 10/01/2010, at 5:17 PM, Dave Keck wrote:
Hmm... I'm interested in this. But how can code be executed before
main()
gets control? Isn't main() the first thing that gets called? Or
would it
be in a helper app which sets your target app's environment
variables?
See the docs for +load
On 07/01/2010, at 4:24 PM, Shane wrote:
I'm trying to implement a help system and don't understand the
structure. Here's how my current XCode project is laid out.
MyApp
|- AquaticPrime.framework
|- build
|- English.lproj
|- images
|- Importer
|- includes
|- MyApp-Info.plist
|-
On 02/12/2009, at 2:14 PM, Bryan Zarnett wrote:
I'm having trouble making sure I have the correct springs and struts
for my view.
At the top of the view I have a Split View that when the user
resizes the window in height or length, the split view should
appropriately resize. At the
I wrote:
[content addSubview:autoPilotMaxView];
whoops, meant to say:
[content addSubview:myBox];
HTH,
Ron
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the
On 09/11/2009, at 3:53 AM, Jay Swartzfeger wrote:
Hi all, I'm an absolute beginner to Objective-C (and programming in
general). I have lots of books on order, but I've been messing with
Xcode/Cocoa/iPhone SDK with online resources while I wait.
My question -- for my next project, I want to do
On 08/11/2009, at 4:34 PM, Greg Guerin wrote:
Ron Fleckner wrote:
I've finally worked out a way to pause a thread and would like to
know if what I'm doing is dangerous or bad or...?
Exactly what problem are you trying to solve?
Pausing a thread is always potentially dangerous. Any locks
Many thanks to all who helped with this. I've had some very useful
discussion off-list with Roland King and I'm on my way to threading
nirvana.
Ron
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or
Hi all,
I've finally worked out a way to pause a thread and would like to know
if what I'm doing is dangerous or bad or...?
This is a small proof-of-concept/test kind of project. I've had a look
at NSConditionLock, but I don't get the concepts. So I've got this
naïve solution, which is
need to do some (or a lot of) general background research
on threading and locks and what it all means. Thanks very much to
both of you.
On 08/11/2009, at 2:36 PM, Kyle Sluder wrote:
On Sat, Nov 7, 2009 at 7:28 PM, Ron Fleckner ronfleck...@ozemail.com.au
wrote:
The CPU usage goes down
, and all of
them distinct from the basic navigation pictures and icons.
Starting each time from scratch doesn't seem to be the right iPhone
philosophy so there must be a catch somewhere.
Pierre
2009/10/30 Ron Fleckner ronfleck...@ozemail.com.au
On 30/10/2009, at 3:16 PM, Graham Cox wrote
When you add your folder of jpgs to your project, be sure to set
Create folder references for any added folders to true. Also don't
forget to check the checkbox with Copy items into destination group's
folder, if needed. Then you can do, for example:
NSString *bellSoundPath = [[NSBundle
have gone to the doc first
Thanks
Pierre
2009/10/29 Ron Fleckner ronfleck...@ozemail.com.au
When you add your folder of jpgs to your project, be sure to set
Create folder references for any added folders to true. Also
don't forget to check the checkbox with Copy items into destination
On 04/10/2009, at 3:12 AM, PCWiz wrote:
Hi,
I have a full screen borderless NSWindow. The problem is that it
covers all other windows (Finder windows and app windows). How do I
make it so that the window is kept below ALL other windows.
Thanks
[myWindow
On 02/10/2009, at 3:57 PM, James Lin wrote:
Thank you for the code snipet, but I am confused at the logic here...
the following code will be executed EVERY time the program runs,
right?
NSMutableDictionary *dictionary = [[NSMutableDictionary alloc]
initWithCapacity:10];
[dictionary
On 28/09/2009, at 12:36 PM, PCWiz wrote:
Hi,
I have a transparent black NSView that I layer over my window using
NSView's addSubview method. This works fine, but I want to make it
so that all clicks are captured by the NSView, because right now I
can click through to the superview
On 24/09/2009, at 10:14 PM, Rick C. wrote:
hello,
i have an app that when added to a user's login items with the hide
box checked it still shows its main window when starting up on
leopard. on snow leopard it properly stays hidden. on a personal
note i had this same issue with mail on
should/shouldn't.
Thanks in advance to anyone with the time to look at it.
Ron Fleckner
On 24/08/2009, at 9:33 AM, Ron Fleckner wrote:
Hi,
I asked about this on quartz-dev but go no reply after a few days so
I'm asking here.
My borderless window has a semi-transparent background. When
On 01/09/2009, at 8:36 PM, Dave Keck wrote:
I believe you need to tell the window to invalidate its shadow. The
end of ClockView's drawRect: is a bad place to do it, but as a proof
of concept:
- (void)drawRect: (NSRect)rect
{
... lots of drawing code ...
[[self window]
On 01/09/2009, at 10:47 PM, Dave Keck wrote:
Probably wherever you do the -setNeedsDisplay: for the view would
be about right... ;-)
Unfortunately that's not a good place either - the window's shadow
needs to be invalidated after the drawing actually occurs, not just
when the dirty flag is
On 01/09/2009, at 11:31 PM, Dave Keck wrote:
For the record...
It's considered best practice to limit your drawRect: methods to
strictly drawing. Often it's handy to take advantage of drawRect: for
testing, but in production code, my original suggestion isn't a good
idea. 8)
In the past I've
On 24/08/2009, at 2:29 PM, Rob Keniger wrote:
On 24/08/2009, at 9:33 AM, Ron Fleckner wrote:
My borderless window has a semi-transparent background. When the
drawing in a subview changes, the background retains a ghost of the
original drawing in the subview. I don't want that ghost
On 25/08/2009, at 6:21 AM, Steve Christensen wrote:
On Aug 23, 2009, at 10:00 PM, Ron Fleckner wrote:
On 24/08/2009, at 2:29 PM, Rob Keniger wrote:
On 24/08/2009, at 9:33 AM, Ron Fleckner wrote:
My borderless window has a semi-transparent background. When the
drawing in a subview
On 25/08/2009, at 8:44 AM, Alastair Houghton wrote:
On 24 Aug 2009, at 23:36, Ron Fleckner wrote:
I think you are right to suggest drawing it all in one view. That
would probably avoid the problem. The reason I don't is I'm too
much of a maths dolt to be able to work out the point co
On 25/08/2009, at 10:56 AM, Graham Cox wrote:
On 25/08/2009, at 8:36 AM, Ron Fleckner wrote:
I think you are right to suggest drawing it all in one view. That
would probably avoid the problem. The reason I don't is I'm too
much of a maths dolt to be able to work out the point co
Hi,
I asked about this on quartz-dev but go no reply after a few days so
I'm asking here.
My borderless window has a semi-transparent background. When the
drawing in a subview changes, the background retains a ghost of the
original drawing in the subview. I don't want that ghost image!
On 23/03/2009, at 3:12 PM, Ken Tozier wrote:
Hi
I have a custom view inside a scroll view and all works nicely
except when the custom view's contents exceeds the depth of the
scroll view. The scroll bars don't appear. I created the scroll view
in IB from a standard widget and did
programatically.
On Mar 23, 2009, at 1:06 AM, Ron Fleckner wrote:
I may be wrong, but I came across similar scrollview behaviour in
Tiger. IIRC, I asked about it here on cocoa-dev and got back that
it was a known bug. As I say, not sure if this is still the case.
My workaround
On 17/03/2009, at 8:16 PM, haresh vavdiya wrote:
Hi,
Actually i want to develop small application which is for
register
and login.
I have set one box on MainMenu.xib and it should contain
login view
and if i will press register then it should change the view to
register
On 12/03/2009, at 11:08 PM, Kevin Walzer wrote:
Hello,
I'm getting these gcc errors:
macicon.m:29: error: incompatible type for argument 1 of ‘NSMakeSize’
macicon.m:29: error: incompatible type for argument 2 of ‘NSMakeSize’
[snip]
-(int) makeIcon: (NSString *) filePath imagewidth: (float
On 10/03/2009, at 3:30 PM, Nick Zitzmann wrote:
On Mar 9, 2009, at 9:33 PM, Jushin wrote:
So, basically, the popup button has the list of NSString of
timezone name.
However, when I launch my application, I would like to make my
application automatically select current system's timezone
On 06/03/2009, at 8:43 AM, Norio wrote:
Hi,
Would you give me any suggestions to get the mouseUp event for
NSSlider?
I've tried to make subclass of NSSlider and override mouseUp: and
then put a breakpoint,
but the debugger didn't stop at the breakpoint.
Best regards,
Norio
Hi Norio,
On 18/02/2009, at 5:35 PM, Christian Graus wrote:
Hi guys
So, I've got a file open dialog, and I have this code:
NSString * path = @file://;
NSString * p = [open filename];
path = [path stringByAppendingString:p ];
NSURL * xmlURL = [[NSURL alloc] initWithString:path ];
NSXMLDocument *doc
On 04/02/2009, at 7:44 PM, Steve Cronin wrote:
+(void)initialize { [NSApp setDelegate:self]; }
Hi Steve,
as Quincey has suggested, looks like the above is the problem. I've
done a stand-alone .service and [NSApp setDelegate:self] is in -
(id)init, not + (void)initialize.
Ron
On 30/01/2009, at 9:07 AM, Memo Akten wrote:
Hi All, I'd like a function that sets up a timer, and can also
change the frequency, but I just can't get it to work. If I call it
more than once it just stops calling the timerLoop function
altogether. I've tried so many things including not
On 19/01/2009, at 9:33 PM, Arjun SM wrote:
Hi all,
i am novice in cocoa so please bear with me ..
I have created an URL link in one my custom applications About box as
described below
NSMutableAttributedString *string = [[NSMutableAttributedString
alloc]
initWithString:@Cocoa Inc];
Hi,
I read with interest the guidance in a recent thread regarding
accessing ivars in -init methods. In a subclass of NSWindow I call
[self setBackgroundColor:someColor] even though I don't override that
method. This has worked in the wild for about two years, but I wanted
to conform to
On 10/01/2009, at 3:49 PM, Michael Ash wrote:
On Fri, Jan 9, 2009 at 11:07 PM, Ron Fleckner
ronfleck...@ozemail.com.au wrote:
Hi,
I read with interest the guidance in a recent thread regarding
accessing
ivars in -init methods. In a subclass of NSWindow I call [self
On 31/12/2008, at 4:08 PM, Gabe Shahbazian wrote:
What is the best way to take an NSString and reverse the characters
so that
hello becomes olleh?
Thanks for any and all help,
Gabe S
Hi Gabe.
I don't think there's anything in Cocoa that does this for you. I
needed to reverse strings
On 31/12/2008, at 4:42 PM, Graham Cox wrote:
On 31 Dec 2008, at 4:35 pm, Graham Cox wrote:
I don't think this is legal
Hmm, seems C99 allows this. I didn't know that - my bad.
--Graham
Ha ha, yes. I resisted trying to explain that because I wouldn't be
able to do it properly. I
On 31/12/2008, at 5:26 PM, Nick Zitzmann wrote:
On Dec 30, 2008, at 10:23 PM, Ron Fleckner wrote:
- (NSString *)reverseString:(NSString *)aString
{
// Do the reversing with the help of an array of chars
int i, j;
const int stringLength = [aString length
On 26/12/2008, at 7:23 PM, Wesley Smith wrote:
Mainly because I'd like to be able to control various animating
behaviors via key modifiers but if the user isn't generating new mouse
or key events, you can't tell if a modifier key has been
pressed/released, which can make for awkward interface
On 25/12/2008, at 8:11 AM, John Nairn wrote:
I wanted to make one of the main menus be an icon (like the Script
icon in many applications). I tried to due using Apple sample code
(MenuItemView) and I can insert image in items, but not in the
MenuItem used for the title. How is that done?
, Mr. Gecko wrote:
Ok so I've done some looking around more in the documents, would it
be possible to make a button that has a picture of the grow box and
than have it send an action when it's dragged using
NSLeftMouseDraggedMask.
On Dec 4, 2008, at 8:47 PM, Sean McBride wrote:
Ron Fleckner
On 02/12/2008, at 4:34 PM, M Pulis wrote:
Folks,
In the code below, from
http://developer.apple.com/documentation/Carbon/Conceptual/ImageCaptureServicesProgrammingGuide/03HowtoWriteanImageCaptureApplication/chapter_3_section_1.html#/
/apple_ref/doc/uid/TP40005196-CH4-SW1
In the calls
On 05/11/2008, at 9:42 PM, Nathan Kinsinger wrote:
On Nov 3, 2008, at 1:25 PM, development2 wrote:
I need to create Hyperlink to the companies web site, but the link
will be in a NSTextField. How do I create a hyperlink in this text
field. I am sure it is something with
On 04/11/2008, at 7:25 AM, development2 wrote:
I need to create Hyperlink to the companies web site, but the link
will be in a NSTextField. How do I create a hyperlink in this text
field. I am sure it is something with NSMutableAttributedString but
can't seem to figure it out. I though
On 13/10/2008, at 12:38 AM, Benjamin Dobson wrote:
Hi,
In Leopard, pressing ⌘? automatically activates the Help menu.
Unfortunately, this means the ⌘? shortcut cannot be assigned to
anything else. In my application, the ⌘? shortcut needs to perform
a different action to the pre-built
. This works fine. Unfortunately, as soon as I change it to
⌘?, pressing the keys makes nothing happen. Literally, nothing - it
doesn't even beep, as it would if I pressed ⌘3, for example.
On 13 Oct 2008, at 08:42:48, Ron Fleckner wrote:
On 13/10/2008, at 12:38 AM, Benjamin Dobson wrote:
Hi
Greetings,
I've subclassed NSTextField so that I can override -
acceptsFirstResponder to return NO. I've noticed an unexpected
behaviour which I hope is the right thing because now I want to rely
on it. To wit: without explicitly setting the text field's delegate,
I can receive delegate
On 16/09/2008, at 4:46 PM, Graham Cox wrote:
On 16 Sep 2008, at 4:37 pm, Ron Fleckner wrote:
So my question is, I suppose, does NSTextField send delegate
messages to instances of itself?
It doesn't, but the shared field editor object does. The text field
is the delegate of the shared
Hi,
I want to display the current time in a full screen window. I'm
making my computer into a digital clock (for my own use). I've done
it by using NSCalendarDate and extracting the hours, minutes, and
seconds, formatting a string and displaying it. I use an NSTimer to
update the
On 22/08/2008, at 8:32 PM, Nathan Kinsinger wrote:
On Aug 22, 2008, at 12:59 AM, Ron Fleckner wrote:
Hi,
I want to display the current time in a full screen window. I'm
making my computer into a digital clock (for my own use). I've
done it by using NSCalendarDate and extracting
On 22/08/2008, at 10:38 PM, Gregory Weston wrote:
Ron Fleckner wrote:
I want to display the current time in a full screen window. I'm
making my computer into a digital clock (for my own use). I've done
it by using NSCalendarDate and extracting the hours, minutes, and
seconds, formatting
On 22/08/2008, at 11:28 PM, Graham Cox wrote:
On 22 Aug 2008, at 10:55 pm, Ron Fleckner wrote:
Sorry, my question was very badly put. I've already apologised to
two other answerers. I should have said: Is there a better way -
other than using an NSTimer - to update the clock
On 23/08/2008, at 1:18 AM, Michael Ash wrote:
On Fri, Aug 22, 2008 at 8:51 AM, Ron Fleckner
[EMAIL PROTECTED] wrote:
Is there a way to update the time without using an NSTimer? I'd
like my
clock to be synchronised with the menu bar clock. Maybe this
isn't a Cocoa
question. Thanks
On 11/08/2008, at 11:29 PM, Ron Fleckner wrote:
On 11/08/2008, at 10:52 PM, Macarov Anatoli wrote:
HI!
Cocoa, Obj-C.
How to check the capital letter?
Hi, I don't remember if there is a Cocoa solution, but of course
you can use plain C:
NSString *str = @Aa;
char first
On 11/08/2008, at 11:35 PM, Jean-Daniel Dupas wrote:
Le 11 août 08 à 15:29, Ron Fleckner a écrit :
Hi, I don't remember if there is a Cocoa solution, but of course
you can use plain C:
NSString *str = @Aa;
char first = [str characterAtIndex:0];
char second
On 04/08/2008, at 10:23 PM, Allison Newman wrote:
Hi everyone,
In my current app, I have long periods where the user may not
interact with the app, but where the app display updates
continuously, and the user continues to watch the app (think
playing a movie, or something like that).
Hi Eric,
The best thing to tell you to do, I think, is to read, or re-read,
the documentation for NSTimer. A timer (ie, an NSTimer instance)
will fire when you tell it to. In your startWatch: method, you've
told it to fire every 0 (zero) seconds. I don't think that's what
you want.
On 30/07/2008, at 10:08 PM, [EMAIL PROTECTED] wrote:
Hi there.
My application uses a NSStatusItem. When somebody left-clicks on it
I want
a method to be called (Which I've managed to fix) and then when
somebody
right-clicks on it I want a menu to be shown. I can't seem to get
that to
On 22/07/2008, at 10:20 PM, Steven Hamilton wrote:
Hi folks,
Can anyone tell me the most efficient way to unsign a floatvalue in
an NSNumber?
Like change a -1.47 to 1.47 ?
Thanks
// Below reverses the sign of, in this case, a float
float y, x; y = x = -12.0;
1 - 100 of 117 matches
Mail list logo