Path],
nil];
Try:
NSArray *args = [NSArray arrayWithObjects:@"-cf", tarFilePath,
plistPath, nil];
You don't need to quote anything you feed to NSTask. Your code is
equivalent to this wrong shell script:
tar -cf "\"tarFilePath\"" "\"plist
urn value, not the error dictionary.
Best Regards,
Nir Soffer
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help
lePath];
CFURLGetFSRef((CFURLRef)aURL, &output);
Best Regards,
Nir Soffer
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple
r the pool helps since no
convenience constructors, but tried anyway.
Should be (if the pool is needed:
int result = [rec1Field compare:rec2Field];
[pool release];
return result;
}
Best Regards,
Nir Soffer
___
Cocoa-dev m
read from the pipe in the background. When the parent
process die, the pipe will be closed and the child can quit.
Best Regards,
Nir Soffer
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to
sts target, use:
NSBundle *testBundle = [NSBundle bundleForClass:[SomeClass class]];
SomeClass is either in the test bundle or in the tested code.
Best Regards,
Nir Soffer
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
ample:
NSString *toolPath = [[NSBundle mainBundle]
pathForResource:@"mytool" ofType:@""];
Best Regards,
Nir Soffer
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
user play with it. Watch them and see if
you interface is confusing or not.
Best Regards,
Nir Soffer
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators
se no other app work like this, and it will be very
strange for the user when they have a dock icon that does nothing
when clicked.
You have to decide what type of app you want - regular app with a
menu and a dock icon or background app that run without a dock or menu.
Best Regards,
Nir S
ing list.
Best Regards,
Nir Soffer
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Updat
hing
it. This sure does work, but it isn't a pretty solution.
Seems pretty to me. You want use a separate process to make this work
reliably.
Best Regards,
Nir Soffer
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not po
is related discussion here: <http://switchersblog.com/
2007/08/31/the-end-of-the-input-manager-and-pimping-mac-os-x.html>
Another more evil alternative is APE <http://www.unsanity.org/> - it
will let you access any app data.
Best Regards,
Nir Soffer
se];
printf("%s\n", [xmlString UTF8String]);
[pool release];
return 0;
}
Best Regards,
Nir Soffer
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the li
e gets the -connectionDidFinishLoading: message I remove the
connection object from the set. Works great now.
Any object you create on the stack will be gone when the method is
finished :-)
You must keep a reference to the connection.
Best Regards,
as Oct 1582...)?
Check NSCalendarDate -dayOfWeek and -
dateByAddingYears:months:days:hours:minutes:seconds:
Best Regards,
Nir Soffer
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
yDocument instead of -invoke.
The docs don't tell if -invokeWithTarget: will retain the target, so
call -setTarget:nil after invoking to be sure you don't create a
retain cycle.
Best Regards,
Nir Soffer
___
Cocoa-dev mailing list (C
put an
MVAction in the array, but I wonder if there's a better method.
Another fix - when your document is closed, release the array holding
the MVActions, which retain the invocation. This will break the
retain cycle and allow your document to be released
e to add a delegate to the UI. The
controller will set itself as the delegate when creating a UI object,
and the UI will notify the delegate when its done.
If there are other objects that may be interested in the UI
completion event, you may like to use notifications instead. The
controlle
n't retain the target.
Best Regards,
Nir Soffer
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubsc
rView;
}
- (IBAction)changeSelection:(id)sender;
@end
@implementation MyController
- (IBAction)changeSelection:(id)sender;
{
// check sender state and update the view
[view setColor:[NSColor redColor]];
[view setNeedsDisplay:YES];
}
@end
Warning: compiles in Mail.app
the other :-)
You need both unique package identifier and package name, or the
package will remove the other one when installing.
You better ask about installer issues in the installer-dev list:
http://lists.apple.com/mailman/options/installer-dev/
Best Regards,
21 matches
Mail list logo