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 eb
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 read
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 t
cocoabuilder.com?
On Mar 28, 2008, at 5:30 PM, Rick Mann wrote:
I'm trying to search for posts on centering NSTable column titles,
but search seems to be busted. Even when it's not, it's very slow.
Can anyone suggest a better way to search the archives? Some google
magic, perhaps?
TIA,
--
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 M
d Drop support alone requires an NSMatrix subclass.
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
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 use
retain the array in this case as you're doing.
Otherwise it will be autoreleased.
- d
On Mar 25, 2008, at 1:21 AM, Dave Hersey wrote:
The list for arrayWithObjects needs to end with a nil object.
- d
On Mar 25, 2008, at 1:16 AM, Samvel wrote:
Reason: I thought that at some point NSNotific
The list for arrayWithObjects needs to end with a nil object.
- d
On Mar 25, 2008, at 1:16 AM, Samvel wrote:
Reason: I thought that at some point NSNotificationCenter has to be
instantiated in an application loading process and my constructor
may have executed at earlier stage.
Answer: Un
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 troubl
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 su
thinks about this decision.
I simply want to know how to suppress the warning.
That's it.
- Chuck
On March 24, 2008, Dave Hersey wrote:
For example, the above could be rewritten as:
- (void)setController:(id)newController {
if (!controller) return;
controller = [newController retain];
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
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,
the same identifiers.
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 w
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 "psych
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 K
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 o
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 was originally done for 10.2,
Sync Services wasn't around yet. Ideally, all of the AddressBook
framework calls would go
Hi,
I've got an existing Cocoa application that's been around since 10.2
and syncs user data with a client's workgroup management server. The
app does everything directly via SSL to the server and works very well
from 10.2 through 10.5, but the client is considering converting it to
use S
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
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
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
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 t
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
's working on.
I agree that you rarely 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]
&
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
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 tu
For one thing:
// in GenericRecord implementation
int sortGenericRecord (GenericRecord *rec1, GenericRecord *rec2,
void *fieldNum)
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
int *columnPtr = (int *) fieldNum;
int column = *columnPtr;
NSString *rec1Fi
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
performSelecto
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?
-
You should run the IB compatibility check for the version of the OS
you're targeting. It sounds like your button images are set to scale,
which isn't supported prior to 10.5.
Open your nib and click the "info" button if you're using IB3. Then
set the target OS. If you click on the entries,
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
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
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
r
Is there a way to get NSURLConnection to connect to an SSL server that
has an expired certificate? I'm looking for a way to warn the user
about the certificate and then allow them to connect anyway if they
wanted, similar to how web browsers behave. It appears that I only
find out about the
38 matches
Mail list logo