Is there a way to get ICAImportImage to work correctly? Using the code
in the docs, the ICAImportImageSample_Cocoa or the
ICAImportImageSample_Carbon samples all gives the same results when
built with the 10.5 SDK:
I didn't see those, but there are some great deals on ProDOS and
Beagle Bros. software! Even a CP/M card for a steal!
; )
On Apr 4, 2008, at 3:48 PM, Stebel Wolfram wrote:
Hi all,
i wondered if somebody sells it's unused apple support incidents of
adc membership and just tried it on
why do you think I didn't read all of that documentation? I did but,
alas, maybe I'm
not smart enough and I can't tell which object is autoreleased and
which one not
that was in principle my initial question
I doubt that it's that you're not smart enough.
At the very least, you need to
Hi,
I need to rotate the contents of several image files of various types
and then replace the original files. I want to preserve the type of
file and as much of the data as possible (for example, multiple
representations). This is data processing only; I don't need to
display the images
On Mar 29, 2008, at 12:26 AM, Graham Cox wrote:
How about using a UUID? CFUUID is very easy to use.
That and the MAC address are not recommended either, at least by
themselves.
Same link:
http://developer.apple.com/technotes/tn/tn1103.html
Neither the getifaddrs nor
On Mar 26, 2008, at 11:52 AM, Matthew Miller wrote:
Could some please explain in simple terms how to create a NSMatrix
which distributes cells in rows based on the input of a table and
takes away the cells when it is not needed. Thank you very much!
P.S. I am new to cocoa so please don't
.
If you want to deal with live resizing, you need to subclass as well.
I think there are lots of reasons to work with an NSMatrix subclass.
Why do you highly discourage it?
- d
On Mar 26, 2008, at 4:42 PM, Erik Buck wrote:
Wow! Dave Hersey wrote a very detailed and comprehensive post
Could be a lot of things. Do any of your breakpoints work?
Some things that might help are to make sure you're debug format is
set to DWARF in the target build prefs and Load symbols lazily is
off in the Xcode Debugging prefs. And of course that you're running a
debug build...
- d
On
Speaking as a former Apple DTS engineer...
Maybe you had my old office.
: )
- d
On Mar 24, 2008, at 3:14 AM, John C. Randolph wrote:
On Mar 23, 2008, at 10:31 PM, Dave Hersey wrote:
If it's really important to you, send an incident to DTS and pay
them $195 for the answer. I suspect
I think you're seeing a debugger anomaly when stepping through things.
Try logging self before and after.
NSLog(@self = %p, self);
- d
On Mar 25, 2008, at 1:04 AM, Samvel wrote:
On Mar 24, 2008, at 11:56 PM, Jens Alfke wrote:
On 24 Mar '08, at 9:51 PM, Samvel wrote:
I run into
For example, the above could be rewritten as:
- (void)setController:(id)newController {
if (!controller) return;
controller = [newController retain];
I think the if (!controller) check was for the passed-in value, not
the instance variable, but there lies the confusion about using the
On Mar 21, 2008, at 4:21 PM, I. Savant wrote:
... except of course for that hour a few weeks ago before Apple
changed their mind. But now we can't again and they *really mean it*
this time. ;-)
Man... Scott's been silent since that day the iPhone maniac was wildly
flipping the NDA switch
If the window with that field is in the controller's nib, which I
think is what you're saying, then nameField will be nil until
awakeFromNib is called. You need to do setup there or later, such as
applicationDidFinishLoading.
Your code looks fine.
- d
On Mar 21, 2008, at 8:51 PM, Samvel
Hi,
I'm working on a view that has a bunch of image thumbnails, say
something like iPhoto, and I want to be able to grab one and move it
around, rearranging (with animation) all the other thumbnails as it's
moved around.
This is NOT an iPhone question, but if you put your iPhone in
.
Thanks again, Alex.
- d
On Mar 21, 2008, at 3:10 PM, Dave Hersey wrote:
Thanks for the info. Alex. Right, the code in question uses the
Address Book framework, and all the sync logic was worked out and
has been performing well. Since this work
I need 10.4 support too. : (
- d
On Mar 21, 2008, at 9:34 PM, Jamie Phelps wrote:
You might have a look at the documentation for IKImageBrowserView
(IKImageBrowserView Class Reference). It's Leopard only, but it
might just do the trick.
HTH,
Jamie
On Mar 21, 2008, at 8:15 PM, Dave
Do you get anything different if you print the object as a pointer
(%p)? Printing it as an int value is... weird.
Try:
printf(Dragged Image: %p\n, (void *)[sender draggedImage]);
or
NSLog(@Dragged Image: %@, [[sender draggedImage] description]);
I dunno, it may still be nil, but the
Setting up NSScanner for this is trivial, if I'm understanding the
question...
double doubleValue;
NSScanner *scanner = [NSScanner scannerWithString: stringToCheck];
if ([scanner scanDouble: doubleValue])
{
// doubleValue has your double's value.
}
else
You probably forgot to connect your window controller's window
outlet in Interface Builder, so [self window] is nil. If the window
for the sheet is nil, you get a window instead.
If it's not that, make sure you're not doing this until after
awakeFromNib, so that, again, the window outlet
Yeah, there are problems with doing it that way. I'd do something like:
typedef enum DeductionLineErrors {
e_DL_NoError = 0, // no
err
e_DL_LineNumberExistsError = 1, // blah
e_DL_WTFError = 2
Set the filter predicate to nil to remove any predicates from the
array controller.
- d
On Mar 20, 2008, at 12:36 AM, WiFiFun wrote:
I have added filtering buttons (Like those at the top
XCode's documentation window) to my bindings and core data learning
application I have been working on. I
should need to do this and that it's almost
always nonstandard behavior, especially on a control.
- d
On Mar 14, 2008, at 7:15 AM, RICKY SHARP wrote:
On Thursday, March 13, 2008, at 11:11PM, Dave Hersey [EMAIL PROTECTED]
wrote:
Set the control's focus ring to none in IB.
Please don't do
Set the control's focus ring to none in IB.
- d
On Mar 13, 2008, at 11:56 PM, Todd Blanchard wrote:
I've got this pane with a bunch of checkboxes. When the thing comes
up, the first checkbox always has a blue glow (focus rings you call
em?). Anyhow, they don't suit my app. I want to
Just a guess, but if you're using Interface Builder 3, that approach
doesn't work anymore.
Instead, you need to drag an Object object (it looks like a blue
cube) from the Library to your nib, and then change its class to what
you want using the i tab in the Inspector.
If you need more
You definitely should specify the colon, but I suspect this points to
a bigger problem:
I have imported the main AppController.h into this secondary class
file.
The secondary class part makes me wonder. Is this method actually
defined in the object where you're calling
The only thing I can see is that the docs say that you need to send
the pasteboard the types or availableTypeFromArray: selectors
before sending stringForType:, so maybe you're getting screwy log
results without that. Does it change if you add a [pb types]; before
the last NSLog?
- d
On
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
That sounds surprisingly plausible.
I imagine a big speech bubble above the Apple campus that says, Well,
I'm glad we got all our ducks in a row for that iPhone SDK release!
Meanwhile, cute little baby ducks are running at everyone's feet,
riding the elevators up and down, quacking during
Chris,
I think you'll need to put some Carbon in your Cocoa to get what you
want.
If you need to get that information systemwide (ie. when you're in the
background too), you can use Carbon's GetCurrentButtonState() for the
mouse and maybe Carbon HotKey APIs for the keypresses. You can
29 matches
Mail list logo