On Jun 3, 2008, at 8:46 AM, Bill Bumgarner wrote:
The actual loading is done like this:
self.masterPDFDocument = [[ANPDFDocument alloc] initWithURL:
absoluteURL];
If your -setMasterPDFDocument: -- synthesized or manually written --
follows traditional reatain/release rules, the above
On Jun 2, 2008, at 11:56 PM, Antonio Nunes wrote:
On Jun 3, 2008, at 8:46 AM, Bill Bumgarner wrote:
The actual loading is done like this:
self.masterPDFDocument = [[ANPDFDocument alloc] initWithURL:
absoluteURL];
If your -setMasterPDFDocument: -- synthesized or manually written
--
On Tue, Jun 3, 2008 at 12:36 AM, Elan Feingold [EMAIL PROTECTED] wrote:
From the lack of responses I'm guessing I posted this to the wrong list :-)
Four hours you gave everyone in all the different timezones of the
world to respond before giving up!
I don't even know what the Cocoa interface
On Tue, Jun 3, 2008 at 1:37 AM, Gerriet M. Denkmann
[EMAIL PROTECTED] wrote:
This one also works for me. Only it kind of works too well, finding
thousands of files.
Another example: kMDItemTextContent LIKE Briggel Braggel finds
.../Test.txt which only contains the line: Briggel and Braggel .
Why the replacement should be Cocoa ?
Actualy, the successor of KL Services are Text Input Source
Services.
http://developer.apple.com/documentation/TextFonts/Reference/TextInputSourcesReference/Reference/reference.html
Le 3 juin 08 à 05:49, Charles Jenkins a écrit :
Hi! I'm looking to
Am 03.06.2008 um 02:26 schrieb Graham Cox:
I realised after I posted this that of course in this situation you
don't *have* a receiving view which can manipulate the return value.
Well, one could always create four transparent overlay windows to
catch the drag outside the view, but in this
Okay, after many years of pretty much only doing software that had to
run on very old versions of Mac OS X, I've finally decided to do some
stuff that might require Tiger or maybe even Leopard, so I've been
able to start exploring some of the various new features Cocoa has
picked up over
Am 03.06.2008 um 07:10 schrieb Adam Leonard:
The Cocoa frameworks take this shortcut, as do most applications.
By the way, this shortcut is not just the result of laziness, it is
actually faster. Instead of going through all the objects that are
used throughout the life span of the app, and
On Jun 2, 2008, at 10:57 PM, Antonio Nunes wrote:
The actual loading is done like this:
self.masterPDFDocument = [[ANPDFDocument alloc] initWithURL:
absoluteURL];
If your -setMasterPDFDocument: -- synthesized or manually written --
follows traditional reatain/release rules, the above
On 3 Jun 2008, at 11:52, [EMAIL PROTECTED] wrote:
On Mon, Jun 2, 2008 at 7:37 PM, Gerriet M. Denkmann
[EMAIL PROTECTED] wrote:
On 3 Jun 2008, at 03:30, stephen joseph butler wrote:
I'm sorry. I forget that the Spotlight predicate strings are
slightly
different from the regular ones. This
On 3 Jun 2008, at 15:33, Hamish Allan wrote:
On Tue, Jun 3, 2008 at 1:37 AM, Gerriet M. Denkmann
[EMAIL PROTECTED] wrote:
This one also works for me. Only it kind of works too well, finding
thousands of files.
Another example: kMDItemTextContent LIKE Briggel Braggel finds
.../Test.txt which
On Jun 3, 2008, at 9:13 AM, Bill Bumgarner wrote:
You can use gdb to figure out who is hanging on to the object for
longer than expected.
Print the address of it immediately after the above line of code.
Then, after closing the document and after hitting pause to drop
into gdb, try:
This might (or might not) help, FWIW:
http://www.cocoadev.com/index.pl?UsingTheAppleRemoteControl
G.
On 3 Jun 2008, at 7:02 pm, Hamish Allan wrote:
On Tue, Jun 3, 2008 at 12:36 AM, Elan Feingold
[EMAIL PROTECTED] wrote:
From the lack of responses I'm guessing I posted this to the
On Tue, Jun 3, 2008 at 2:12 AM, Charles Srstka [EMAIL PROTECTED] wrote:
1) The file format for saved files. I'd rather not make some
proprietary/closed Microsoft-ish thing - I'd like it to be possible for
other programs to read/write my file format, including hypothetical programs
that might
In this case though, you are better off using the drag architecture
because tables are set up that way. Probably not impossible to
override whatever and roll your own, but currently it's really easy to
implement table row dragging in the usual way - but I've come to the
same conclusion as
Not to be...
I asked this very question of Dominic Giampaolo at last years WWDC as
I was running into the same issues with exact phrase searches. I asked
if this was now possible in Leopard since I was getting results that
contained all the requested words, but not necessarily in their
On Tue, Jun 3, 2008 at 10:23 AM, Gerriet M. Denkmann
[EMAIL PROTECTED] wrote:
On 3 Jun 2008, at 15:33, Hamish Allan wrote:
Are you using Tiger?
Yes, I am.
In that case, finding Briggel and Braggel for Briggel Braggel is
expected behaviour:
Spotlight indexes on words in Tiger; phrase
I tried exactly that. It did nothing but a horrendous crash when I
tried to type text. I couldn't even trace it. I never even got to the copy
part. I got the same result with a totally empty subclass. Shouldn't it
have worked the same?s What gives with that?
On May 31, 2008, at 7:49 PM,
On 6/2/08 7:47 PM, William Bumgarner said:
So, no, I don't buy for a moment that non-GC is simpler than GC. The
case the OP had is an edge case and, with a bit of thought, becomes
fairly obvious what has gone wrong; the object is being collected
because nothing is referring to it. Note that
On 6/2/08 7:49 PM, Michael Toy said:
trying to put a cocoa ui on an existing pthreads app.
You might want to take note of this warning then:
http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/
Multithreading/CreatingThreads/chapter_4_section_4.html#//apple_ref/doc/
On Jun 3, 2008, at 2:09 AM, Uli Kusterer wrote:
Am 03.06.2008 um 07:10 schrieb Adam Leonard:
By the way, this shortcut is not just the result of laziness, it is
actually faster. Instead of going through all the objects that are
used throughout the life span of the app, and having the OS free
I know how to sort items in NSTableView when each NSTableColumn
corresponds to a property of the item object.
But what if there is only one NSTableColumn and it is just mapped to
the item object itself instead of a property of it?
I set the Selector to compare: and leave the Sort Key to empty for
On Jun 3, 2008, at 2:29 AM, Antonio Nunes wrote:
However: the original issue was not resolved by this fix. I ran the
app through Instruments with ObjectAlloc and it shows that after
closing the document my NSDocument subclass instance is indeed
cleared. However, moving the original PDF
I have a few methods that return NSData objects, but the objects are
created and manipulated as NSMutableData, and then copied to an
immutable version along these lines:
NSMutableData *myData = [NSMutableData data];
:
:
return [NSData dataWithData:myData];
On Jun 3, 2008, at 7:03 AM, Kyle Sluder wrote:
On Tue, Jun 3, 2008 at 2:12 AM, Charles Srstka [EMAIL PROTECTED]
wrote:
1) The file format for saved files. I'd rather not make some
proprietary/closed Microsoft-ish thing - I'd like it to be possible
for
other programs to read/write my file
On Jun 3, 2008, at 9:01 AM, Charles Srstka wrote:
So it seems that by using CoreData, one loses all control over his
or her app's file format, which is a shame.
http://developer.apple.com/documentation/Cocoa/Conceptual/AtomicStore_Concepts/Introduction/Introduction.html
Although this
On Tue, Jun 3, 2008 at 4:52 PM, an0 [EMAIL PROTECTED] wrote:
And the NSTableView's sortDescriptors are found cumulated instead of
changed by NSLog in dataSource's tableView:sortDescriptorsDidChange:
method.
Hmm, could be a bug. Try giving your object a readonly property that
returns self,
On Tue, Jun 3, 2008 at 8:56 AM, Karl Moskowski
[EMAIL PROTECTED] wrote:
I have a few methods that return NSData objects, but the objects are created
and manipulated as NSMutableData, and then copied to an immutable version
along these lines:
NSMutableData *myData = [NSMutableData data];
On 3 Jun 2008, at 16:56, Karl Moskowski wrote:
I have a few methods that return NSData objects, but the objects are
created and manipulated as NSMutableData, and then copied to an
immutable version along these lines:
NSMutableData *myData = [NSMutableData data];
:
:
On Jun 3, 2008, at 8:56 AM, Karl Moskowski wrote:
Would it be sufficient to cast, like this?
:
return (NSData *)myData;
Does this generalize to other non-collection classes, e.g., NSString?
In the general case yes. I would say that it's not up to you to ensure
that this
On 3-Jun-08, at 12:13 PM, Mike Abdullah wrote:
Well this cast is fairly pointless as it makes no change to the data
at all. Returning an NSMutableData object from an NSData method is
perfectly legitimate as it is a subclass. So you might as well just
do:
return myData;
Really,
On 3-Jun-08, at 12:08 PM, Shawn Erickson wrote:
On Tue, Jun 3, 2008 at 8:56 AM, Karl Moskowski
[EMAIL PROTECTED] wrote:
I have a few methods that return NSData objects, but the objects
are created
and manipulated as NSMutableData, and then copied to an immutable
version
along these lines:
On Jun 2, 2008, at 19:50, Bill Bumgarner wrote:
On Jun 2, 2008, at 10:31 AM, Michael Vannorsdel wrote:
On Jun 2, 2008, at 5:24 AM, Francis Perea wrote:
Hi Graham, thanks for your reply.
I didn't know I could set any memory setting trough Interface
Builder!
After your question I looked
On Jun 3, 2008, at 9:20 AM, Stephane Sudre wrote:
An issue is that the previous releases still exist (retail Mac OS X
Leopard boxes are still 10.5?) and that someone may need to support
them. And in these cases, I would consider that retain/release is
more reliable.
Let me re-emphasize
On 3-Jun-08, at 12:56 PM, Karl Moskowski wrote:
I have a few methods that return NSData objects, but the objects are
created and manipulated as NSMutableData, and then copied to an
immutable version along these lines:
NSMutableData *myData = [NSMutableData data];
:
Karl Moskowski wrote on 2008-06-03 17:16:48:
On 3-Jun-08, at 12:13 PM, Mike Abdullah wrote:
Well this cast is fairly pointless as it makes no change to the data
at all. Returning an NSMutableData object from an NSData method is
perfectly legitimate as it is a subclass. So you might
On 3-Jun-08, at 12:23 PM, [EMAIL PROTECTED] wrote:
Karl Moskowski wrote on 2008-06-03 17:16:48:
On 3-Jun-08, at 12:13 PM, Mike Abdullah wrote:
Well this cast is fairly pointless as it makes no change to the data
at all. Returning an NSMutableData object from an NSData method is
perfectly
Stefan Haller [EMAIL PROTECTED] wrote:
I have an NSDocument-based application that is still pretty close to the
Xcode template for Cocoa Document-based application; i.e. I subclass
NSDocument but not NSWindowController, and I implement -windowNibName
but not -makeWindowControllers.
When I
On Tue, Jun 3, 2008 at 12:01 PM, Charles Srstka
[EMAIL PROTECTED] wrote:
That's what I was afraid of. So it seems that by using CoreData, one loses
all control over his or her app's file format, which is a shame.
There are plenty of circumstances in which you don't have control over
the
On Tue, Jun 3, 2008 at 11:15 AM, Gordon Apple [EMAIL PROTECTED] wrote:
I tried exactly that. It did nothing but a horrendous crash when I
tried to type text. I couldn't even trace it. I never even got to the copy
part. I got the same result with a totally empty subclass. Shouldn't it
This probably isn't news to most programmers, but since I've run into it
twice now, I thought it was worth a post.
I have had cases where my program worked correctly sometimes, sometimes
not. In two cases, I have traced the problem to KVO race conditions. I
will describe one.
The
On Jun 2, 2008, at 1:50 PM, Bill Bumgarner wrote:
If your window is sometimes disappearing under GC -- is sometimes
being collected prior to when you think it should be -- that means
that the collector doesn't believe that the window object is being
used by your application. To the
On Tue, Jun 3, 2008 at 5:53 PM, Gordon Apple [EMAIL PROTECTED] wrote:
Both observations are set up in the same Nib
in awakeFromNib.
If you have dependencies between objects in your nib, you can use
-[NSApplication applicationWillFinishLaunching:] to set things up.
Hamish
[Sorry for the length, but I've tried to include as much detail as
necessary in order to get the best answer.)
My program captures images from a digital camera. Said camera is
*always* oriented in a portrait fashion, and the image is created by
the camera (as a JPEG) with the appropriate
On Jun 3, 2008, at 10:02 AM, Andy Lee wrote:
I've been assuming that NSApplication keeps a strong reference to
all windows in its window list, but now that I think of it there's
no particular reason to assume that. Is it not the case? I just
want to correct my mental model if I've been
On Tue, Jun 3, 2008 at 5:28 PM, Karl Moskowski
[EMAIL PROTECTED] wrote:
Since I can expect people to follow the conventions defined by the API, I'll
just cast and expect the callers not to mutate.
Remember, the cast has no effect whatsoever...
Hamish
On Jun 3, 2008, at 18:29, Bill Bumgarner wrote:
On Jun 3, 2008, at 9:20 AM, Stephane Sudre wrote:
An issue is that the previous releases still exist (retail Mac OS X
Leopard boxes are still 10.5?) and that someone may need to support
them. And in these cases, I would consider that
On Tue, Jun 3, 2008 at 6:02 PM, Andy Lee [EMAIL PROTECTED] wrote:
On Jun 2, 2008, at 1:50 PM, Bill Bumgarner wrote:
If your window is sometimes disappearing under GC -- is sometimes being
collected prior to when you think it should be -- that means that the
collector doesn't believe that the
On Jun 3, 2008, at 11:03 AM, Randall Meadows wrote:
Except that I'm not going to be able to use jpegexiforient, because
the image file apparently isn't in the correct form it wants. This
test fails:
/* Read File head, check for JPEG SOI + Exif APP1 */
for (i = 0; i 4; i++)
exif_data[i] =
On Jun 3, 2008, at 11:14 AM, Randall Meadows wrote:
I'm about to resort to using a third-part solution (jpegtran and
jpegexiforient) that I've found, but
Except that I'm not going to be able to use jpegexiforient, because
the image file apparently isn't in the correct form it wants. This
Hi,
I wish to access disk sectors using open() and pread(). but it fails
for the system disk.
So how can I get the user to type in admin passwd and then run my app
in privileged mode.
Please point me to any sample code etc.
I tried BetterAuthorizationSample code from apple, but using it to
You can't really upgrade an already running process's privilege
level. What I'd suggest is make a small launcher program that the
user opens. This would ask for the admin password and then launch
your main application using AuthorizationExecuteWithPrivileges and
friends.
On Jun 3,
On Jun 3, 2008, at 12:51 PM, Kyle Sluder wrote:
On Tue, Jun 3, 2008 at 11:15 AM, Gordon Apple [EMAIL PROTECTED] wrote:
I tried exactly that. It did nothing but a horrendous crash when I
tried to type text. I couldn't even trace it. I never even got to
the copy
part. I got the same
Hi,
There is one thing that should be accessible from UserDefaults or by
AppleScript, or some kind of CGDisplay or NSScreen methods, but it is
not the case.
On MacBooks Pro and PowerBooks (don't know for MacBooks and iBooks),
there is a feature called ALS (Ambient Light Sensors) in the
On Jun 3, 2008, at 9:15 AM, j o a r wrote:
Would it be sufficient to cast, like this?
:
return (NSData *)myData;
Does this generalize to other non-collection classes, e.g., NSString?
In the general case yes.
I used to think that. Now I'm converting to making sure it truly
Note that you should never run a GUI application with elevated
provilege, particulary an application that uses AppKit, this is EVIL.
See man authopen(1). This is built-in an helper tool design to read
and write file using auth services. It handle all the authorization
part for you.
And
Hi -
- I use the NSPredicateEditor with a custom NSPredicateEditorRowTemplate
- This custom component should implement something like this:
[Filesize] - [is smaller/greater than] - [Textfield] - [KB/MB/GB]
By overriding templateViews I'm able to add an additional
NSPopupButton to the
BezelServices is not used to control ALS but to display visual
notification like the one you see when you change the audio volume, or
when you press the eject key.
Le 3 juin 08 à 20:58, Gabriel ROUSSEAU a écrit :
Hi,
There is one thing that should be accessible from UserDefaults or by
I am trying to create a Cocoa version of the old NeXT Digital Librarian.
To complete it, I would like to have the original icon.
Now I am right now about 10 000 km from my own NeXT Cube.
Does anybody out there still has a working NeXT and is willing to
send me a copy of the Digital Librarian
I guess I don't know hw to use that. The particular situation was a nib
that is document related, but loaded and opened later by menu.
On Tue, Jun 3, 2008 at 5:53 PM, Gordon Apple [EMAIL PROTECTED] wrote:
Both observations are set up in the same Nib
in awakeFromNib.
If you have
(Sorry about that. For got to chance the Subject. -- GA)
I guess I don't know hw to use that. The particular situation was a nib
that is document related, but loaded and opened later by menu.
On Tue, Jun 3, 2008 at 5:53 PM, Gordon Apple [EMAIL PROTECTED] wrote:
Both observations are
I'm using [NSDictionary writeToFile:...] to save a fairly large
dictionary as a text plist file. I found a quick and dirty hack to
convert it into a binary formatted file:
strcpy(command, /usr/bin/plutil -convert binary1 );
strcat(command, fileName);
ret = system(command);
Yeah, I
I haven't delved into the Buck Book yet, but I thought I would offer my
take on the use of Views. IMHO, Cocoa and its sample code, like MacApp,
makes far too much use of subclassing views for encapsulating complex
functionality, e.g., NSTextView, in violation of MCV. In MacApp, I made
It seams I am always 2 weeks late with my contributions ... oh well :-(
On May 19, 2008, at 2:03 AM, Erik Buck wrote:
1) Bindings are an ADVANCED technique that was recently introduced
and not yet completely documented. If someone tries to use bindings
in a situation where he/she doesn't
Melissa's got the right answer... You've probably defined a configuration
for entities within your data model - via the Configurations pane (wrench) in
the Entity box (upper right) in the data modeling editor. You've then
specified an entity within the model that you expect to be in the
On 3 Jun '08, at 12:24 PM, David Hoerl wrote:
Am I missing something obvious? Is there code out there that can
take a dictionary and save it as a binary plist?
NSPropertyListSerialization. (Everyone overlooks this at first because
it's unexpected to have to use a separate class to do
Le 3 juin 08 à 21:24, David Hoerl a écrit :
I'm using [NSDictionary writeToFile:...] to save a fairly large
dictionary as a text plist file. I found a quick and dirty hack to
convert it into a binary formatted file:
strcpy(command, /usr/bin/plutil -convert binary1 );
strcat(command,
Is the smart quotes functionality only applied to typed in text (by
the user) or is there a way to apply it to text programmatically (as
in text pasted in or after a NSTextView contents are set)?
It appears to do some unique localized/contextual quote replacement
and I can't find any
On Jun 3, 2008, at 12:46 PM, Jens Alfke wrote:
On 3 Jun '08, at 12:24 PM, David Hoerl wrote:
Am I missing something obvious? Is there code out there that can
take a dictionary and save it as a binary plist?
NSPropertyListSerialization. (Everyone overlooks this at first
because it's
On Tue, Jun 3, 2008 at 2:19 PM, Ross Carter [EMAIL PROTECTED] wrote:
Kyle, AFAICT, NSTextStorage is the only Cocoa class deemed semiconcrete. I
guess it means that you can instantiate NSTextStorage objects as if they
were concrete, but you can't subclass them without special effort. Maybe a
The goal is to do insertions/changes/deletes on a background thread
and then after a save merge those changes into the main threads
managed object context and thus update the UI.
I have a situation where NSManagedObjectContextDidSaveNotification is
forwarded from a background thread's
On Tue, Jun 3, 2008 at 3:07 PM, Seth Willits [EMAIL PROTECTED] wrote:
I used to think that. Now I'm converting to making sure it truly is
returning an immutable object. There have been cases where I've changed it
under myself and run into problems. I figure if it says it's immutable, it'd
Thank you everyone ... I went back to Apple Docs on Sheets and found
everything you stated ... I apologize for not being a careful reader.
John Love
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
I have traced the problem to KVO race conditions.
In most cases these can be solved by setting up the key dependencies
and occasionally by using the NSKeyValueObservingOptionInitial
(Leopard only) option.
From your summary, I'm assuming that the editLayer property is
dependent on the
On Jun 3, 2008, at 12:53 PM, Mark Munz wrote:
Is the smart quotes functionality only applied to typed in text (by
the user) or is there a way to apply it to text programmatically (as
in text pasted in or after a NSTextView contents are set)?
It appears to do some unique localized/contextual
Just out of curiosity, what exactly was the rational behind Apple
deprecating NSMailDelivery?
-- Ilan
On Jun 2, 2008, at 2:53 PM, Scott Anguish wrote:
This question has been asked three or four times in the last week. A
search of the list archives would have determined how to do that.
In
On Jun 3, 2008, at 5:52 PM, Bill Bumgarner wrote:
Why can't you pause the program in Xcode? Because it is running in
Instruments?
Yes, I could find no way to pause it after Start with Performance Tool-
Leaks (or Object Allocations for that matter).
But then I realised I should attach the
On 03.06.2008, at 21:00, Randall Meadows wrote:
I'm about to resort to using a third-part solution (jpegtran and
jpegexiforient) that I've found, but
Except that I'm not going to be able to use jpegexiforient, because
the image file apparently isn't in the correct form it wants. This
There's been some changes to device seizing in Leopard. I've had some
code of my own (albeit keyboard/barcode scanner stuff) that's been
affected by it.
http://developer.apple.com/technotes/tn2007/tn2187.html
I'd think that the Apple remote wouldn't be affected (unless it's
being
Hi All,
Sorry for the vague subject title... Let me explain.
I have one window per attached screen so at least one, but perhaps 3 (for
example). There is always one main window and the others are considered
aux windows.
The Main window has 4 groups of controls (A, B, C, D).
The Aux windows have
hi,
I wanted to do a small frame rate check to see on my nsview as debug
output.
How can I do this?
tnx
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the
OK, if I understand the documentation correctly, the first suggestion
might work. Thanks.
I don't think the second one is applicable here. (I have used that
successfully within one class.)
Yes, the observed editLayer in displayController was being observed by
the
BezelServices does what you say, but not only !
It seems to also manage the ALS preferences. In the
com.apple.BezelServices.plist you can see preferences concerning ALS
behavior on the keyboard backlight and the display brightness, like :
– alsLGPVersion
– dAuto (display auto birghtness
On 3 Jun 2008, at 19:19, Ross Carter wrote:
First I will echo what Jens has said: there's a strong probability
that NSAttributedString or NSMutableAttributedString will do what
need. NSTextStorage adds two capabilities to
NSMutableAttributedString: it communicates with one or more
On Jun 3, 2008, at 2:06 PM, Antonio Nunes wrote:
On Jun 3, 2008, at 5:52 PM, Bill Bumgarner wrote:
Why can't you pause the program in Xcode? Because it is running in
Instruments?
Yes, I could find no way to pause it after Start with Performance
Tool-Leaks (or Object Allocations for that
1) The file format for saved files. I'd rather not make some
proprietary/closed Microsoft-ish thing - I'd like it to be possible
for other programs to read/write my file format, including
hypothetical programs that might get written for other platforms so
that my file format could possibly be
Michael,
This error is almost always a multi-threading problem. When you used
the _debug version of Core Data, did you enable the threading
assertions with the user default -com.apple.CoreData.ThreadingDebug
3 ? What version of OSX are you using ? Is there a reason you're not
using
Depends what you mean by frame rate. The number of times drawRect:
is called per second? Easy to calculate/present but is it useful?
G.
On 4 Jun 2008, at 7:28 am, Davide Scheriani wrote:
hi,
I wanted to do a small frame rate check to see on my nsview as debug
output.
How can I do this?
On Jun 3, 2008, at 5:02 AM, Hamish Allan wrote:
I don't even know what the Cocoa interface to the Apple Remote is, let
alone having used it, let alone being able to troubleshoot it, and I
don't imagine everyone here is an expert either...
I don't believe there is a public API for it.
Greetings!
Here my 1st question to this list :-)
I started with Bindings and worked through the great article
Introduction to Cocoa Bindings by Scott Stevenson.
http://cocoadevcentral.com/articles/80.php
All works fine as expected even when I delete the NSObjectController
ControllerAlias
In IB, I set the number of columns to 2 in NSTableView. Then I was able to
select the NSTableColumn by clicking on the view. I changed the identifier
for the column
There is no way to use clicking to access the 2nd column. I use Tool --
Select Next Sibling to gain access to the inspector for the
Thank you for your feedback.
On Jun 3, 2008, at 5:34 PM, Ben Trumbull wrote:
1) The file format for saved files. I'd rather not make some
proprietary/closed Microsoft-ish thing - I'd like it to be possible
for other programs to read/write my file format, including
hypothetical programs that
On Jun 2, 2008, at 11:12 AM, Todd Ransom wrote:
Has anyone out there created a non-retaining array class or come up
with another solution to this problem? Or is there anything in
particular I should watch out for when subclassing NSMutableArray?
Probably the non-retaining CFArray that
I have a window with a few NSTextFields. The window has a controller
(sub class of NSWindowController). The window is loaded from a Nib.
I set the stringValue of the NSTextFields using the -setStringValue.
I tried doing this before showing the window:[super showWindow:self];
I moved the
Is there an IB 3.0 plugin exchange I haven't been able to find through
Google? Some place where developers could share or trade IB plugins
they've built?
Specifically, I'm looking for the darker look-and-feel of Apple's Pro
apps, like Aperture and MainStage from Logic Studio, in
On Jun 3, 2008, at 5:47 PM, Wayne Shao wrote:
There is no way to use clicking to access the 2nd column. I use
Tool --
Select Next Sibling to gain access to the inspector for the 2nd
column and
specified the identifier.
However, the UI only shows 1 column. This is true in IB and the
On Jun 3, 2008, at 6:06 PM, Stuart Malin wrote:
I have a window with a few NSTextFields. The window has a controller
(sub class of NSWindowController). The window is loaded from a Nib.
I set the stringValue of the NSTextFields using the -setStringValue.
I tried doing this before showing
On Jun 3, 2008, at 5:52 PM, Ben Trumbull wrote:
Michael,
This error is almost always a multi-threading problem. When you
used the _debug version of Core Data, did you enable the threading
assertions with the user default -com.apple.CoreData.ThreadingDebug
3 ?
Yes, I also see this in
A couple of months ago, I too had this problem, but didn't
satisfactorily solve it at that time. As my original posting noted,
this change in behavior happened after upgrading to Leopard and Xcode
3.0. The recent posting by Stefan Haller prompted me to spend some
time trying to figure
I'm trying to use an NSTextView to display the output of a shell
script, but when my script outputs too much data, too quickly (on the
order of a dozen lines nearly simultaneously), my app gives up with a
pinwheel. I'm using an NSPipe to get the data,
readInBackgroundAndNotify to know when
1 - 100 of 133 matches
Mail list logo