On Jun 10, 2008, at 11:28 AM, Charles Srstka wrote:
I think the problem is that if NSArray has +[NSArray array]
returning an NSArray, then NSMutableArray has to return an NSArray
also, since it can't have a different method signature for the same
method. As a result, if you called +[NSMut
Hi,
launchd gives me a hard time with a daemon I need to keep running. It
prints "Throttling respawn" to my console forever. Because of that I
wrote a script that does nothing but print "test" and sleep before
exiting to somehow understand why launchd does that. The script looks
like this
On Jun 11, 2008, at 12:01 AM, John Engelhart wrote:
This whole business about '(NSArray *) means NSArray AND any of it's
subclasses' is the result of sloppy thinking and confusing 'able to'
with 'as per spec'.
No, you are wrong. It really is "per spec." That is an intentional
capability
yeah,and after in september we'll have the "notification center" for
background
applications on Iphone.They still have a long road..
Ive download the sdk b7 and its very nice.
They added many things and changed the xcode and IB in some way.
Im a bit confused.
BUT bcoz is Apple we forgive them :)
yeah,and after in september we'll have the "notification center" for
background
applications on Iphone.They still have a long road..
Ive download the sdk b7 and its very nice.
They added many things and changed the xcode and IB in some way.
Im a bit confused.
BUT bcoz is Apple we forgive them :)
On Jun 11, 2008, at 12:15 AM, Chris Hanson wrote:
This whole business about '(NSArray *) means NSArray AND any of
it's subclasses' is the result of sloppy thinking and confusing
'able to' with 'as per spec'.
No, you are wrong. It really is "per spec." That is an intentional
capability i
On 11 Jun 2008, at 5:01 pm, John Engelhart wrote:
If you declare a method prototype as '-(NSArray *)resultsArray',
then you have explicitly communicated that a NSArray is going to be
returned. Not a NSMutableArray. Not 'Jimmies groovy array with red
pin stripes'. A NSArray. Period. A NS
NSArray objects can't contain empty (nil) elements...
NSPointerArray objects can if you really want an Objective-C interface.
And you might just want to implement this as a C array
They will also handle object memory management like an NSArray,
depending on how you initialise it.
However
Le 11 juin 08 à 09:01, John Engelhart a écrit :
On Jun 10, 2008, at 11:28 AM, Charles Srstka wrote:
I think the problem is that if NSArray has +[NSArray array]
returning an NSArray, then NSMutableArray has to return an NSArray
also, since it can't have a different method signature for th
On Jun 10, 2008, at 5:00 PM, Jerry Isdale wrote:
How do I get that View/Controller to show up in the application
window?
Do I have to programatically load the XIB and position the view
within the app?
Do I have to turn it into an IB library object, then drag from
library to window?
Use an
Im using
XMLParseDataRef
to parse xml, but the parse does not accept empty attributes:
My code look like this:
sXMLStartElementUPP =
(StartElementHandlerUPP)NewStartElementHandlerUPP(StartElementHandler);
sXMLEndElementUPP =
(EndElementHandlerUPP)NewEndElementHandlerUPP(EndElementHandl
On Wed, Jun 11, 2008 at 8:01 AM, John Engelhart
<[EMAIL PROTECTED]> wrote:
> A return type of NSArray * means something very explicit. "But all you can
> expect is an object that behaves like a NSArray, so returning a subclass of
> NSArray, like NSMutableArray, is perfectly legal!" You're exactl
On 11 Jun 2008, at 03:09, Jens Alfke wrote:
That way you won't run into the issue that NSArray objects can't
contain empty (nil) elements...
Another thing that is often overlooked by Cocoa newbies is that you
can add NSNull to NSArray objects (and other collection objects)
e.g
MyObj* a
No, I don't see anything in the console.
I've seen lots of old posts to this list that NSTokenFieldCell doesn't
behave correctly in an NSTableView, but I'm not sure if this has been fixed.
Is there any sample code that demonstrates an NSTokenFieldCell in an
NSTableView bounded to something (I don'
Haven't anyone stumbled upon something similar, or a solution to this?
Best regards
Mattias
-- Forwarded message --
From: Mattias Arrelid <[EMAIL PROTECTED]>
Date: Fri, May 30, 2008 at 1:25 PM
Subject: NSTextView and changing the selected text's color
To: cocoa-dev@lists.apple.com
I wasn't even aware of this XML parser.
As we are on a Cocoa list I suggest you to have a look at
NSXMLParser. Else this question is completly off topic.
Le 11 juin 08 à 11:07, Pontus Hulin a écrit :
Im using
XMLParseDataRef
to parse xml, but the parse does not accept empty attributes:
Scott,
There's plenty of resources available for how to use a
NSPredicateEditor... I'm interested in creating a control to represent
a set of actions, not a predicate, which is why I'm more interested in
the NSRuleEditor. The NSPredicateEditor is a subclass that is
specialized for use wit
I am not quite sure how to do this (and maybe this belongs on the Xcode
list), but I need to link to zlib.
I managed to find another project that linked and copied it into mine so now
I have the little yellow toolbox icon in my linked files list and doing a
Get Info shows:
Path: /user/lib/libz.dy
On Jun 11, 2008, at 3:01 AM, John Engelhart wrote:
-(MyObject *)copyAndCombineWith:(MyObject *)object
{
MyObject *copy = malloc(sizeof(MyObject));
memcpy(copy, object, sizeof(MyObject));
copy->answer += answer;
copy->integerRING += integerRing;
return(copy);
}
Do not use malloc() to instan
Start with the "Add > Existing Frameworks" contextual
menu.
If you type a "/" in an Open panel, a path box
appears. You can then type "/usr/lib" to display
that directory.
Kevin G.
I am not quite sure how to do this (and maybe this belongs on the
Xcode
list), but I need to link to zlib.
I
On 11 Jun 2008, at 13:27, Trygve Inda wrote:
I am not quite sure how to do this (and maybe this belongs on the
Xcode
list), but I need to link to zlib.
For such 'standard' libraries, the usual recommendation is to not add
them to the project at all, but to add them to the 'Other Linker
Adam,
Thank you very much for that link. It was extremely helpful, and
setting WebCacheModelDocumentViewer made the memory usage much
cleaner. At the end of the day, I was still unhappy with the amount of
memory WebKit was using in the application, so I decided to go a
different route. I c
Hi, I want to develop a Cocoa Application to manage an embed Cover Art files
to Mp3's. The thing is that I don't know how to achieve this, or where to
read about how to do it. I asked in several places / googled a lot and ended
up here.
Could anyone help me out a bit ? Link me to some reading would
How would I go about disabling the Print command for a modal panel?
The nil-targetted menu item is currently enabled because the first
responder is an NSTextField, which implements the print: selector.
But I don't really want users printing out individual NSTextFields.
I could subclass NSTextFi
On 11 Jun '08, at 6:59 AM, Nicolas Goles wrote:
Hi, I want to develop a Cocoa Application to manage an embed Cover
Art files
to Mp3's. The thing is that I don't know how to achieve this, or
where to
read about how to do it. I asked in several places / googled a lot
and ended
up here.
iT
On 11 Jun '08, at 6:20 AM, [EMAIL PROTECTED] wrote:
For such 'standard' libraries, the usual recommendation is to not
add them to the project at all, but to add them to the 'Other Linker
flags' in the target. For libzlib, you would use -lz
Really? I've never heard that. I find it more conv
On 11 Jun 2008, at 16:48, Jens Alfke wrote:
You can avoid that by adding the library file that doesn't have a
version number in it, i.e. "libz.dylib" not "libz.1.2.3.dylib". This
is a symlink that always points to the current version, and it's the
same file the linker would use if you adde
On 11 Jun '08, at 12:05 AM, Alexander Reichstadt wrote:
launchd gives me a hard time with a daemon I need to keep running.
It prints "Throttling respawn" to my console forever. Because of
that I wrote a script that does nothing but print "test" and sleep
before exiting to somehow understan
On Jun 11, 2008, at 2:01 AM, John Engelhart wrote:
If you declare a method prototype as '-(NSArray *)resultsArray',
then you have explicitly communicated that a NSArray is going to be
returned. Not a NSMutableArray. Not 'Jimmies groovy array with red
pin stripes'. A NSArray. Period. A NS
On Jun 11, 2008, at 3:24 AM, Mattias Arrelid wrote:
Haven't anyone stumbled upon something similar, or a solution to this?
I believe it was answered. You don't want to use
setMarkedTextAttributes:, because marked text is the uncommitted text
you see while using an input method. You can
On Jun 11, 2008, at 9:48 AM, Jens Alfke wrote:
(Xcode used to have a bug where if you did this it would "helpfully"
resolve the symlink and actually add the specific version file; but
that's been fixed for years.)
Has it? I have a project that links against libcurl.dylib and
libz.dylib, a
On Wed, Jun 11, 2008 at 12:01 AM, John Engelhart
<[EMAIL PROTECTED]> wrote:
>
> On Jun 10, 2008, at 11:28 AM, Charles Srstka wrote:
>>
>> I think the problem is that if NSArray has +[NSArray array] returning an
>> NSArray, then NSMutableArray has to return an NSArray also, since it can't
>> have a
On Wed, Jun 11, 2008 at 11:35 AM, Charles Srstka
<[EMAIL PROTECTED]> wrote:
> On Jun 11, 2008, at 9:48 AM, Jens Alfke wrote:
>
>> (Xcode used to have a bug where if you did this it would "helpfully"
>> resolve the symlink and actually add the specific version file; but that's
>> been fixed for year
On Jun 11, 2008, at 12:29 AM, Jim Puls wrote:
For that matter, it may be worth pointing out John's confusion
between "sloppy" and "incorrect". He makes a decent point that
returning a mutable object when the method definition specifies an
immutable one is sloppy and, indeed, fraught with p
Folks, this is getting nowhere.
Chris Hanson (an apple engineer BTW) and Clark (and many others) have
stated the correct answer (simply summarized below)
time to put this one to rest. there is nothing to argue about here.
scott
On Jun 11, 2008, at 8:45 AM, Clark Cox wrote:
If you're goi
Is it expected behavior that when applying a CATransform3DMakeScale()
transform to a CALayer the layer's current bitmap information is what
gets scaled (using some type of filter) rather than asking the layer
to actually redraw itself into the, presumably, freshly transformed
context? Curre
Calling ALL COCOA MAC - OS PROGRAMMERSCAREER LAUNCHING STARTUP
WANTS YOU..
PLEASE SEND YOUR RESUMES to [EMAIL PROTECTED] Generously paying for
referrals as well. 2-5 years experience on COCOA ideal...with a passion
for brilliant startup team in SANTA MONICA. FULLTIME ONLY. RELOCATION
On Jun 11, 2008, at 10:49 AM, Sherm Pendley wrote:
Check the libraries with otool. Runtime dependencies come from the
install_name of the linked library, not from the filename that was
passed to the linker.
In which case it shouldn't matter at all whether Xcode is resolving
the symlink or no
On Wed, Jun 11, 2008 at 11:49 AM, Sherm Pendley <[EMAIL PROTECTED]> wrote:
> On Wed, Jun 11, 2008 at 11:35 AM, Charles Srstka
>
>> when building against the 10.4u SDK (if I were building against the 10.5
>> SDK, I'm sure it would link against libcurl.4.dylib and not work with Tiger
>> anymore).
>
>
On Jun 11, 2008, at 6:17 AM, Steven Huey wrote:
There's plenty of resources available for how to use a
NSPredicateEditor... I'm interested in creating a control to
represent a set of actions, not a predicate, which is why I'm more
interested in the NSRuleEditor. The NSPredicateEditor is a s
I have a plist that I will store on a server and my app will retrieve it.
I'd like to archive one of the keys (an array) into an NSData and possibly
compress it Makes for less storage and thus lower bandwidth for my
server.
myData = [NSArchiver archivedDataWithRootObject:(NSArray*)myArray];
W
On Jun 11, 2008, at 8:56 AM, Brian Christensen wrote:
Is it expected behavior that when applying a
CATransform3DMakeScale() transform to a CALayer the layer's current
bitmap information is what gets scaled (using some type of filter)
rather than asking the layer to actually redraw itself in
On Wed, Jun 11, 2008 at 12:12 PM, Charles Srstka
<[EMAIL PROTECTED]> wrote:
> On Jun 11, 2008, at 10:49 AM, Sherm Pendley wrote:
>
>> Check the libraries with otool. Runtime dependencies come from the
>> install_name of the linked library, not from the filename that was
>> passed to the linker.
>
>
Hi Douglas,
On Wed, Jun 11, 2008 at 5:30 PM, Douglas Davidson <[EMAIL PROTECTED]> wrote:
>
> On Jun 11, 2008, at 3:24 AM, Mattias Arrelid wrote:
>
>> Haven't anyone stumbled upon something similar, or a solution to this?
>
> I believe it was answered. You don't want to use setMarkedTextAttributes
Hi folks,
Could you please help me with my Interface Builder? It keep crashing and I
can't understand what is wrong.
The process to crash is:
1) Open IB
2) Select the Cocoa Touch window template
3) In the library window, objects tab, click on the "Library" option in the
first window at the top a
On Jun 11, 2008, at 12:37 , David Duncan wrote:
Effectively a CALayer represents a texture with the layer's contents
on the video card. As the docs say, transforms only affect geometry.
The texture does not include geometry, thus the current content is
scaled rather than being re-rendered.
On Jun 11, 2008, at 11:35 AM, Trygve Inda wrote:
I have a plist that I will store on a server and my app will
retrieve it.
I'd like to archive one of the keys (an array) into an NSData and
possibly
compress it Makes for less storage and thus lower bandwidth for my
server.
myData = [NSAr
On Jun 11, 2008, at 11:40 AM, Sherm Pendley wrote:
Yes, in fact it does matter. If Xcode resolves the symlink and stores
a direct reference to libz1.dylib, then it will continue to use that
even if you later move to a newer SDK with a newer version of libz.
When ld resolves the symlink, it does
>> myData = [NSArchiver archivedDataWithRootObject:(NSArray*)myArray];
>>
>> Will something archived with this under 10.5 be readable in 10.4?
>>
>> This seems like something an existing utility should be able to
>> do... Is
>> there something that does this? Or do I need to write a simple
>> cu
On Wed, Jun 11, 2008 at 1:03 PM, Charles Srstka
<[EMAIL PROTECTED]> wrote:
> On Jun 11, 2008, at 11:40 AM, Sherm Pendley wrote:
>
>> Yes, in fact it does matter. If Xcode resolves the symlink and stores
>> a direct reference to libz1.dylib, then it will continue to use that
>> even if you later mov
> Could you please help me with my Interface Builder? It keep crashing and I
> can't understand what is wrong.
Several things:
1 - You'd want to discuss problems with the developer tools themselves
on the xcode-users list. This has nothing to do with Cocoa.
2 - If it is crashing, there is a bug
On Jun 11, 2008, at 1:06 PM, Sherm Pendley wrote:
1. The more users can run your app, the more potential customers
you have.
2. The more users can run your app, the fewer e-mails you get
asking "why
can't I run this app?"
I fail to see the relevance of these points. Obviously, my goal is
How does one properly document all the relationship/connection
information that is created/maintained by Interface Builder and stored
in NIBS/XIBS?
I find it's possible (for me likely) to get lost in a maze of twisty
little relationships, all alike, that I don't hold together so well in
my head. W
Is there any method to sort NSToolbarItem objects for the representation
in the customization sheet which is shown on
runToolbarCustomizationPalette: ?
Any help is appreciated.
Ulf Dunkel
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
On 11 Jun '08, at 9:37 AM, David Duncan wrote:
Effectively a CALayer represents a texture with the layer's contents
on the video card. As the docs say, transforms only affect geometry.
The texture does not include geometry, thus the current content is
scaled rather than being re-rendered.
Guys, this may be my third time posting this to the list. It's not
showing up in my Sent box using the previous two methods, so if this is
a duplicate message, once again I apologize.
Using Chapter 9 of Aaron Hillegass' book, COCOA PROGRAMMING FOR MAC OS
as a model, I attempted to create a very s
On 11 Jun '08, at 9:35 AM, Trygve Inda wrote:
I have a plist that I will store on a server and my app will
retrieve it.
I'd like to archive one of the keys (an array) into an NSData and
possibly
compress it Makes for less storage and thus lower bandwidth for my
server.
Why not just co
On 11 Jun '08, at 11:45 AM, Adam Bridge wrote:
How does one properly document all the relationship/connection
information that is created/maintained by Interface Builder and stored
in NIBS/XIBS?
If you find out, let me know :(
I find it's possible (for me likely) to get lost in a maze of tw
Hi all,
I have bound a NSTreeController to a NSOutlineView. I am trying to
insert child nodes into this structure, but I cannot seem to make it
work. This is the code I originally used:
- (void)addChildren:(NSArray *)children toNode:(NSTreeNode *)node
{
NSXMLElement *parent = [node
On 11 Jun '08, at 12:43 PM, john darnell wrote:
I stepped through
showNewDialog and initWithWindowNibName so I know that that code is
being executed, but the second window never makes an appearance.
My first guess would be that, in NewDialogController.nib, the "window"
outlet of the file's
Hi,
In most text-based apps, you insert a newline by hitting return and a line
break by hitting shift-return. This isn't the default behaviour of NSTextView,
but both -insertNewline: and -insertLineBreak: are available as actions.
However, using interface builder it is impossible to add shift-r
Hey folks, I know that this has been discussed here before, but after
spending hours reading cocoa-dev posts, I have yet to find the solution.
The issue that I'm having is that I'm using NSTask to create a syslog
process with the -w option to continually parse specific syslog
entries. The p
>
> On 11 Jun '08, at 9:35 AM, Trygve Inda wrote:
>
>> I have a plist that I will store on a server and my app will
>> retrieve it.
>> I'd like to archive one of the keys (an array) into an NSData and
>> possibly
>> compress it Makes for less storage and thus lower bandwidth for my
>> server.
Hello Macprogrammers
I've a problem with my IKImageBrowser in combination with a
CollectionViewItem.
I have a NSWindow with a NSCollectionView and a NSArrayController. I
extended the NSCollectionViewItem to reference the IKImageBrowserView
in an outlet and use the NSCollectionViewItem as
On Wed, Jun 11, 2008 at 8:50 PM, Robert Sesek <[EMAIL PROTECTED]> wrote:
> I have no other ideas for how to get this to work. Basically, the tree
> displayed is incomplete, and as the user expands the tree, data is fetched
> from a server and then inserted beneath a node.
Do you really want to ad
I would like to create an NSImage starting from a c array. I have a
c array, e.g.,
float myArray[256][256];
Where the values go from 0.0 (will be black) to 1.0 (will be white)
I would like to may a gray level image [NSImage] from this array. I
have no idea of how to begin.
Thanks.
--
_
Hi folks,
I'm new to Cocoa, and I want to write an app which as a starting
point enumerates all available mass storage devices, possibly
including CD/DVDs, and presents the user with a list of mounted
devices. Similar to what Installer does to choose the installation
disk, but including n
On Jun 11, 2008, at 3:10 PM, Keith Blount wrote:
In most text-based apps, you insert a newline by hitting return and
a line break by hitting shift-return.
Most text-based apps on the Mac? Because the default Cocoa text
bindings use Control-Return or Control-Enter for insertLineBreak:.
Yo
On Wed, Jun 11, 2008 at 9:50 PM, Bill Prinzmetal <[EMAIL PROTECTED]> wrote:
> I would like to create an NSImage starting from a c array. I have a c
> array, e.g.,
>
> float myArray[256][256];
>
> Where the values go from 0.0 (will be black) to 1.0 (will be white)
> I would like to may a gray leve
On Jun 11, 2008, at 3:10 PM, Jason Bobier wrote:
The issue that I'm having is that I'm using NSTask to create a
syslog process with the -w option to continually parse specific
syslog entries. The problem is that if there are too few entries, I
never receive the notification.
I understand
On Jun 11, 2008, at 3:55 PM, Neil Brewitt wrote:
I'm new to Cocoa, and I want to write an app which as a starting
point enumerates all available mass storage devices, possibly
including CD/DVDs, and presents the user with a list of mounted
devices. Similar to what Installer does to choose t
On Wed, Jun 11, 2008 at 3:55 PM, Neil Brewitt <[EMAIL PROTECTED]> wrote:
> I'm new to Cocoa, and I want to write an app which as a starting point
> enumerates all available mass storage devices, possibly including CD/DVDs,
> and presents the user with a list of mounted devices. Similar to what
> In
Thank you, Jens. That did the trick, though it took me a couple of
bonehead (no offense meant to any Minbari reading this list) false runs
to figure it out.
R,
John
> -Original Message-
> From: Jens Alfke [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, June 11, 2008 2:54 PM
> To: john darne
Hey Ken,
I was originally going to use the ASL api, but it seems to require
polling. Looking through the asl code, I noticed that the syslog
command didn't poll on Leopard and between that and the different
ASL_KEY_TIME formats on Tiger and Leopard, I decided to use the
syslog -w 5000 -F
On 11 Jun 2008, at 22:14, Ken Thomases wrote:
Take a look at NSWorkspace, especially its -mountedLocalVolumePaths
and -mountedRemovableMedia methods, as well as its
NSWorkspaceDidMountNotification and
NSWorkspaceDidUnmountNotification notifications.
For more in-depth information without d
Hi Ken,
Many thanks for your reply.
> In most text-based apps, you insert a newline by hitting return and
> a line break by hitting shift-return.
Most text-based apps on the Mac? Because the default Cocoa text
bindings use Control-Return or Control-Enter for insertLineBreak:.
A-hem. How em
Hello,
I've got some code similar to the following, in which I loop in a
list of image files and draw their content to another image.
I'm working with X-Code3 under Leopard with Garbage Collection ON, but
something seems to go wrong, because at the end of all the operations
the memory is
On Jun 11, 2008, at 4:39 PM, Keith Blount wrote:
Thanks. Yes, I know I can access such methods via the delegate
method, but my text view is already heavily subclassed to add a lot
of new features anyway. Whilst I could achieve the same in a
delegate method, wherever it is, I was really wond
On 11 Jun '08, at 1:14 PM, Manuel wrote:
But the IKImageBrowserView doesn't call these methods. I setup a
testmethod in the MYNSCollectionViewItem like the following code, to
verify that the imagebrowser outlet is set and to set again the
datasource:
Hm, I don't have any exact ideas, but
On 11 Jun '08, at 2:00 PM, Hamish Allan wrote:
You could perhaps Google "NSImage", click on the second result, "Cocoa
Drawing Guide: Creating NSImage Objects", and look at the section
"Creating a Bitmap"...
Or similarly, open the Xcode documentation viewer, type "NSImage",
click the class N
On Jun 11, 2008, at 3:53 PM, Stefano Falda wrote:
I'm working with X-Code3 under Leopard with Garbage Collection ON,
but something seems to go wrong, because at the end of all the
operations the memory is not released (in Activity Monitor there are
>400 MB still active that disappear if I
Hi everyone,
I am writing an app that uses multiple layers to display objects that move
over a static background (which is drawn in its own layer). After the
animation completes, I do no longer need all those layers and I guess that
it would be more efficient to "merge" all these layers into a sin
Hello,
Does anyone know how to unvend an object? I found this thread on the
list:
http://lists.apple.com/archives/Cocoa-dev/2002/Mar/msg00710.html
but it didn't seem to have any definitive answer.
Am I missing something obvious?
Thanks,
Mike
___
On Jun 11, 2008, at 6:05 PM, Mike Manzano wrote:
Does anyone know how to unvend an object? I found this thread on the
list:
http://lists.apple.com/archives/Cocoa-dev/2002/Mar/msg00710.html
but it didn't seem to have any definitive answer.
Am I missing something obvious?
Contrary to that l
Yes, that is how you do it.
Jason
On Jun 11, 2008, at 7:09 PM, Ken Thomases wrote:
On Jun 11, 2008, at 6:05 PM, Mike Manzano wrote:
Does anyone know how to unvend an object? I found this thread on
the list:
http://lists.apple.com/archives/Cocoa-dev/2002/Mar/msg00710.html
but it didn't se
This is driving me absolutely nuts.
As a test, I have an NSTreeController and an NSOutlineView within the
same nib of a CoreData application (Leopard). If I bind the columns of
the outline view to the controller directly within IB, it works as
expected. eg:
ShapeTC->arrangedObjects.name (
6/11/08 3:07 AM, also sprach [EMAIL PROTECTED]:
> XMLParseDataRef
>
> to parse xml, but the parse does not accept empty attributes:
>
> My code look like this:
>
> sXMLStartElementUPP =
> (StartElementHandlerUPP)NewStartElementHandlerUPP(StartElementHandler);
> sXMLEndElementUPP =
> (En
On Jun 11, 2008, at 6:44 PM, Daniel Price wrote:
As a test, I have an NSTreeController and an NSOutlineView within
the same nib of a CoreData application (Leopard). If I bind the
columns of the outline view to the controller directly within IB, it
works as expected. eg:
ShapeTC->arrangedO
Hi all,
I have a document based application with 2 kinds of documents:masters
and slaves
When saving the master document, all its slaves are also saved.
So I override one of the writeToURL method of the master class
document to send the appropriate writeToURL to its slaves.
My app also does
Hi all,
This is not directly a Cocoa question, but I hope someone will know
the answer to saving me jumping through all the hoops needed to join
another list.
I have a project which builds a static library from some pure C code.
I want to use this library in another Cocoa project. I've se
No, I haven't tried it (yeah, I know I should have). I just don't have
any code at the moment to hit up against my vended object to see if
it's still around after setRootObject:nil. I will try this and see if
it works when I get to the client part.
Thanks,
Mike
On Jun 11, 2008, at 4:09 P
On Jun 11, 2008, at 6:29 PM, Graham Cox wrote:
I have a project which builds a static library from some pure C
code. I want to use this library in another Cocoa project. I've set
up the cross-project dependency and included the .a file in the
Cocoa project. When the Cocoa project builds it
Another thing you can do (for debugging, if nothing else)
is to just run the "mount" Unix command. This gives you
a quick list of everything you should expect to find
through the APIs.
For instance:
% mount
/dev/disk1s9 on / (hfs, local, journaled)
devfs on /dev (devfs, local)
fdesc on /dev (fd
On 12 Jun 2008, at 10:48 am, Nick Zitzmann wrote:
if possible, recompile the library with support for the unsupported
architectures.
OK, that sounds what I'd like to do.
The app that uses the library is universal, so I think you're right in
that there is a mismatch between the lib and th
Hi Graham,
In my experience, this warning generally does mean that there is something
wrong in the build target settings for either the static library or the
application including the library.
Until I know more, this is the only thing I can suggest. Assuming you are
using Xcode for the project of
On Jun 11, 2008, at 4:44 PM, Daniel Price wrote:
As a test, I have an NSTreeController and an NSOutlineView within
the same nib of a CoreData application (Leopard). If I bind the
columns of the outline view to the controller directly within IB, it
works as expected. eg:
ShapeTC->arrangedO
On Jun 11, 2008, at 7:01 PM, Graham Cox wrote:
Problem I'm having is that in the build settings, the architectures
settings states 'i386', but when I try and change it, I get a drop-
down that offers 32-bit or 64-bit, it does not offer a way to select
i386 and/or PPC.
You'll need to manu
On Jun 11, 2008, at 6:57 PM, Ken Thomases wrote:
From the -[NSTreeController arrangedObjects] documentation:
Returns a proxy root tree node containing the receiver’s sorted
content objects.
- (id)arrangedObjects
Discussion
This property is observable using key-value observing.
Special Cons
On Jun 11, 2008, at 6:01 PM, Graham Cox wrote:
On 12 Jun 2008, at 10:48 am, Nick Zitzmann wrote:
if possible, recompile the library with support for the unsupported
architectures.
OK, that sounds what I'd like to do.
The app that uses the library is universal, so I think you're right
in
Hi All,
I need to access some files in the Applications folder and in order to
do so I did the following:
1. I've created a tool that copies the files into the Applications
folder (using NSFileManager)
2. I'm invoking the tool using AuthorizationExecuteWithPrivileges()
3. In the tool I'm c
1 - 100 of 118 matches
Mail list logo