Here's an odd one: I have an NSTextView bound to an attribute of a
Core Data entity of type "binary". Works fine.
However, if I go into IB and check "Continuously Updates Value" on the
NSTextView's bindings settings, subsequent runs of the program tell me
that it "Cannot create NSData from
I have raw pixel data in a block of memory of the form ARGB. I need to
convert this to a jpg and write it to disk. I can obviously provide the
width and height which match the amount of pixel data.
I also need to go the other way... Reading a jpg from disk and getting at an
ARGB (or even just RGB)
Is there any reason you can't write a NSString to NSData two-way
value transformer? It would probably be more bulletproof than
relying on something that doesn't work consistently.
->Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
[EMAIL PROTECTED]
740.590.0009
On M
Le 10 mars 08 à 00:29, Stuart Malin a écrit :
Interesting approach, Tony.
However, __builtin_return_address isn't an object, so
stringWithFormat throws an exception when given the %@ token. It
should be %u (or %U ?? - I'm not sure of the difference).
You should use %p for pointer value
Le 10 mars 08 à 09:18, Trygve Inda a écrit :
I have raw pixel data in a block of memory of the form ARGB. I need to
convert this to a jpg and write it to disk. I can obviously provide
the
width and height which match the amount of pixel data.
I also need to go the other way... Reading a jpg f
Hey all,
I'm having a bit of trouble getting my Core Data NSManagedObjectModel
to load from within my unit tests. The code I'm using to load the
model (and context) is in my application code, not in my unit test;
but I do call it from my test class's setUp() method.
The strange
Hi,
What i am trying to do is that if mouse pointer is
placed over a certain button in the GUI, then the text
in a text field should be changed. I have subclassed
NSButton and assigned this custom class to my button.
>From this class i have been able to receive mouse
events and it works fine. But
Hi,
I have a csv-file as datasource for an NSTableView. This part of my
project works.
And now my Question:
Is there a way to make the first NSColumn of my NSTableView ...
a) always visible and
b) not being affected by the horizontal scrollbar, but only the
vertical scrollbar?
# | Column 1 | C
Anyone know how to get the index of the current iTunes track using
Scripting Bridge? With Applescript, it's as simple as "tell iTunes to
return index of current track", but iTunes SB has no such property
(well, there is one, but it only refers to the index of the current
playlist). It seems the iTu
(Please correct me if I'm on the wrong list. Cocoa-dev seems to be
the list suggested at the end of the iPhone developer videos, and I
can't find any other.)
I've begun working with the iPhone SDK, and quickly ran into what
looks like a bug in UIImage drawInRect: and
drawInRect:blendMode
In IB2 there are 3 options to influence the proportions of an image
o To Fit
o Proportinal
o None
I would like to have something like
o Zoom to Fit (zoom into the image so the minimal width/height fits)
o Fit Proportionally to Max (maximal width/height fits)
Any suggestion how to accompli
No iPhone discussion in public lists because it is under NDA. This has
been flogged to death.
JP
Sent from my iPhone
On Mar 10, 2008, at 7:23 AM, "Stuart A. Malone" <[EMAIL PROTECTED]
> wrote:
(Please correct me if I'm on the wrong list. Cocoa-dev seems to be
the list suggested at the e
Do you have two instances of NSURLDownload?
if they are declared in the .h file you could test for equality in the
downloadDidFinish:
delegate method.
- (void)downloadDidBegin:(NSURLDownload *)download {
if(download == myNSURLDownloadA) {
// something for a
}
if(download == myNSURLDownl
On 10 mars 08, at 12:54, Tobias R. wrote:
Hi,
I have a csv-file as datasource for an NSTableView. This part of my
project works.
And now my Question:
Is there a way to make the first NSColumn of my NSTableView ...
a) always visible and
b) not being affected by the horizontal scrollbar, but on
Hi all,
I know it is not the right list to post question about iPhone dev, but
because there are no dedicated list for it.
I would like to know if it is possible to include a Map from Google Map into
a custom iPhone application dev in Cocoa ?
I would like to be able to print a map, offer the user
On 10 mars 08, at 12:47, ADIL SALEEM wrote:
Hi,
[...]
What i am doing is something like this...
- (void)mouseEntered:(NSEvent *)theEvent
{
[textField setStringValue:@"New Value"];
}
- (void)mouseExited:(NSEvent *)theEvent
{
[textField setStringValue:@"Old Value"];
}
Add a NSLog(@"%@",
Maybe use a webview to contain it?
Mike.
On 10 Mar 2008, at 13:38, Christophe Promé wrote:
Hi all,
I know it is not the right list to post question about iPhone dev, but
because there are no dedicated list for it.
I would like to know if it is possible to include a Map from Google
Map into
The iPhone is currently under NDA, and discussion is not allowed on
the list.
If you want to try getting a prototype of your map application
running on a cell phone, and you don't want your questions blocked by
NDA's, you might want to develop it on Android and ask your questions
here,
> I know it is not the right list to post question about iPhone dev
Then don't post your question here. The rules really are that simple
(and quite explicit). Behave.
--
I.S.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
Followup... I tried two workarounds, both however return an incorrect result:
// Try #1
iTunesPlaylist *currentPlaylist = [ iTunes currentPlaylist ] ;
SBElementArray *currentTracks = [currentPlaylist tracks];
int index = [currentTracks indexOfObject:[iTunes currentTrack] + 1];
NSLog(@"%d", index)
I got a document based app. In the document window I can do a search
and would then like to display a the results in a list. But this list
should pop up similar to the quicksilver results. Attached to the
bottom of the window. I've already been digging through the
quicksilver source code -
Hi,
first of all: I'am a newby on cocoa and mac development. I'am coming
from the windows C# and .NET world so please be patient with me :)
This is the situation: I have a NSTokenField which will be filled with
some data and than be displayed (on a HUD Window).
Now I have two problems.
1.
Le 10 mars 08 à 15:17, [EMAIL PROTECTED] a écrit :
Followup... I tried two workarounds, both however return an
incorrect result:
// Try #1
iTunesPlaylist *currentPlaylist = [ iTunes currentPlaylist ] ;
SBElementArray *currentTracks = [currentPlaylist tracks];
int index = [currentTracks index
NSSearchPathForDirectoriesInDomains does not seem to have a constant
equivalent to kSharedUserDataFolderType as used by FSFindFolder.
Is there any reason behind this... I would have assumed that the two would
be similar.
Trygve
___
Cocoa-dev mailing
My experience with dladdr has been that it returns junk at least half of
the time.
IIRC, Tiger was worse than Leopard, but neither is as accurate as
NSTask'ing out to atos (which basically works perfectly, albeit slow as
dirt).
I've got an open radar on it.
stephen joseph butler wrote:
On Sun
How about creating a child window with an NSTableView within it?
See "Managing Attached Windows" in NSWindow's reference docs.
Mike
On Mar 10, 2008, at 7:12 AM, Torsten Curdt wrote:
I got a document based app. In the document window I can do a search
and would then like to display a the resu
Right, thanks. That was a typo in Mail. Still doesn't do the trick
though. However, I found it does if I do a "get" on the
[currentPlaylist tracks] and [iTunes currentTrack]. But this seems to
cause a memory leak, so I'm not sure it's the right way to go.
On Mon, Mar 10, 2008 at 3:49 PM, Jean-Dani
on 3/9/08 11:35 AM, [EMAIL PROTECTED] purportedly said:
> I guess the assumption on the AppKit's part is that a particular panel/
> window will not be recycled as both a sheet and a panel within an
> application. This kinda makes sense as there can only be a single
> modal panel up at a time, but
Subject: Re: NSTextView changes font
Gah, that sucks. Could you reply to the list and say this didn't do it? I
already deleted the original message... :(
Mark Teagarden wrote:
>
> Yeah, I saw that too. I tried it - no joy. I'll keep studying.
>
>
> On 3/10/08 10:32 AM, "John Stiles" <[EMAIL
Hello, I'm new to cocoa so any help will be appreciated.
I'm needing my application to find out if ImageMagick is installed.
It is usually installed in the root directory(/) and it has the name
of ImageMagick-6.3.8. I want it to detect it even if the version is
6.3.9. That way if there a
Hah! Thanks for the pointer!
So I just create another window in my nib and then add that as a
child I assume. Quicksilver on the other hand just has views inside
the nib. How would I display such a view? What's the difference?
cheers
--
Torsten
On 10.03.2008, at 16:37, Mike R. Manzano wrot
slasktrattenator wrote:
Anyone know how to get the index of the current iTunes track using
Scripting Bridge? With Applescript, it's as simple as "tell iTunes to
return index of current track", but iTunes SB has no such property
(well, there is one, but it only refers to the index of the current
You could use -directoryContentsAtPath: and check the array yourself for
matches.
Mr. Gecko wrote:
Hello, I'm new to cocoa so any help will be appreciated.
I'm needing my application to find out if ImageMagick is installed.
It is usually installed in the root directory(/) and it has the nam
On Mar 10, 2008, at 10:10 AM, Mr. Gecko wrote:
Hello, I'm new to cocoa so any help will be appreciated.
I'm needing my application to find out if ImageMagick is installed.
It is usually installed in the root directory(/) and it has the name
of ImageMagick-6.3.8. I want it to detect it eve
On 10 Mar 2008, at 8:21 AM, Trygve Inda wrote:
NSSearchPathForDirectoriesInDomains does not seem to have a constant
equivalent to kSharedUserDataFolderType as used by FSFindFolder.
Is there any reason behind this... I would have assumed that the two
would
be similar.
Sounds like a bug; cou
On Mon, Mar 10, 2008 at 12:12 PM, Torsten Curdt <[EMAIL PROTECTED]> wrote:
> So I just create another window in my nib and then add that as a
> child I assume. Quicksilver on the other hand just has views inside
> the nib. How would I display such a view? What's the difference?
A view has to be
On Mon, Mar 10, 2008 at 12:10 PM, Mr. Gecko <[EMAIL PROTECTED]> wrote:
> But it does not seem to know * as a random indicator like PHP and
> Terminal does. I can't seem to think of a way to do this so, if any
> one can help me figure this out I would be very grateful.
It's not "random", it's ca
Hi,
I'm applying a Core Image filter to an image in a NSImageView
subclass. The drawing works fine, except it leaks memory, not sure
why. This is my drawRect method. Anything wrong with it? Thanks.
- (void) drawRect:(NSRect)rect
{
[[self image] setFlipped:YES];
CIImage *image =
On 3/8/08 11:05 AM, norio said:
>My app's window has several NSTextFields. Some of them only accept
>Roman characters, and the others prefer to Japanese.
>So when the cursor comes to the text field, I want input method to
>change suitable characters depending on the text field.
>Not using validati
On Mar 10, 2008, at 9:10 AM, Mr. Gecko wrote:
I'm needing my application to find out if ImageMagick is installed.
It is usually installed in the root directory(/) and it has the name
of ImageMagick-6.3.8.
As previously pointed out, that is probably a bad assumption to make.
I want it to d
Hello, I have done an application with applescript studio and I'm
trying to make it a cocoa application I had an on launched command
where it did some things and I can't seem to find a way to do an on
launched with cocoa I know there is a way. I already tried -
(void)awakeFromNib but I can
-awakeFromNib should be a good choice, so you might want to explain why
it didn't work specifically.
-applicationDidFinishLaunching: is also a good thing to try, but if you
can't get -awakeFromNib working, that should be the first thing to
investigate.
Mr. Gecko wrote:
Hello, I have done an ap
On Mar 10, 2008, at 18:28, Mr. Gecko wrote:
Hello, I have done an application with applescript studio and I'm
trying to make it a cocoa application I had an on launched command
where it did some things and I can't seem to find a way to do an on
launched with cocoa I know there is a way. I al
This is going to sound really stupid, but how do you show an
NSWindow? [aWindow close] seems to be the appropriate method to close
it, but idiotically enough, I can't seem to find a way re-show the
window once it's no longer on-screen. [aWindow
makeKeyAndOrderFront:sender] will only bring
Well I have a global that is set in a header file. In my awakeFromNib
I have it set the globals to the path of an command line tool in the
applications resource and when I run the command line tool with a
function not in the same .m file I get Segmentation fault
"EXC_BAD_ACCESS (SIGSEGV)
K
Keith,
I was consulted about the sample from DTS and didn't find any obvious
problem with it.
It would be great if you could provide further detail (for example, bt
of the exception raise).
Thanks,
Aki
On 2008/03/08, at 10:41, Keith Blount wrote:
Just to add a little info to my previou
On Mar 10, 2008, at 2:36 AM, William Hunt wrote:
I'm having a bit of trouble getting my Core Data
NSManagedObjectModel to load from within my unit tests. The code
I'm using to load the model (and context) is in my application code,
not in my unit test; but I do call it from my test class'
> This is going to sound really stupid, but how do you show an
> NSWindow? [aWindow close] seems to be the appropriate method to close
> it, but idiotically enough, I can't seem to find a way re-show the
> window once it's no longer on-screen. [aWindow
> makeKeyAndOrderFront:sender] will only
On Mar 10, 2008, at 12:10 PM, Mr. Gecko wrote:
I'm needing my application to find out if ImageMagick is installed.
You should look at Launch Services. This Carbon API will tell you the
application that will open for a given document or kind of document.
"The Launch Services function LSFi
Just a guess, but is the window set to "Release when closed" in IB?
You probably want to orderOut: it, not close it. Then
makeKeyAndOrderFront: will do what you want. makeKeyAndOrderFront does
make the window visible if it's not, but your window has probably been
released from the close so
On Mar 10, 2008, at 2:12 PM, Nathaniel Gottlieb-Graham wrote:
This is going to sound really stupid, but how do you show an
NSWindow? [aWindow close] seems to be the appropriate method to
close it, but idiotically enough, I can't seem to find a way re-show
the window once it's no longer on-
In general this is excellent advice, but I believe ImageMagick is not a
Mac program but an X11 thing.
Brian Stern wrote:
On Mar 10, 2008, at 12:10 PM, Mr. Gecko wrote:
I'm needing my application to find out if ImageMagick is installed.
You should look at Launch Services. This Carbon API w
On Mar 10, 2008, at 2:54 PM, John Stiles wrote:
In general this is excellent advice, but I believe ImageMagick is
not a Mac program but an X11 thing.
ImageMagick has some X11 components, but can be compiled as a set of
unix command line programs that will perform various operations on
im
On Mar 10, 2008, at 4:56 AM, [EMAIL PROTECTED] wrote:
Anyone know how to get the index of the current iTunes track using
Scripting Bridge? With Applescript, it's as simple as "tell iTunes
to return index of current track", but iTunes SB has no such
property (well, there is one, but it only
On 10.03.2008, at 19:54, John Stiles wrote:
In general this is excellent advice, but I believe ImageMagick is
not a Mac program but an X11 thing.
command-line
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin reque
With a datapoint of one X11 application (Wireshark.app)
If I double click on a pcap file, LS does actually launch X11 and runs
Wireshark(although the file doesn't actually get opened by Wireshark
but that is a different conversation).
mdfind "kMDItemKind == 'Application'"
also finds Wireshark.
Randall Meadows Helped me and I came up with
NSFileManager *fm = [NSFileManager defaultManager];
int i;
NSArray *folders = [fm directoryContentsAtPath:@"/"];
for (i=0;i<[folders count];i++) {
NSString *folder = [folders objectAtIndex:i];
if ([folder hasPrefix:@"ImageMagick"]) {
ImageMa
On Mar 10, 2008, at 2:03 PM, Jeff LaMarche wrote:
On Mar 10, 2008, at 2:54 PM, John Stiles wrote:
In general this is excellent advice, but I believe ImageMagick is
not a Mac program but an X11 thing.
ImageMagick has some X11 components, but can be compiled as a set of
unix command line
On 10.03.2008, at 19:58, Dan Korn wrote:
I could install the frameworks in the application's own Frameworks
folder, but that seems a bit rude, and defeats the purpose of being
able to keep all the parts of the plug-in executable in its own
bundle.
So, my question is, is there another way
Thank you!
On Mon, Mar 10, 2008 at 8:04 PM, Christopher Nebel <[EMAIL PROTECTED]> wrote:
>
> On Mar 10, 2008, at 4:56 AM, [EMAIL PROTECTED] wrote:
>
> > Anyone know how to get the index of the current iTunes track using
> > Scripting Bridge? With Applescript, it's as simple as "tell iTunes
> >
Hi Guys,
I have a couple of views in my app that get re-scaled by changing
their frames. When I turn on layer backing for the view, the
animation of the views' contents (a couple of NSColorWells &
NSButtons) is choppy and renders badly, but when I omit the layer-
backing activation the an
If you would design an IM client using MVC, where would the connection
object be?
Here is an example:
The Model:
// Interface Builder has an instance of IMBuddyList
// IMBuddyList is the model that contain a list of IMPerson instances
@interface IMBuddyList : NSObject
I narrowed this down by removing the filters, and the leak is still
there. And what a leak! Everytime I draw the view the memory usage
increases with the size of the drawn image. Yet this exact same code
is used in the Core Image Programming Guide. So I figure it's a bug in
Core Image. But how can
On Mar 8, 2008, at 8:27 AM, Quincey Morris wrote:
On Mar 8, 2008, at 06:54, Trygve Inda wrote:
IB3 has added an NSApplication object. How does this work... It
seems if my
AppController is still the delegate of the File's Owner that the
specific
instance of NSApplication is not needed
Yup, The windows were released when closed, and I was using -close
rather than -orderOut. Thanks guys!
On Mar 10, 2008, at 2:31 PM, Matt Mashyna wrote:
On Mar 10, 2008, at 2:12 PM, Nathaniel Gottlieb-Graham wrote:
This is going to sound really stupid, but how do you show an
NSWindow? [a
If all the code you're using is present, it looks to me like you're not
releasing the object pointed at by image; the object returned by imageWithData
is not an auto-released object.
>I narrowed this down by removing the filters, and the leak is still
>there. And what a leak! Everytime I draw th
Hi Aki,
Many thanks for your reply, much appreciated. I completely stripped all my
custom drawing code and everything to double-check it wasn't just some bad
expectation of glyph-to-character mapping in my own code, but the problem
persists. I've uploaded the sample, stripped down project here:
Christopher Nebel wrote:
Anyone know how to get the index of the current iTunes track using
Scripting Bridge? With Applescript, it's as simple as "tell iTunes
to return index of current track", but iTunes SB has no such
property (well, there is one, but it only refers to the index of
the
On Mar 10, 2008, at 1:21 PM, Gary L. Wade wrote:
If all the code you're using is present, it looks to me like you're
not releasing the object pointed at by image; the object returned by
imageWithData is not an auto-released object.
It's not? Why not? I thought convenience methods like that
On 10 Mar 2008, at 20:26, Chris Ryland wrote:
Looks to me like you're mixing NSAnimation and CAAnimation
technologies. Try CAAnimationContexts instead?
Tried Googling CAAnimationContext, and I can't find it, where can I
read up on them?
Thanks,
Jon
smime.p7s
Description: S/MIME crypt
Take a look at this work by Robbie Hanson:
http://deusty.blogspot.com/2008/02/towards-open-source-xmpp-framework-
for.html
http://code.google.com/p/xmppframework/
I can't vouch for the style of its internal design, but there is a
lot there to leverage.
I'm building my own native Cocoa XMP
Oh really? Hm... *looks away in shame*. That makes me feel kind of
stupid. I was under the impression it was an autoreleased object as
there is no "init", "copy" or "new" in it's name, and the docs don't
mention anything about the user being responsible for releasing it.
How are you supposed to kn
"If all the code you're using is present, it looks to
me like you're not releasing the object pointed at by
image; the object returned by imageWithData is not an
auto-released object."
I just checked documentation
(http://developer.apple.com/documentation/GraphicsImaging/Reference/QuartzCoreFrame
>> Is there a way to mix MPTasks in Cocoa? I am really eager to use Cocoa here
>> as many things are much easier than in Carbon (less code), but the
>> task/multithreading of Cocoa seems weak.
>
> Yes, you can create MPTasks from Cocoa, and use Cocoa from MPTasks. The key
> is that there's a whole
On 3/10/08 9:28 AM, Chris Parker said:
>On 10 Mar 2008, at 8:21 AM, Trygve Inda wrote:
>> NSSearchPathForDirectoriesInDomains does not seem to have a constant
>> equivalent to kSharedUserDataFolderType as used by FSFindFolder.
>>
>> Is there any reason behind this... I would have assumed that the
Okay, now I have another problem. When the window in question is
closed programmatically using -orderOut:, I can bring it back using -
makeKeyAndOrderFront: , and then order it out again and repeat this
procedure as many times as I want. However, when I click on the
window's close button,
2008/3/10 Trygve Inda <[EMAIL PROTECTED]>:
> The call I need an equivalent to is MPWaitOnQueue... This blocks a thread
> until a message is received OR it times out. Is there a way to get a similar
> functionality with NSThread?
The most Cocoa-ish way to do this is probably to use run loops an
> On 3/10/08 9:28 AM, Chris Parker said:
>
>> On 10 Mar 2008, at 8:21 AM, Trygve Inda wrote:
>>> NSSearchPathForDirectoriesInDomains does not seem to have a constant
>>> equivalent to kSharedUserDataFolderType as used by FSFindFolder.
>>>
>>> Is there any reason behind this... I would have assume
On Mar 6, 2008, at 2:35 PM, Charles Ross wrote:
[..]
If I enter the following command in the terminal, it returns about
20,000 records to the screen in about one second:
sqlite3 Videos.sql 'select * from ZVIDEOS'
The file has a fairly large number of records, almost 20,000.
However, t
Hey developers,
I've been grappling with a problem very similar to this month's
earlier thread with the same subject line. The consensus there was
that in 10.4 NSTokenField always trims off whitespace before the
input it tokenized. In fact, my experience is the opposite. In
OmniPlan we
Originally, the posted rule here was "no discussion of the iPhone SDK".
While a dedicated discussion area is being erected, the discussion
will be allowed here, with the following restrictions:
- no profanity (as usual)
- no speculation on what may or may not be added/removed
I tried BOOL ImageMagick = [[NSFileManager defaultManager]
fileExistsAtPath:@"/ImageMagick*/" isDirectory:YES];
You're calling that wrong, the second parameter expects a pointer to a
BOOL, not an actual BOOL. The correct syntax is:
BOOL directory;
BOOL exists = [[NSFileManager defaultManage
Interface Builder can easily make a small variant of NSSearchField—it's
right there in the size popup—but I can't manage to reproduce the effect
in code. The typical approach doesn't work:
[[searchField cell] setControlSize:NSSmallControlSize];
does nothing at all, though this does shrink a
On Mar 10, 2008, at 3:52 PM, Jonathan Dann wrote:
Hi Guys,
I have a couple of views in my app that get re-scaled by changing
their frames. When I turn on layer backing for the view, the
animation of the views' contents (a couple of NSColorWells &
NSButtons) is choppy and renders badly,
Hey John -
IB also typically changes the cell's font, and the control's frame
when you use the pop up in the control size inspector.
Hope that helps -
Jon Hess
On Mar 10, 2008, at 3:27 PM, John Stiles wrote:
Interface Builder can easily make a small variant of NSSearchField—
it's right the
I've done all of these things, and so far no dice.
The small control clearly has a different overall look—for instance, the
magnifying glass icon has a smaller variant which I do not see. Also,
when I set the smaller frame, it's just using the big-size control and
cutting off its bottom edge,
Apparently there has been some miscommunication somewhere.
While I was told to allow discussion here, I've now been told that
discussion should not be allowed here.
So we're back to the 'no iPhone discussion is allowed' state of things.
Sorry for the confusion.
Scott Anguish
__
The iPhone docs point you in the direction of libXML2 for parsing XML,
yet the headers for NSXML are included in the SDK headers, and i was
able to build and run fine using NSXMLDoc/element/node. (in fact i
just dropped my existing NSXML based code into a iPhone project and it
worked fine,
On Mar 10, 2008, at 11:27 PM, John Stiles wrote:
[[searchField cell] setControlSize:NSSmallControlSize];
// A solution as ugly as an Orc
float tWidth;
NSRect tFrame;
tWidth =NSWidth([IBsearchField_ frame]);
[IBsearchField_ setFont:[NSFont systemFontOfSize:[NSFont
It does seem to be order dependent. This works (though it does drop
the baseline a pixel)
[[searchField cell] setControlSize:NSSmallControlSize];
[searchField setFont:[NSFont systemFontOfSize:[NSFont
systemFontSizeForControlSize:NSSmallControlSize]]];
NSRect searchFrame = [searc
Hi,
I spent a few days debugging why an application wasn't sending
NSWorkspaceDidTerminateApplicationNotification to the sharedWorkspace.
Turns out it was because LSUIPresentationMode was set to "1". Is this
expected behavior? If not I'll file a radar on it.
~Rob
__
I'll try it again with these steps. Thanks for the help.
Tom Bunch wrote:
It does seem to be order dependent. This works (though it does drop
the baseline a pixel)
[[searchField cell] setControlSize:NSSmallControlSize];
[searchField setFont:[NSFont systemFontOfSize:[NSFont
systemFont
OK, I figured it out. My control's frame was too tall!
If you set the search field's frame to be more than 19 pixels tall, it
creates a large-sized variant even if you explicitly asked for the small
version. I was using 21 pixels, which is smaller than the regular size
of 22 pixels—so it was c
On Mar 10, 2008, at 3:52 PM, Robert Kukuchka wrote:
Hi,
I spent a few days debugging why an application wasn't sending
NSWorkspaceDidTerminateApplicationNotification to the
sharedWorkspace. Turns out it was because LSUIPresentationMode was
set to "1". Is this expected behavior? If not I'
BTW, this is now filed as
rdar://5791056 [NSSearchFieldCell] Does not properly honor calls to
-setControlSize:
Thanks again for everyone's help debugging this issue!
John Stiles wrote:
OK, I figured it out. My control's frame was too tall!
If you set the search field's frame to be more
On 3/10/08 6:11 PM, Scott Anguish said:
>Questions and comments should be sent to the [EMAIL PROTECTED]
> as usual
Small typo: plural lists:
<[EMAIL PROTECTED]>
--
Sean McBride, B. Eng [EMAIL PROTECTED]
Rogue Research
If you find a function/method/class declaration in a public header (an
header that is not in PrivateHeader folder) you can problably
considere it as public.
Le 10 mars 08 à 23:49, Simon Fell a écrit :
The iPhone docs point you in the direction of libXML2 for parsing
XML, yet the headers f
To me this sounds like an exception is occurring during code called
when clicking the close button. Anything in the console?
Mike.
On 10 Mar 2008, at 21:40, Nathaniel Gottlieb-Graham wrote:
Okay, now I have another problem. When the window in question is
closed programmatically using -orde
Hi,
I'm fairly new to Cocoa so I'm sorry if this is a trivial question.
I would like to create a little button in a button: like in Dashboard
where you get a little "i" icon in a circle that can flip the widget,
I would like to put a little "i" in a circle on the right-hand side of
my butto
On Mar 10, 2008, at 12:14 PM, has wrote:
slasktrattenator wrote:
Anyone know how to get the index of the current iTunes track using
Scripting Bridge? With Applescript, it's as simple as "tell iTunes to
return index of current track", but iTunes SB has no such property
(well, there is one, but
1 - 100 of 150 matches
Mail list logo