On Jun 8, 2008, at 10:59 PM, Ron Fleckner wrote:
Is updateCursor: a Leopard thing? I'm still on Tiger and there's no
such method on my machine that I could find. If it is your own
method, why can't you just call it yourself? I guess I don't really
understand your problem.
Yes it's new
On Jun 8, 2008, at 11:48 PM, Chris Hanson wrote:
On Jun 8, 2008, at 5:39 PM, John Engelhart wrote:
On Jun 7, 2008, at 7:11 PM, Chris Hanson wrote:
This won't happen because each message expression -- just as with
function-call expressions -- is a sequence point. The compiler
can't know
Le 9 juin 08 à 09:56, John Engelhart a écrit :
On Jun 8, 2008, at 11:48 PM, Chris Hanson wrote:
On Jun 8, 2008, at 5:39 PM, John Engelhart wrote:
On Jun 7, 2008, at 7:11 PM, Chris Hanson wrote:
This won't happen because each message expression -- just as with
function-call expressions -
El 09/06/2008, a las 3:06, Nathan Kinsinger escribió:
On Jun 8, 2008, at 4:02 PM, Joan Lluch (casa) wrote:
Ok, I did it. This is now a confirmed bug. To reproduce it:
Modify the OutlineEdit example as follows:
1- In IB add set the "highlight" property of the outlineView to
"Source List"
Thanks for the reply. I'm not on my Mac now, and the code is a bit messy
because of all the experiments, but here are my assumptions:
My value transformer returns an instance of NSMutableArray, that becomes the
value of the NSTokenField
Its transormedValue: takes an NSSet (actually it's a collecti
On Jun 8, 2008, at 10:03 PM, John Engelhart wrote:
The result from [data self] is invariant, it does not matter if it
is executed immediately after the object is instantiated or just
before [data release], the result is always the same.
There is no way in the Objective-C language as it curr
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Message-ID: <[EMAIL PROTECTED]>
X-Sender: [EMAIL PROTECTED]
Received: from 82-68-202-222.dsl.in-addr.zen.co.uk [82.68.202.222] with
HTTP/1.1 (POST); Mon, 09 Jun 2008 04:49:35 -0600
User-Agent: RoundCube Webmail/0.1-rc2
Content-Type: text/plain; charse
On Jun 9, 2008, at 12:56 AM, John Engelhart wrote:
The semantics are preserved and identical results are calculated
(the 'meaning' is the same). The semantics do not require square()
to literally be called each time.
Yes, that is very clear, because the compiler can have full knowledge
t
Check out NSScreen documentation for the -(NSRect)visibleFrame method.
On Jun 9, 2008, at 6:49 AM, Memo Akten wrote:
<[EMAIL PROTECTED]> <[EMAIL PROTECTED]
>
Message-ID: <[EMAIL PROTECTED]>
X-Sender: [EMAIL PROTECTED]
Received: from 82-68-202-222.dsl.in-addr.zen.co.uk [82.68.202.222]
with
On 9 Jun 2008, at 00:53, Chris Kane wrote:
On 7 Jun 2008, at 09:07, Antonio Nunes wrote:
On 7 Jun 2008, at 06:16, Ken Thomases wrote:
The issue is, how can one know when this technique is necessary?
By proper documentation. As Bill mentioned earlier, the
documentation needs to mention this
thanks! works great!
On Mon, 9 Jun 2008 07:27:01 -0400, "douglas a. welton"
<[EMAIL PROTECTED]> wrote:
> Check out NSScreen documentation for the -(NSRect)visibleFrame method.
>
> On Jun 9, 2008, at 6:49 AM, Memo Akten wrote:
>
>> <[EMAIL PROTECTED]>
> <[EMAIL PROTECTED]
>> >
>> Message-ID: <[E
Hello,
When I create a new xcode project of type Interface Builder Plugin,
and then build and run, everything works fine in the interface builder
window that pops up. However, if I then go into the release folder and
double-click on "MyIBPlugin.ibplugin", I get this error message:
The doc
Hi,
I'd like to make a cell of an NSTableView to be in an editing state
programmatically, without click or double-click on the cell.
The NSTableView is bound to an NSArrayController. I could bind them in IB
and when you press Add button (its target is the NSArrayController and its
action is NSArra
Hi there,
I am new to Cocoa and XCode and have spent the most recent part of my
20+ years of programming using Ruby rather extensively.
Part of the kool-aid in Ruby land is test-driven and behavior driven
development practices (TDD/BDD).
To go from that approach, where you generally start
On Mon, Jun 9, 2008 at 2:34 PM, David Troy <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I am new to Cocoa and XCode and have spent the most recent part of my 20+
> years of programming using Ruby rather extensively.
>
> Part of the kool-aid in Ruby land is test-driven and behavior driven
> developmen
Please log this as a bug, and include the radar number in the post
(even if you can't open them, it is useful for Apple engineers).
-corbin
Thanks for posting this. I found an even simpler example app that
will crash. You can download it at:
http://developer.apple.com/samplecode/Abstract
El 09/06/2008, a las 18:00, Corbin Dunn escribió:
Please log this as a bug, and include the radar number in the post
(even if you can't open them, it is useful for Apple engineers).
-corbin
Thanks for posting this. I found an even simpler example app that
will crash. You can downloa
On Jun 9, 2008, at 2:56 AM, John Engelhart wrote:
Well, in the case of your example, you have a bug: You have
statically typed the class to NSArray, not your subclass. If one
applies the 'attribute only applies to the class it was specified
for' rule:
By statically typing the class to NS
On Jun 9, 2008, at 4:08 AM, Orestis Markou wrote:
If I have allowReverseTransformedValue set to YES, then double
clicking the
row will not show the NSTokenField. The reverseTransformedValue
isn't called
at all.
Do any exceptions or other errors get logged to the console?
Charles
_
On Mon, Jun 9, 2008 at 12:21 PM, carbonat <[EMAIL PROTECTED]> wrote:
> Cobin, I have already posted it in the bug reporter page, but I didn't hear
> of the radar number. What is
> it?
Log in to the bug reporter (a.k.a. Radar) and look in the leftmost
column of the "Open" tab of the "My Originated
> If you're designing a data model using Core Data, it's actually very
> useful to step back and look at your data the way a layperson would.
> By this I mean forget about classes and inheritance and all that
> stuff. You can come back to it later, but the main thing is to look at
> the problem in
On Jun 9, 2008, at 6:51 AM, Chris Hanson wrote:
On Jun 9, 2008, at 12:56 AM, John Engelhart wrote:
The semantics are preserved and identical results are calculated
(the 'meaning' is the same). The semantics do not require square()
to literally be called each time.
Yes, that is very clea
On Jun 9, 2008, at 8:34 AM, David Troy wrote:
Hi there,
I am new to Cocoa and XCode and have spent the most recent part of
my 20+ years of programming using Ruby rather extensively.
Part of the kool-aid in Ruby land is test-driven and behavior driven
development practices (TDD/BDD).
To
On Jun 09, 2008, at 15:34, David Troy wrote:
Part of the kool-aid in Ruby land is test-driven and behavior driven
development practices (TDD/BDD).
To go from that approach, where you generally start writing tests
and specs before you start writing code, to Cocoa, where I get a lot
of OO g
On Jun 9, 2008, at 10:24 AM, John Engelhart wrote:
This is not a bug. This is fundamental to how object-oriented
programming works! You should always be able to pass an instance
of a subclass wherever an instance of the superclass is expected.
You're mistaken. You have statically typed t
I have a document-based app in which I'm trying to bind the state of
NSMenuItems to values in my document's window controller. For
example, in the window's nib file, I have a checkbox bound to File's
Owner/autoscaleX. I'd like the menu item to have the same
functionality as that check box a
On Jun 9, 2008, at 6:43 AM, Jonathan del Strother wrote:
Take a look at SenTestingKit (and particularly Chris Hanson's
excellent guide to setting it all up -
http://chanson.livejournal.com/182472.html).
Thanks for the kind words! I have a couple of additional posts on my
weblog which I thin
On Mon, Jun 9, 2008 at 7:02 PM, Chris Hanson <[EMAIL PROTECTED]> wrote:
> The reason these kinds of methods have a return type of (id) is that there
> is no way to say "returns an object of the receiver's class." For example,
> +[NSArray array] returns (id) rather than (NSArray *) because otherwi
The CIFilterBrowser widget is mentioned in the docs but no search I have
done will turn it up anywhere. Does it exist?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Cont
I'd like to disable the fade in animation when an NSCollectionView
loads.
In my project, disabling "automatically hide scroller" and showing
vertical and horizontal scrollers made it not fade for a while, but
for some reason the fade is back.
The content of the collection view is comes fr
On Jun 9, 2008, at 11:17 AM, Hamish Allan wrote:
On Mon, Jun 9, 2008 at 7:02 PM, Chris Hanson <[EMAIL PROTECTED]> wrote:
The reason these kinds of methods have a return type of (id) is
that there
is no way to say "returns an object of the receiver's class." For
example,
+[NSArray array] re
My data objects are viewed in an NSOutlineView, and additional
attributes of the selected item appear in an Inspector panel.
I have tried to implement MVC by funneling any data-model property
change in any view to send a -changeObjectProperty::: message which
updates the model, registers un
On Jun 9, 2008, at 2:25 PM, Gordon Apple wrote:
The CIFilterBrowser widget is mentioned in the docs but no search
I have
done will turn it up anywhere. Does it exist?
Apparently it's something you have to download. I did a full-text
search for CIFilterBrowser in Xcode's doc window, and
The widget used to be available when you logged in to the ADC site.
My quick check didn't find it there, so it may be history.
If you want to make your own version of the widget, open the
documentation for the Core Image Filter Reference in Safari and fire
up the Core Image Fun House app a
On Jun 9, 2008, at 11:07, Steve Nicholson wrote:
I have a document-based app in which I'm trying to bind the state of
NSMenuItems to values in my document's window controller. For
example, in the window's nib file, I have a checkbox bound to File's
Owner/autoscaleX. I'd like the menu item
I have a CIImage that is the result of applying a CIFilter on another image.
Now I want to convert the result image into a CVImageBuffer. Is there some
straight-forward way to do this?
I've spent quite some time scanning the documentation to figure out a way to
do so, but no luck.
Thanks,
John
___
On Mon, Jun 9, 2008 at 3:06 PM, douglas a. welton
<[EMAIL PROTECTED]> wrote:
> The widget used to be available when you logged in to the ADC site. My
> quick check didn't find it there, so it may be history.
I'm pretty sure I got it by default by installing the dev tools. Are
you sure, Gordon, t
On Jun 8, 2008, at 10:34 PM, Apparao Mulpuri wrote:
In my Multi monitor application, i have to list out application
names with respect to each monitor.
Ex: Lets say Monitor 1(Primary monitor) having iTunes, AddressBook,
Calculator and TextEdit(Multi Doc) application windows and Monitor2
having
Thanks Jonathan for the pointers and thanks, Chris, for your work on
the subject.
I am sure I will be using these articles to get up to speed on Cocoa
TDD, however slowly that may be.
Thanks again!
Regards,
Dave
On Jun 9, 2008, at 6:43 AM, Jonathan del Strother wrote:
Take a look at Se
#$%^&*(! docs said you had to download it from ADC. I took them at
their word. Thanks. It's there.
> On Mon, Jun 9, 2008 at 3:06 PM, douglas a. welton
> <[EMAIL PROTECTED]> wrote:
>> The widget used to be available when you logged in to the ADC site. My
>> quick check didn't find it there
And I didn't find it in Spotlight because the name of the widget is
"CI Filter Browser", with spaces.
Reminds me of the time I went nuts trying to find Moriarity, assuming
it was spelled Moriarty, which is the name of Sherlock Holmes's nemesis.
--Andy
On Jun 9, 2008, at 4:20 PM, Gordon App
If a CALayer has many sublayers, what is the best way to find out the layer
that should receive mouse click event?
Is there a good example of handling mouse event for layer-based NSView?
Thanks,
--
Wayne Shao
___
Cocoa-dev mailing list (Cocoa-dev@lists
just a quick reminder that the WWDC content, aside from this morning's
keynote, is covered by non-disclosure and should not be discussed here.
scott
moderator
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
one more followup since I've been asked a couple of times now...
the iPhone SDK is still in effect. discussion of those frameworks here
is still embargoed.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests o
All object ivars (except the array for the next lower-level),
including those of Shapes,
reside in dictionaries. These have certain required properties plus many
optional properties, some not currently defined and some possibly not even
know to the containing object.
Assuming a large fraction
I need help parsing a large text file.
I need to examine the file one line at a time.
It's a 128MB text file.
I used the stringWithContentsOfFile method from the NSString class,
but the file is too large and it doesn't seem very optimized to me,
because what I need is parse one line at a time
On 2008 Jun, 09, at 12:57, Quincey Morris wrote:
Doing this through bindings involves re-inventing a bit of stuff
that NSResponder normally takes care of, but it need not be too
difficult. For example, you could
Or something like that.
Well, last year sometime I wanted to bind some me
You'd need to open the file using NSStream, NSFileHandle or regular c
stdio, then read chunks out of it and break them into lines.
--Jens // via iPhone
On Jun 9, 2008, at 2:04 PM, "Abel J. Almeida" <[EMAIL PROTECTED]
> wrote:
I need help parsing a large text file.
I need to examin
The GeekGameBoard sample app demonstrates this. Look in the BoardView
class.
--Jens // via iPhone
On Jun 9, 2008, at 1:41 PM, "Wayne Shao" <[EMAIL PROTECTED]> wrote:
If a CALayer has many sublayers, what is the best way to find out
the layer
that should receive mouse click event?
On Mon, Jun 9, 2008 at 7:39 PM, Chris Hanson <[EMAIL PROTECTED]> wrote:
> It is perfectly legal to return an NSMutableArray from a hypothetical
> +(NSArray *)array method.
>
> However, all the sender of that +(NSArray *)array message can know is that
> the result can be treated as an NSArray. It
On Jun 9, 2008, at 2:04 PM, Abel J. Almeida wrote:
I need help parsing a large text file.
I need to examine the file one line at a time.
It's a 128MB text file.
I used the stringWithContentsOfFile method from the NSString class,
but the file is too large and it doesn't seem very optimized to
On Jun 8, 2008, at 7:26 PM, Wayne Shao wrote:
So what exactly I should do in the start() method??
I think if you don't know, then you shouldn't be configuring your
operation as concurrent.
I think that Apple chose badly in describing operations as
"concurrent". What that really means is
On Jun 8, 2008, at 8:04 PM, Daniel Child wrote:
You could also establish the bindings through File's
Owner.delegate.. It amounts to the same thing
for this nib. In other nibs, the application delegate won't
actually be in that same nib, and so the ability to refer to it
via a key path f
Thank you to everyone who pointed out that I should implement my delegates
based on signatures found in the documentation for NSControl, not NSTextField.
I got the faulty signatures I used from the section of the documentation
labeled 'NSText Delegate Method Implementations'. I guess that from n
On 8 Jun '08, at 7:48 PM, kim wrote:
As near as I can tell nothing at all has changed, the Calculate
object is properly defined (no compiler warnings or errors) but it
would seem that the symbol table is not up to date?
(Not to nit-pick, but you mean "class" instead of "object". It does
On 8 Jun '08, at 5:26 PM, Wayne Shao wrote:
So what exactly I should do in the start() method??
Whatever you need to do to start the operation. It should return ASAP
since it's not being run on a background thread.
If I create a thread,
does the operation queue still enforce maxConcurren
On 7 Jun '08, at 10:24 AM, Kyle Sluder wrote:
1) There are certain basics like regex support that people are upset
at Apple for not implementing because it seems like such an important
part of the concept of strings.
Agreed, and I made this argument many times while there. Part of the
probl
On 8 Jun '08, at 3:39 AM, Michael Ash wrote:
I never cared about the lack of regex support personally, although I
understand that people do use them. As far as a blessed solution goes,
"man regex" gives you a library that's in libSystem and is part of
POSIX, so it's as supported as you can get.
On Jun 9, 2008, at 2:15 PM, Scott Anguish wrote:
one more followup since I've been asked a couple of times now...
the iPhone SDK NDA is still in effect. discussion of those
frameworks here is still embargoed.
^^^
___
Cocoa-de
On Jun 9, 2008, at 8:12 PM, Jens Alfke wrote:
On 7 Jun '08, at 10:24 AM, Kyle Sluder wrote:
1) There are certain basics like regex support that people are upset
at Apple for not implementing because it seems like such an important
part of the concept of strings.
Agreed, and I made this argu
I'm getting an access violation (inside NSTableView) when I close a
window by command-W but not when I close it by clicking the close
widget. I don't understand why it would make a difference.
I have a nib containing a window and an NSWindowController subclass.
It's not a document-based a
Hey Steve -
You would encounter a similar problem if you directly launched an
application built from a project that had an application and framework
target where the application linked the framework. The reason for this
is that frameworks have install paths. An Install path is a location a
Hey all,
I'm going to be creating a Cocoa ui that will need to be able to
display, side-by-side, a variable number of copies of the same view
(ie: the view will have labels, and text fields and buttons but each
view will show different data).
Is there an easy and nice way to do this in Cocoa
On Jun 9, 2008, at 9:03 PM, Jonathan Hess wrote:
Hey Steve -
You would encounter a similar problem if you directly launched an
application built from a project that had an application and
framework target where the application linked the framework. The
reason for this is that frameworks
On 6/9/08, Adam R. Maxwell <[EMAIL PROTECTED]> wrote:
>
> Unfortunately, I think filing bug reports on this is a waste of time at
> this point. I'm still using AGRegex, which is based on a pretty ancient
> PCRE, but it's predated by (at least) MOKit and OFRegularExpression:
Filing bugs against t
On Jun 9, 2008, at 7:57 PM, Jens Alfke wrote:
On 8 Jun '08, at 7:48 PM, kim wrote:
As near as I can tell nothing at all has changed, the Calculate
object is properly defined (no compiler warnings or errors) but it
would seem that the symbol table is not up to date?
(Not to nit-pick, but
On Jun 9, 2008, at 9:07 PM, SD wrote:
I'm going to be creating a Cocoa ui that will need to be able to
display, side-by-side, a variable number of copies of the same view
(ie: the view will have labels, and text fields and buttons but each
view will show different data).
See:NSColle
On 09 Jun 08, at 21:03, James W. Walker wrote:
I'm getting an access violation (inside NSTableView) when I close a
window by command-W but not when I close it by clicking the close
widget. I don't understand why it would make a difference.
I have a nib containing a window and an NSWindowCon
On 09 Jun 08, at 21:07, SD wrote:
resize the window (is there a way to do this nicely like System
Preferences does)
Yep. -[NSWindow setFrame:display:animate:]. CoreAnimation can probably
do the job too, but it's unnecessary if all you want is a smooth resize.
___
On Jun 9, 2008, at 9:11 PM, Adam R. Maxwell wrote:
I thought I read on the Xcode users list that Xcode is using ICU for
regex find-and-replace, so it's too bad the rest of us can't use it.
I recall the same. And further, I am of the understanding that
NSPredicate uses ICU for its pattern m
Until now I have created my GUIs using IB. I want a better
understanding of what goes on "under the hood" of instantiating a
Nib, so decided to try adding a button to a window programmatically.
I can't get the button to appear, and so presume I am missing some
fundamental concept. Here's
On Jun 9, 2008, at 9:18 PM, Andrew Farmer wrote:
On 09 Jun 08, at 21:03, James W. Walker wrote:
I'm getting an access violation (inside NSTableView) when I close a
window by command-W but not when I close it by clicking the close
widget. I don't understand why it would make a difference.
On Mon, Jun 9, 2008 at 8:17 PM, Jens Alfke <[EMAIL PROTECTED]> wrote:
>
> On 8 Jun '08, at 3:39 AM, Michael Ash wrote:
>
>> I do this with a fair amount of regularity. NSString is unsuitable for
>> working with data whose encoding is unknown or doubtful, and NSData
>> doesn't have any string-like f
Toggle the release when closed setting on the window nib? See the docs
for -[NSWindow setReleasedWhenClosed:]
Joe K.
On Jun 9, 2008, at 10:30 PM, James W. Walker wrote:
On Jun 9, 2008, at 9:18 PM, Andrew Farmer wrote:
On 09 Jun 08, at 21:03, James W. Walker wrote:
I'm getting an access v
On 10-Jun-08, at 2:28 AM, Stuart Malin wrote:
Until now I have created my GUIs using IB. I want a better
understanding of what goes on "under the hood" of instantiating a
Nib, so decided to try adding a button to a window programmatically.
I can't get the button to appear, and so presume
You haven't set the button's frame size. If you use -initWithFrame:
and pass something sensible that should work. Note - because NSButton
subclasses NSView, the designated initializer for NSView
(initWithFrame;) must be used.
hth,
Graham
On 10 Jun 2008, at 3:28 pm, Stuart Malin wrote:
U
On 09 Jun 08, at 22:28, Stuart Malin wrote:
Until now I have created my GUIs using IB. I want a better
understanding of what goes on "under the hood" of instantiating a
Nib, so decided to try adding a button to a window programmatically.
I can't get the button to appear, and so presume I am
I have been trying to find a solution to this for a long time: I want
to have a action method to execute when I doubleclick in an
NSOutlineView cell to start editing it.
In an ordinary NSTextField delegate method textShouldBeginEditing, but
that doesn't work for NSTextCell.
Ivan
___
hi all,
I'm having some trouble compiling a JNI lib on Osx. I get the following "Undefined
synbols" errors ... does anyone have a pointer? Very much appreciated!
Brien
cc -bundle -I/System/Library/Frameworks/JavaVM.framework/Headers -o
libName.jnilib -framework JavaVM JNITabletjnilib.m
Unde
On Jun 9, 2008, at 10:44 PM, Joseph Kelly wrote:
Toggle the release when closed setting on the window nib? See the
docs for -[NSWindow setReleasedWhenClosed:]
Tried that, didn't seem to make any difference to the crash. (Right
now I have it off, and with the controller autorelease fix, I
Hi all,
I have a lengthy routine that I'd like to show a progress bar for. The
routine runs in a while() loop, and calls a delegate which implements
the progress update. My progress window opens OK but nothing gets
updated, though I know that it's getting the correct values set.
I'm assum
To answer my own question:
Use the NSOutlineView delegate method
outlineView:shouldEditTableColumn:item:
Ivan
Den 10. juni. 2008 kl. 08:11 skrev Ivan C Myrvold:
I have been trying to find a solution to this for a long time: I
want to have a action method to execute when I doubleclick in a
On 09 Jun 08, at 23:15, brien colwell wrote:
hi all,
I'm having some trouble compiling a JNI lib on Osx. I get the
following "Undefined synbols" errors ... does anyone have a pointer?
Very much appreciated!
void *a_pointer = 0x90A4BCED;
No, but seriously...
cc -bundle -I/System/Library/F
On Jun 9, 2008, at 11:24 PM, Graham Cox wrote:
I have a lengthy routine that I'd like to show a progress bar for.
The routine runs in a while() loop, and calls a delegate which
implements the progress update. My progress window opens OK but
nothing gets updated, though I know that it's get
84 matches
Mail list logo