This might be a stupid question, but the person who is building
against your framework is using a debug version as opposed to a
release version, correct?
On Apr 26, 2008, at 6:20 AM, Graham Cox wrote:
I have a funny problem which is proving difficult to fix.
I have a framework which I've
On Sun, Apr 27, 2008 at 3:34 PM, Quincey Morris
[EMAIL PROTECTED] wrote:
On Apr 26, 2008, at 23:14, an0 wrote:
Setting a cursor always works, but is useless if something else changes
it immediately afterwards. I think that might be what's happening here.
(Also, if view comes from a NIB,
In fact not a stupid question.
There was one place in the framework where a couple of ivars were
conditionally defined for debugging. Originally the #define for these
was in the header itself, so you could easily allow them or not, but
someone decided this would be better off in the
Ok, I finally solved my problem...
I do NOT need an NSObjectController! Perhaps you got me wrong about
what I tried to accomplish.
The problem was, that I was binding the value of my buttons to bools
that did not directly belong to my controller class but to an
attribute of my controller
I've found that trashing the build folder is often a worthwhile step,
and one other thing someone pointed out to me, is that you should do
it when Xcode is not running. Otherwise it can still mysteriously
remember some things that it's cached.
Ian.
On 27/04/2008, at 9:47 PM, Graham Cox
Le 27 avr. 08 à 06:33, Jens Alfke a écrit :
On 26 Apr '08, at 6:50 PM, Cocoa Dev wrote:
I was wondering what was the best way to calucate folder size with
cocoa? I
was able to do this but it does not include resource forks:
I think you'll need to drop down to a lower-level API to get the
On Apr 27, 2008, at 6:33 AM, Jens Alfke wrote:
On 26 Apr '08, at 6:50 PM, Cocoa Dev wrote:
I was wondering what was the best way to calucate folder size with
cocoa? I
was able to do this but it does not include resource forks:
I think you'll need to drop down to a lower-level API to get
Le 27 avr. 08 à 15:02, Laurent Cerveau a écrit :
On Apr 27, 2008, at 6:33 AM, Jens Alfke wrote:
On 26 Apr '08, at 6:50 PM, Cocoa Dev wrote:
I was wondering what was the best way to calucate folder size with
cocoa? I
was able to do this but it does not include resource forks:
I think
Alli,
I was having problems with my radio group as well. Everything seemed
to be coded correctly but when I referenced the radio button it was
never set. The matrix 1 row by 2 columns (2 radio buttons).
my code was:
IBOutlet NSMatrix *IB_timeInterval;
I set method
I just had a light bulb moment (oops, I should have said a super-
bright white LED moment) - what if Apple were to include a macro-
expansion tool in XCode (4, anybody?)? The idea would be that - if
you have a problem in which you are having trouble with hard-to-find
compilation errors,
On Sun, Apr 27, 2008 at 11:29 AM, William Squires [EMAIL PROTECTED] wrote:
I just had a light bulb moment (oops, I should have said a super-bright
white LED moment) - what if Apple were to include a macro-expansion tool
in XCode (4, anybody?)? The idea would be that - if you have a problem in
At 02:49 -0700 27/04/08, [EMAIL PROTECTED] wrote:
From: Jens Alfke [EMAIL PROTECTED]
References: [EMAIL PROTECTED]
In-Reply-To: [EMAIL PROTECTED]
Date: Sat, 26 Apr 2008 21:33:26 -0700
Message-ID: [EMAIL PROTECTED]
On 26 Apr '08, at 6:50 PM, Cocoa Dev wrote:
I was wondering what was the best way
Hi,
I'm trying to call an AppleScript from my Cocoa application, I've
copied the code from http://developer.apple.com/technotes/tn2006/tn2084.html
but my application will crash once called.
I did change the script to:
NSAppleScript* scriptObject = [[NSAppleScript alloc] initWithSource:
Le 27 avr. 08 à 20:27, Mohsan Khan a écrit :
Hi,
I'm trying to call an AppleScript from my Cocoa application, I've
copied the code from http://developer.apple.com/technotes/tn2006/tn2084.html
but my application will crash once called.
I did change the script to:
NSAppleScript*
Hi,
Is there a proper method for updating a framework stored within
subversion? I recently pulled my common code out into a framework,
then added the framework back into my project.
Now, if I make changes to the framework and recopy over the new
framework, I get 155005 errors because the .svn
On Apr 27, 2008, at 12:39 PM, Brian Krisler wrote:
Is there a proper method for updating a framework stored within
subversion? I recently pulled my common code out into a framework,
then added the framework back into my project.
Now, if I make changes to the framework and recopy over the new
My IKImageBrowserView bound to an ArrayController is now spitting out
this error when the program launches
--ImageKit Error: reloadData called in non main thread
When I unbind it the error goes away along with the content no longer
being displayed. Any idea what could cause this?
Adam
On Sat,
On 2008 Apr, 27, at 2:47, Graham Cox wrote:
I'd still like to know more about how all this actually works - I
feel I'm groping in the dark when things go wrong.
Graham, welcome to the apparently small club (about 3-4 oddballs) who
care about what version and configuration of their private
The debugger kicks in and stops at #0 0x7fff80e73d50 in
_objc_fixupMessageRef in a long call stack.
Do I need do include something in my project, settings etc ?
On sö 27 apr 2008, at 20.59, Jean-Daniel Dupas wrote:
Le 27 avr. 08 à 20:27, Mohsan Khan a écrit :
Hi,
I'm trying to call
Hi all.
Recently I noticed that one of the scrollers in my app was drawing a
bit oddly on launch. What happens is that the vertical scroller draws
as if both the horizontal and vertical scrollers were visible (e.g. a
little empty white box below the down button). However, only the
Others have answered with good suggestions for other APIs, but I will
point out for the record that you can do it in Cocoa, too, because the
file system has a path-based mechanism in which ..namedfork/rsrc is
appended to the path. For example, in Terminal:
$ ls -li Documents//Example.doc
I have an NSPopUpButton populated with some NSMenuItems that have
images. I'm trying to determine the proper dimensions for the image.
I'm getting the image from [NSWorkspace: iconForFile], which appears
to be returning them at 32x32, much too large. Manually resizing to
16x16 works well,
On Apr 27, 2008, at 4:03 PM, Kristopher Matthews wrote:
I have an NSPopUpButton populated with some NSMenuItems that have
images. I'm trying to determine the proper dimensions for the image.
I'm getting the image from [NSWorkspace: iconForFile], which appears
to be returning them at 32x32,
On Apr 27, 2008, at 9:29 PM, Seth Willits wrote:
On Apr 27, 2008, at 4:03 PM, Kristopher Matthews wrote:
I have an NSPopUpButton populated with some NSMenuItems that have
images. I'm trying to determine the proper dimensions for the
image. I'm getting the image from [NSWorkspace:
Just a little addendum here...
You aren't strictly _required_ to use an NSObjectController (or other
NSController subclass), but in practice it is generally better to do
so. Yes, you can bind your views directly to your controller classed,
but that's not really the ideal pattern - see
A few additional things to consider:
1) Avoid overriding validateValue:forKey:error (see Property-Level
Validation in http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdValidation.html)
2) Avoid overriding initWithEntity:insertIntoManagedObjectContext:
(see
and, to add another addendum..
in the case of some controls (text fields and text views for example)
not using a controller _can_ cause you problems, and your app to lose
data.
anything that doesn't immediately send its value to from a control to
the data model upon editing requires some
27 matches
Mail list logo