On Nov 9, 2008, at 12:10 AM, Graham Cox wrote:
What is the value expected for:
"IKUImaxSize
Controls whose dimensions are the maximum allowable for the filter
view. A width or height of 0 indicates that that dimension of the
view is not restricted. If the size requested is too small, the
Hi
I'm trying to observe an NSArrayController's selectionIndex which,
according to the documentation here:
http://developer.apple.com/documentation/Cocoa/Reference/ApplicationKit/Classes/NSArrayController_Class/Reference/Reference.html#/
/apple_ref/occ/instm/NSArrayController/selectionIndex
Hi folks,
For a project I need to use AudioUnit with an AudioUnitExternalBuffer
with special size. But I haven't in documentation how use this buffer.
Someone know how I can say to my AudioUnit "hey guy, use this special
buffer!". (I've already set the property
kAudioUnitProperty_ShouldA
What exactly do you mean by "Cocoa plug-in application"?
-Colin
On Sun, Nov 9, 2008 at 1:58 AM, Alexander Shmelev <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have following code in my Cocoa plug-in application:
>
> NSModalSession session = [NSApp beginModalSessionForWindow:theWindow];
> for (;;) {
I have TWAIN Data Source written with Cocoa. When I use it from Image
Capture, everything is ok.
But when I try to use it from GIMP (Carbon) or Photoshop CS3 (Carbon),
[NSApp runModalSession] is called once, but returns only when [NSApp
stopModal] called.
But I expect that [NSApp runModalSe
On 9 Nov 2008, at 7:11 pm, Nathan Kinsinger wrote:
On Nov 9, 2008, at 12:10 AM, Graham Cox wrote:
What is the value expected for:
"IKUImaxSize
Controls whose dimensions are the maximum allowable for the filter
view. A width or height of 0 indicates that that dimension of the
view is not
Using Core Animation, I want to make a layer change its position and
size with animation. So I need to use the "frame" property of CALayer,
which is animatable, according to the documentation.
The implicit animation like this:
[theLayer setFrame:NSRectToCGRect(targetFrame)];
works perfectly, but
Hello,
I have following code in my Cocoa plug-in application:
NSModalSession session = [NSApp beginModalSessionForWindow:theWindow];
for (;;) {
if ([NSApp runModalSession:session] != NSRunContinuesResponse)
break;
[self doSomeWork];
}
I use modal sessions for displaying dialog wi
I am having a tremendous problem getting the vertical text in the y
Axis of a graph. If i try to rotate text specified as
NSAttributedString it appears to get translated in nonlinear ways: I
would assume that in the below, the text would
rotate around NSMinX(rect) and NSMinY(rect) but it does
On 10 Nov 2008, at 1:01 am, Joseph Ayers wrote:
I am having a tremendous problem getting the vertical text in the y
Axis of a graph. If i try to rotate text specified as
NSAttributedString it appears to get translated in nonlinear ways: I
would assume that in the below, the text would
rota
On Sun, Nov 9, 2008 at 4:20 AM, Yoann Gini <[EMAIL PROTECTED]> wrote:
> Hi folks,
>
>For a project I need to use AudioUnit with an AudioUnitExternalBuffer
> with special size. But I haven't in documentation how use this buffer.
> Someone know how I can say to my AudioUnit "hey guy, use this
Thank for your answer, I try now on the coreaudio list. I've hope that
someone have the answer here.
Thanks
Le 9 nov. 08 à 17:56, Michael Ash a écrit :
On Sun, Nov 9, 2008 at 4:20 AM, Yoann Gini <[EMAIL PROTECTED]>
wrote:
Hi folks,
For a project I need to use AudioUnit with an
Aud
Hi,
I'm developing a small application for showing/adding/modifying/
deleting entries for a MySQL database by some NSTableViews.
My (mysql) tables are very simple, all of them has as primary-key and
foreign-key an integer (autoincrement), other columns are varchar() or
text.
Currently I'm
On Nov 9, 2008, at 09:16, Michele Barboni wrote:
Currently I'm querying the database for a column at once, building
an NSArray of them and add all NSArrays (the columns) in a
NSMutableArray ("the table").
For editing I'm doing queries in the NSTableView controller (and I
really don't like t
Thanks a lot for your example Steven.
I'm probably over thinking this. I'll just use IB, no custom class, no
encoding no trouble :-)
Thanks again,
Andre Masse
On Nov 9, 2008, at 15:13, Steven Riggs wrote:
Check out a code sample (using no code, just IB)...
http://idisk.mac.com/steven.rig
On 10 Nov 2008, at 5:47 am, Tommy Nordgren wrote:
// TN+NSAffineTransform.h
@interface NSAffineTransform (TNGraphics)
A comment on naming conventions. It doesn't matter that much
especially if you are just using them privately, but there's an
inconsistency here. Usually I name category
On Nov 9, 2008, at 1:11 PM, Ralph Manns wrote:
There are some application, whose controls use the
NSGraphiteControlTint,
although the control tint in System Preference is set to
NSBlueControlTint.
How can this be done?
Thanks, Ralph.
Hi!
My answer is below, but I strongly advise you not
As I am not very familiar to signature recognition (as you may have noticed)
where can I learn how to get the algorithm in code form? Also, are there
other methods that could get a more precise output?
Thanks,
Pierce F.
On 11/3/08 1:47 AM, "Raphael Sebbe" <[EMAIL PROTECTED]> wrote:
> If you h
On Nov 9, 2008, at 3:07 PM, Graham Cox wrote:
+(NSAffineTransform *) transformRotatedAroundPoint:(NSPoint) p
degrees:(CGFloat) deg;
A handy method, but I wonder if it could be named to be more
readable with respect to its actual function, for example:
+ transformWithPoint:rotatedByDegrees:
Core Data can use instance variables as storage for attributes (and
relationships) instead of managing the storage itself. This is
discouraged though because it doesn't buy you anything as a developer
- in fact, it can be more efficient for Core Data to manage storage
itself - and it makes
On 10 nov 2008, at 00.07, Graham Cox wrote:
On 10 Nov 2008, at 5:47 am, Tommy Nordgren wrote:
// TN+NSAffineTransform.h
@interface NSAffineTransform (TNGraphics)
A comment on naming conventions. It doesn't matter that much
especially if you are just using them privately, but there's an
On Sun, Nov 9, 2008 at 9:55 PM, Kyle Sluder
<[EMAIL PROTECTED]> wrote:
> On Sun, Nov 9, 2008 at 1:47 PM, Tommy Nordgren <[EMAIL PROTECTED]> wrote:
>> +(NSAffineTransform *) transformRotatedAroundPoint:(NSPoint) p
>> degrees:(CGFloat) deg;
>
> Please be aware that rotation around a point other than
On Sun, Nov 9, 2008 at 10:43 PM, Michael Ash <[EMAIL PROTECTED]> wrote:
> That's not so. Any affine transform is a linear transformation, and
> rotation around a point can certainly be represented as an affine
> transform.
No, you have that backwards. Any linear transformation is an affine
transf
9 nov 2008 kl. 23.03 skrev Tommy Nordgren:
Is it possible to open an Additional file for use by logging in Cocoa
(I want it to contain ONLY the info logged from my App)
You can do that by just redirect standard error to a file. Since each
process has their own set of file descriptors it wil
On 10 Nov 2008, at 1:55 pm, Kyle Sluder wrote:
Please be aware that rotation around a point other than the origin is
not a linear transformation. This may be why such functionality was
omitted from NSAffineTransform.
It is linear. But maybe what you're referring to is that it's easy to
sc
Hello,
I don't think the method setControlTint is the solution I'm looking for,
because only a few classes have such a method, NSWindow doesn't. Maybe my
question was to general.
Is there a way without using private methods to set the complete appearance
of an application to NSGraphiteControlTint,
Ahh! Thanks a lot guys. Now I can sleep :-)
Have a good night,
Andre Masse
___
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)list
There are some application, whose controls use the NSGraphiteControlTint,
although the control tint in System Preference is set to NSBlueControlTint.
How can this be done?
Thanks, Ralph.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
On Nov 9, 2008, at 9:03 PM, Andre Masse wrote:
[userDict setObject:[NSImage imageNamed:NSImageNameUser]
forKey:@"userImage"];
"A default’s value must be a property list, that is, an instance of
(or for collections a combination of instances of): NSData, NSString,
NSNumber, NSDate, NSArr
Hi List,
I'm using core audio to record sound, however i want to detect if a
microphone is connected to the computer, how can i do that?
I tried using QTKit to do this:
QTCaptureDevice *soundDevice = [QTCaptureDevice
defaultInputDeviceWithMediaType:QTMediaTypeSound];
BOOL micPresent
Thanks for your reply,
I was using NSKeyeyArchiver to encoded my custom object. Didn't know
about NSUnarchiveFromData though. Couldn't find it in Apple
documentation neither. Anyway, I moved to a much simpler version which
bypass using a custom class. It's now an array of NSMutableDictionar
can you put NSImage's in preferences without wrapping them in NSData first?
by the way - why do you use [ NSString stringWithString:string> ] instead of just using the string constant?
Andre Masse wrote:
Hi,
I've been struggling with this method for the last couple of hours. I
just can't s
Thanks for your reply Steven,
I've tried that but no luck. I get the following error:
[ valueForUndefinedKey:]: this class is not key
value coding-compliant for the key userName.
In interface builder, you will need an Array controller
done.
Mode: ClassClass Name:NSMutableDictionary
On 09.11.2008, at 23:03, Tommy Nordgren wrote:
Is it possible to open an Additional file for use by logging in Cocoa
(I want it to contain ONLY the info logged from my App)
You can write your own logging function/macro that uses [NSString
stringWithFormat: @"", ...] and then appends that to
On Sun, Nov 9, 2008 at 1:47 PM, Tommy Nordgren <[EMAIL PROTECTED]> wrote:
> +(NSAffineTransform *) transformRotatedAroundPoint:(NSPoint) p
> degrees:(CGFloat) deg;
Please be aware that rotation around a point other than the origin is
not a linear transformation. This may be why such functionality
You should try setObject:forKey: instead of registerDefaults:
also... If you are using an array controller to handle the array in
your user defaults, add your userDict object to the array controller
instead of writing to defaults.
Steven Riggs
http://www.stevenriggs.com
On Nov 10, 200
Hi,
I'm having difficulties binding (in IB) my application's preferences
to NSUserDefaults. It's easy to bind simple values, but not so when
using composite objects in an array where each element is an object
archived as NSData with NSKeyedArchiver. Further more, when the object
has anoth
Hi,
I've been struggling with this method for the last couple of hours. I
just can't see where the problem is. I get the following error which I
suppose indicate that I've released something I shouldn't... Since I'm
not releasing anything, I wonder what I'm doing wrong. Must be some
stupi
Hi,
you need an formatter - NSUnarchiveFromData and then it works rather
well. I store supplementary information that each user can edit in
NSUserDefaults. The info is maintained in NSTableViews and stored as
an Array of NSMutableDictionary. Works really well.
Volker
Am 09.11.2008 um 20:
On Nov 9, 2008, at 9:03 PM, Andre Masse wrote:
+ (void) initialize
{
NSMutableDictionary *defaultValues = [NSMutableDictionary
dictionary];
NSMutableDictionary *userDict = [NSMutableDictionary dictionary];
[userDict setObject:[NSImage imageNamed:NSImageNameUser]
f
Is it possible to open an Additional file for use by logging in Cocoa
(I want it to contain ONLY the info logged from my App)
--
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"
[EMAIL PRO
TN+NSAffineTransform.h
Description: Binary data
TN+NSBezierPath.h
Description: Binary data
TN+NSAffineTransform.m
Description: Binary data
TN+NSBezierPath.m
Description: Binary data
I would like comments on the following Categories on NSBezierPath and
NSAffineTransform.
In particular I
Hi,
Quincy gave such a masterful and complete answer that I felt
compelled to also make a small contribution. If you decide to
go the in-memory route, this simple routine may save you a few
minutes of head scratching:
- (BOOL)
selectedRangeContainsDate: (NSDate *) date
{
NSComparisonRes
Check out a code sample (using no code, just IB)...
http://idisk.mac.com/steven.riggs-Public?view=web
-Steve
On Nov 9, 2008, at 2:41 PM, Andre Masse wrote:
Thanks for your reply Steven,
I've tried that but no luck. I get the following error:
[ valueForUndefinedKey:]: this class is not key
I'm using CIFilter to perform some special effects in my app, and I'm
using IKFilterUIView to provide the interactive parameters to this.
Leaving aside the problem of this UI being all over the place, layout-
wise, I'm also having difficulty understanding what I need to do to
actually make a
On Nov 8, 2008, at 7:46 PM, Michael A. Crawford wrote:
I have a model-view-control class hierarchy that I'd like to add an
auxiliary (test-only) view to. I've created a 2nd NIB with an
NSPanel instance associated with a sub-classed NSWindowController.
I'm able to load the NIB and instanti
This worked for me...
In interface builder, you will need an Array controller
Mode: ClassClass Name:NSMutableDictionary
Content Array bound to Shared User Defaults Controller - controller
key:values - modal key path:yourDefaultsKey
Make sure handles content as a compound value is checked
There is a lot of information available
http://www.ee.bilkent.edu.tr/~signal/defevent/papers/cr2010.pdf
http://code.google.com/p/sigrecnn/
http://www.it.lut.fi/kurssit/03-04/01097/seminars/Kalenova.pdf
Sincerely,
Mike
On Nov 9, 2008, at 7:14 PM, Pierce Freeman wrote:
As I am not very fam
On Nov 8, 2008, at 11:06 PM, Jerry Krinock wrote:
Try -[NSDocument readFromData:ofType:error:]. True, because you
must read an sqlite database, you're not going to use the data that
you are passed as an argument. But that's OK. It will be
autoreleased and go away.
What if the file is a
49 matches
Mail list logo