Hi,
I want to display the current time in a full screen window. I'm
making my computer into a digital clock (for my own use). I've done
it by using NSCalendarDate and extracting the hours, minutes, and
seconds, formatting a string and displaying it. I use an NSTimer to
update the displ
Hi,
I want to display in a tableview, list of all media files (audio, video files)
present in a certain directory.
Currently what i am doing is that i am getting the file names in an
NSMutableArray using NSFileManager function directoryContentsAtPath
I get the list, but the problem is that i
Am Do,21.08.2008 um 19:54 schrieb Michael Ash:
On Thu, Aug 21, 2008 at 10:40 AM, Negm-Awad Amin <[EMAIL PROTECTED]
> wrote:
Am Do,21.08.2008 um 16:15 schrieb Michael Ash:
On Thu, Aug 21, 2008 at 6:47 AM, Negm-Awad Amin <[EMAIL PROTECTED]
>
wrote:
Am Do,21.08.2008 um 12:25 schrieb Thomas
As written, 70 microseconds. When I set the calendar's time zone to
GMT, the
time drops to 43 microseconds. Since my app will only work with
dates in
GMT, this is a plus. Even so, 40 microseconds is far slower than the
7 - 8
microseconds offered by -[NSCalendarDate dayOfYear]. Unless someone
On Aug 21, 2008, at 12:45 AM, Ken Ferry wrote:
The NSTextValueBinder error message is a bug? Or the fact that
NSCell does
not have a "value" binding? Or both? ;)
Maybe both.. I meant the first.
Well, more information. I found the code that was directly
responsible for causing the error
Thanks Graham
So then I should have an nsobjectcontroller subclass which is then
available as the interface to my framework and not as it currently is
with just a nsobject subclass.
the nsobject subclass would then become the "model" as such.
is this right?
Thanks
On 22/08/2008, at 12:47
On 22 Aug 2008, at 2:22 pm, Phil wrote:
Why use NSNotifications when there's already
perfectly good notification mechanism?
Indeed, but notifications have been around a lot longer than KVO, so
there are still plenty of places in Cocoa that notifications are used
for legacy reasons.
Als
On 22 Aug 2008, at 1:53 pm, Kieren Eaton wrote:
With bindings I cant connect to the framework classes directly so
should I add a dummy nsview subclass that will allow my interface
bindings access to the frameworks ivars etc?
A dummy NSView? No.
A controller? Yes. This is what controllers
Hi
I have lately been struggling with bindings A LOT. I have looked at a
lot of tutorials but they have not seemed to be what I need.
I have a framework which does all the grunt work for my application
and the app controller is just a frontend to the framework.
With bindings I cant connect
My gut reaction is that an NSTableView would be the *wrong* way to do this
-- the control simply wasn't designed for this kind of behavior. Subclassing
NSTextView would be a much better plan.
Another option, depending on how dynamic your content is, would be to use
WebKit. You could generate an HT
iPhone SDK
--
Until an announcement is made otherwise, developers should be aware
that the iPhone SDK is still under non-disclosure (section 5.3 of the
iPhone Development Agreement). It can't be discussed here, or anywhere
publicly. This includes other mailing lists, forums, service
iPhone SDK
--
Until an announcement is made otherwise, developers should be aware
that the iPhone SDK is still under non-disclosure (section 5.3 of the
iPhone Development Agreement). It can't be discussed here, or anywhere
publicly. This includes other mailing lists, forums, service
the reason you can't find this information is that the iPhone SDK is
still under non-disclosure.
You can't talk about it here or anywhere publicly.
scott
[moderator]
On 21-Aug-08, at 8:18 PM, John Greene wrote:
Hi,
I've done a little bit of searching and haven't found an answer to
this
Ah, ok I guess that is understandable even if it is somewhat
inconvenient. Thanks for the info.
Jeff
On Aug 21, 2008, at 8:39 AM, Corbin Dunn wrote:
On Aug 20, 2008, at 9:16 PM, Jeff Wilcox wrote:
I generally am pretty good at web mining or hacking solutions to
weird cocoa things, but t
On Fri, Aug 22, 2008 at 3:59 PM, Kyle Sluder
<[EMAIL PROTECTED]> wrote:
> @implementation ToolBar
> {
>-(id) init
>{
>[[[NSNotificationCenter] defaultCenter] addObserver:self
> selector:@selector(splitViewResized:) object:mySplitView];
>}
-(void)dealloc
{
[[NSNotificationCe
Greetings, Mike,
I'm not sure when I have told anyone that they were outright wrong --
heaven knows, I've been wrong enough about various things myself. I
don't recall saying at any point that you were "wrong," and in fact
(as you may clearly note) I said that you must have a good reason f
It's possible to save arrays using NSUserDefaults--technique is in the
archives, but it looked pretty daunting to me with a lot of chances
for me to screw things up. I chose to use a very simple CoreData
model for my array instead. It might be a bit of overkill, but
CoreData saved me a bu
On Thu, Aug 21, 2008 at 10:27 PM, Graham Cox <[EMAIL PROTECTED]> wrote:
> But one thing that has been overlooked - common or garden notifications. If
> all you want is to pick up a change in an object a notification is a simple
> way to do it without writing your own messaging system. It's less pow
If you don't have the ability to figure out everything you need on
your own, then please refrain from polluting the mailing list with
attacks on people who want to help you. Andrew specifically did *not*
say you were wrong, and he asked a polite question. Nobody has all
the answers. If y
On Thu, Aug 21, 2008 at 12:59 PM, Gerd Knops <[EMAIL PROTECTED]> wrote:
> No problem with subclassing. It was just the presence of the
> '-initWithWindowNibName:owner:' method that tripped me off a little, as it
> seems near useless unless there is some undocumented magic behind it.
I don't see wh
On Thu, Aug 21, 2008 at 11:18 PM, Steve Christensen <[EMAIL PROTECTED]> wrote:
> The great majority of Mac applications do not run in kiosk mode so for most
> cases preventing window movement *is* wrong because you take control away
> from the user.
Hold on, I don't agree with that. Taking contro
Is the User Defaults Controller any use if you have a table or array of objects
to store? It's not obvious what one would bind to, or how one could control the
tableview just using a user defaults controller. Is the User Defaults
controller purely for simple stuff?
__
Kinda hair-trigger on the defensiveness, dontcha think, especially
since Andrew didn't actually say you were wrong?
The great majority of Mac applications do not run in kiosk mode so
for most cases preventing window movement *is* wrong because you take
control away from the user. Had you fi
> "1 When any scalar value is converted to_Bool, the result is 0 if the
> value compares equal to 0; otherwise, the result is 1."
Aaahhh... I looked and looked for the antecedent to that
particular "except as otherwise specified" and couldn't find it. So C99
narrows the prior n
So, does everybody really always use KVC/KVO for implementing MVC, in
all projects? Is this the recommended best practice?
From code written after 10.2, yeah, pretty much. Coupled with the
tools support in Interface Builder and the AppKit support with Cocoa
Bindings, it's really not worth t
On Aug 21, 2008, at 9:46 PM, Mike wrote:
Yeah, I've read that technote and am familiar with it. It doesn't
have what I need.
And there's no setting in IB to create a window without a titlebar
(and I don't want to create one programatically).
Then you're out-of-luck.
Creating a non-movab
On Aug 21, 2008, at 8:10 PM, Mike wrote:
Is there any way to prevent a Cocoa window from being dragged while
it is onscreen?
I believe you can override -constrainFrameRect:toScreen: to achieve
what you're looking for.
Cheers,
Ken
___
Cocoa-dev
Am 22.08.2008 um 00:59 schrieb Dave MacLachlan:
Also, are the _ in front of member variables for Apple only (so we
don't stomp on each other with member var names) or are they using
them for the readability reason mentioned above? There is
documentation where they have claimed _ at the beg
Yeah, I've read that technote and am familiar with it. It doesn't have
what I need.
And there's no setting in IB to create a window without a titlebar (and
I don't want to create one programatically).
Jason Coco wrote:
On Aug 21, 2008, at 22:37 , Mike wrote:
For a Kiosk application.
Ah,
On Aug 21, 2008, at 22:37 , Mike wrote:
For a Kiosk application.
Ah, that makes sense... well, I'm not really sure about Cocoa. I think
you can override the drag method in Carbon, but not really sure about
that either.
In case you haven't seen it yet, there is a technote about kiosk stu
What I am doing is definitely not "wrong".
My application is a kiosk application, I put up shielding windows on all
attached monitors, and I enter kiosk mode. I then have a totally black
display with a single window - mine - which is the size of the main
display but which I want to be immovable.
Ken,
Thanks for your explanation of the development of KVC, KVO, and
Bindings.
As a geezer who spent most of his career coding in assembler on IBM
mainframes beginning in the late 60's, it is still sometimes difficult
not having total control over my code.
KVC, KVO, and Bindings is one of th
For a Kiosk application.
Jason Coco wrote:
Wow, I hope not :) Why would you want to do this?
On Aug 21, 2008, at 21:10 , Mike wrote:
Is there any way to prevent a Cocoa window from being dragged while it
is onscreen?
Thanks,
Mike
___
Cocoa-dev m
On 22 Aug 2008, at 1:03 am, Oleg Krupnov wrote:
4) Anything else I may have overlooked?
I've read through this thread and it's very interesting.
But one thing that has been overlooked - common or garden
notifications. If all you want is to pick up a change in an object a
notification is
Hi, Mike,
Unfortunately, I'm not sure as to the exact answer to your question.
Do bear in mind, however, that -- even if there is a way -- you'll
have to take into account that the user might very well switch Spaces,
rendering your window no longer visible. While I won't tell you right-
I want a search field aka iTunes to filter my NSTableView. I have a list of
objects with a "title" field.
The filter predicate of NSArrayController sounds like something that might
help. I got as far as writing this predicate:
return [NSComparisonPredicate
predicateWithLeftExpression:[NSExpres
Wow, I hope not :) Why would you want to do this?
On Aug 21, 2008, at 21:10 , Mike wrote:
Is there any way to prevent a Cocoa window from being dragged while
it is onscreen?
Thanks,
Mike
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Ple
Hi Paul,
Hope you're enjoying Cocoa ;-)
As you probably noticed, the Classes tab has been removed in Interface
Builder 3 (the Leopard Interface Builder). The projects header files are
automagically synced with the xib. To instansiate your custom class;
1) Drag an Object (plain blue cube) from the
Is there any way to prevent a Cocoa window from being dragged while it
is onscreen?
Thanks,
Mike
___
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 co
On Aug 21, 2008, at 7:09 PM, Erik Buck wrote:
On Aug 21, 2008, at 7:12 PM, Ken Thomases wrote:
On Aug 21, 2008, at 12:54 PM, Erik Buck wrote:
KVC also provides support (hooks) for change management so that
any change to a property can have application defined side effects
like registering
Hi,
I've done a little bit of searching and haven't found an answer to this
dilemma: I want to use a webservice in my app that returns XML, but the
catch is the user has to be logged in to get valid results, and the
log-in is quite distinct from the webservice. I could create a
UIWebView to the l
On Aug 21, 2008, at 7:12 PM, Ken Thomases wrote:
I have some quibbles...
On Aug 21, 2008, at 12:54 PM, Erik Buck wrote:
So, in summary, the whole point of KVC is to standardize the way an
object’s properties are accessed regardless of how they are stored.
Well, the real point, to my mind,
On Thu, Aug 21, 2008 at 4:49 PM, Scott Ribe <[EMAIL PROTECTED]> wrote:
>> The "except as previously specified" in 6.3.2.3 5 refers back to
>> 6.3.2.3 3. Without the "except as previously specified", 6.3.2.3 5
>> would directly contradict 6.3.2.3 3 (i.e. it would render the
>> conversion from a null
> Speaking as a battle-hardened QA manager, the one simple step of
> turning on all warnings and removing them
Absolutely. Which is why pointless warnings really annoy me!
FYI, I'm not talking about Xcode/gcc here. I'm thinking of an old version of
Watcom, in which a warning was generated for eve
> The "except as previously specified" in 6.3.2.3 5 refers back to
> 6.3.2.3 3. Without the "except as previously specified", 6.3.2.3 5
> would directly contradict 6.3.2.3 3 (i.e. it would render the
> conversion from a null pointer constant to a null pointer undefined).
Right. But I'm talking abo
Remember that NeXT and Apple didn't just invent KVC, KVO, and Bindings
out of thin air for no better reason than they were enamored of the
idea.
There was a substantial history of NeXTStep/OpenStep/Cocoa programs
written. The developers at NeXT and then Apple recognized that there
was a
I have some quibbles...
On Aug 21, 2008, at 12:54 PM, Erik Buck wrote:
So, in summary, the whole point of KVC is to standardize the way an
object’s properties are accessed regardless of how they are stored.
Well, the real point, to my mind, is to increase the dynamism of
property access.
On Thu, Aug 21, 2008 at 3:56 PM, Scott Ribe <[EMAIL PROTECTED]> wrote:
>> It is an intentional omission (I have had this argument before on
>> comp.lang.c, except I was arguing your side at the time, and was set
>> straight).
>
> So, to be clear, there was at one time debate over whether null -> in
> It is an intentional omission (I have had this argument before on
> comp.lang.c, except I was arguing your side at the time, and was set
> straight).
So, to be clear, there was at one time debate over whether null -> integer
yields 0 should be in the standard, and in the end that was intentional
On Aug 21, 2008, at 3:42 PM, Jim Correia wrote:
On Aug 21, 2008, at 3:54 AM, Jules Colding wrote:
For that simple reason, I'd go for nil == foo every time.
Yes, and in general you should always do "if (CONSTANT == foo)" to
catch the potential "if (CONSTANT = foo)" error.
If your name is Y
On Thu, Aug 21, 2008 at 3:19 PM, Scott Ribe <[EMAIL PROTECTED]> wrote:
>> Please show me where that is guaranteed.
>
> Well, you've really sent me on an archeological dig. It's not in the
> standard! I think there's an error of omission--yeah I know, claiming "I'm
> not wrong, the standard is" is q
> Please show me where that is guaranteed.
Well, you've really sent me on an archeological dig. It's not in the
standard! I think there's an error of omission--yeah I know, claiming "I'm
not wrong, the standard is" is quite the claim indeed, but bear with me a
second:
6.3.2.3.5 covers integer ->
Ken,
I played around with this some more and I can get satisfactory results
by setting the image interpolation to NSImageInterpolationHigh, along
with making sure the dest size lies on integers. So it looks like I
was being bit by the default resampling method.
Thanks!
- Dave.S
On Thu, Aug 21,
Here's a random strange question. Given a highly customized
NSTableView, where each row is a single cell and each cell contains
one or more NSTextViews, each with a separate paragraph (potentially
formatted with different justifications and so on), is there any
reasonable way to make them
Vancouver - Senior Mac Developer With Multimedia Experience @
macProVideo.com
Company: macProVideo.com
Location: Vancouver, BC, CANADA
Description:
macProVideo.com, a leading global publisher of software tutorial-
videos, requires a Senior Mac Developer with experience creating
Multimedia
On Aug 21, 2008, at 11:18 AM, Andy Lee wrote:
On Aug 21, 2008, at 1:55 PM, R.L. Grigg wrote:
Yes, that's a cool feature. But if I have three versions of
AppController.m up at once, it would be great to be reminded -- at
a glance -- which one is which, especially since I get so many
interr
Hi Ken,
I can build a test app - give me a couple hours to put it together.
As for antialiasing, I thought that might be the problem, but I set
the image interpolation on the graphics context to
NSImageInterpolationNone and get the same results.
I am on Leopard 10.5.4 (this all has to work on Ti
On Thu, Aug 21, 2008 at 1:23 PM, Scott Ribe <[EMAIL PROTECTED]> wrote:
> You're forgetting that null pointers *must* convert to 0,
Please show me where that is guaranteed.
> this is why if(!foo) works.
if(!foo) works because of:
From 6.5.3.3:
"The expression !E is equivalent to (0==E)."
if(foo
Hi David,
Could you post a complete test app? There's nothing in what you've
posted that looks problematic[1]. Also, what OS are you working on?
-Ken
[1]: well, except maybe that you're likely to see antialiasing on the edges.
Your problem looks more severe than antialiasing, though.
On Thu,
You're forgetting that null pointers *must* convert to 0, this is why
if(!foo) works. I think that would be the "Except as previously
specified.." part of what you quoted ;-)
--
Scott Ribe
[EMAIL PROTECTED]
http://www.killerbytes.com/
(303) 722-0567 voice
_
On Thu, Aug 21, 2008 at 12:45 PM, Jim Correia <[EMAIL PROTECTED]> wrote:
> For the sake of completeness (I know Marcel knows the rule), if you are
> using the return value of a message send, the value will be undefined
> depending on return type when sending a message to nil. See the runtime
> doc
On Thu, Aug 21, 2008 at 12:38 PM, Scott Ribe <[EMAIL PROTECTED]> wrote:
>> as long as, when
>> __builtin_special_null_keyword_that_is_specific_to_my_compiler is
>> converted to a pointer type, it becomes a null pointer.
>
> And, if converted to integer type, it becomes 0.
No, converting a pointer
Folks,
For some reason, I am not able to figure this out. I want to draw a
scaled NSImage, but the edges of the image are not drawn, it seems
like the resizing actually clips the image.
I have an NSBitmapImageRep created from some data. I then create the
NSImage like this:
NSImage *image = [[N
On Aug 20, 2008, at 9:31 PM, Marcel Weiher wrote:
I was swayed by the "nil == foo" arguments for a while, but my gut
kept tugging at me and now I have switched back to just if ( !foo),
or better (I prefer positive ifs), if (foo). Of course, if all the
if (foo) is protecting is a message-se
On Aug 21, 2008, at 3:54 AM, Jules Colding wrote:
For that simple reason, I'd go for nil == foo every time.
Yes, and in general you should always do "if (CONSTANT == foo)" to
catch the potential "if (CONSTANT = foo)" error.
If your name is Yoda, then perhaps if (3 != x) reads naturally to
> as long as, when
> __builtin_special_null_keyword_that_is_specific_to_my_compiler is
> converted to a pointer type, it becomes a null pointer.
And, if converted to integer type, it becomes 0. Right; I was certainly
talking about standard integer/pointer types, without compiler magic, which
must
On Thu, Aug 21, 2008 at 12:16 PM, Clark Cox <[EMAIL PROTECTED]> wrote:
> On Thu, Aug 21, 2008 at 11:56 AM, Scott Ribe <[EMAIL PROTECTED]> wrote:
Could you tell me which part of the standard states that NULL is 0.
>>
>>
>>> NULL *can* be 0, it isn't *necessarily* 0
>>
>>
>> It follows from the
On Thu, Aug 21, 2008 at 11:56 AM, Scott Ribe <[EMAIL PROTECTED]> wrote:
>>> Could you tell me which part of the standard states that NULL is 0.
>
>
>> NULL *can* be 0, it isn't *necessarily* 0
>
>
> It follows from the rules re conversions that it must be either 0, or 0 cast
> to a pointer type.
O
>> Could you tell me which part of the standard states that NULL is 0.
> NULL *can* be 0, it isn't *necessarily* 0
It follows from the rules re conversions that it must be either 0, or 0 cast
to a pointer type. No value other than 0 is guaranteed to cast to the
machine's actual null address (wh
Those are for URL encoding; I think he wants HTML entities. I can't
remember if there are Cocoa methods to do this, but you can use
CFXMLCreateStringByEscapingEntities() (since NSString * and
CFStringRef are toll-free bridged):
NSString *input = @"2 < 4";
NSString *output = (NSString
*)CF
On Thu, Aug 21, 2008 at 10:46 AM, Jean-Daniel Dupas
<[EMAIL PROTECTED]> wrote:
>
> Le 21 août 08 à 19:06, Scott Ribe a écrit :
>
>> Wow, don't check the list for a few days and look what happens!
>>
>>> After all, that's why nil (and Nil) exist at all,
>>> rather than just reusing NULL.
>>
>> Actua
Hello,
I am creating NSDateFormatter programmatically, and I wish to parse
any type of date string within the user's locale -- for instance
"03/13/08" or "1:30PM March 13, 2008" would both be acceptable.
Unfortunately, NSDateFormatter seems to parse only one specific format
at a time. I w
On Aug 21, 2008, at 12:16 PM, JanakiRam wrote:
I'm developing an Cocoa client application.As part of application
logic , i
make the Webservice Call with XML data - which returns the XML file as
response which contains the HTML code for the special characters.
While
sending the data i need t
On Aug 21, 2008, at 1:55 PM, R.L. Grigg wrote:
Yes, that's a cool feature. But if I have three versions of
AppController.m up at once, it would be great to be reminded -- at a
glance -- which one is which, especially since I get so many
interruptions. So if the path was on the title bar, tha
Hi All,
I'm developing an Cocoa client application.As part of application logic , i
make the Webservice Call with XML data - which returns the XML file as
response which contains the HTML code for the special characters. While
sending the data i need to convert the special characters such as &,'
e
Le 21 août 08 à 19:06, Scott Ribe a écrit :
Wow, don't check the list for a few days and look what happens!
After all, that's why nil (and Nil) exist at all,
rather than just reusing NULL.
Actually nil exists at all because Objective-C was created *before*
NULL was
in such standard use! (
On 8/20/08 11:06 PM, Michael Ash said:
>It is a little known fact that when passing NULL (and by extension nil
>or Nil) as a parameter to a vararg function, you *must* cast it to the
>appropriate pointer type to guarantee correct behavior.
>
>Interestingly, Apple's vararg methods which use nil as
Hi John,
Try the layer's presentationLayer property. The presentationLayer is
the thing that is actually moving around and you should be able to get
'current' values from it (give or take a bit).
HTH,
-bd-
http://bill.dudney.net/roller/objc
http://www.pragprog.com/titles/bdcora
On Aug 21
On Aug 20, 2008, at 10:22 AM, Sherm Pendley wrote:
On Wed, Aug 20, 2008 at 12:13 PM, R.L. Grigg
<[EMAIL PROTECTED]> wrote:
Now I want to modify TextEdit so I can display the filenames full
path in
the title bar of the document window instead of just the filename.ext
(because sometimes I ha
I love answering questions that require an essay. So here is my essay.
I think my forthcoming Cocoa Design Patterns book does a good job of
explaining the patterns used to implement Cocoa and reused to implement Cocoa
applications. In particular, the book explains how techniques like Key
On Thu, Aug 21, 2008 at 10:40 AM, Negm-Awad Amin <[EMAIL PROTECTED]> wrote:
>
> Am Do,21.08.2008 um 16:15 schrieb Michael Ash:
>
>> On Thu, Aug 21, 2008 at 6:47 AM, Negm-Awad Amin <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> Am Do,21.08.2008 um 12:25 schrieb Thomas Engelmeier:
>>>
Am 21.08.2008
Most of the authorizations question on this list have the same answer.
It's not and will never be possible to increase the rights of a
running process (for obvious security reasons). System Preferences
(your host process) run as the current user, so it cannot access
protected locations.
Ha
Am Do,21.08.2008 um 19:24 schrieb j o a r:
On Aug 21, 2008, at 10:12 AM, Negm-Awad Amin wrote:
Probably because the GoF prefers combination over (?) subclassing.
Subclassing always discloses parts of the implementation of a
class. ("white-boxing") So generally it is a good idea, to look f
On Aug 21, 2008, at 10:12 AM, Negm-Awad Amin wrote:
Probably because the GoF prefers combination over (?) subclassing.
Subclassing always discloses parts of the implementation of a class.
("white-boxing") So generally it is a good idea, to look for
alternatives for subclassing, esp. delega
Am Do,21.08.2008 um 06:10 schrieb Graham Cox:
On 21 Aug 2008, at 5:13 am, Gerd Knops wrote:
That'd work, but I'd have to subclass NSWindowController for that
so I can add that property. Seemed to me that the above would not
be an uncommon pattern and there ought to be a more elegant way
Wow, don't check the list for a few days and look what happens!
> After all, that's why nil (and Nil) exist at all,
> rather than just reusing NULL.
Actually nil exists at all because Objective-C was created *before* NULL was
in such standard use! (It may have always been part of stdio.h, don't r
You make a valid point. I think I will make that change.
This is not really what we actually do. I cut out most of the real
code to keep the example simple. The actual files we are looking for
are machine generated, and the user is not really involved in the
process at this point.
Paul
On Aug 20, 2008, at 11:10 PM, Graham Cox wrote:
On 21 Aug 2008, at 5:13 am, Gerd Knops wrote:
That'd work, but I'd have to subclass NSWindowController for that
so I can add that property. Seemed to me that the above would not
be an uncommon pattern and there ought to be a more elegant way
On 8/21/08 7:46 AM, Paul Archibald said:
> NSString *file;
> // Get all of the files in the source directory, loop thru them.
> NSEnumerator *files = [[myFileMgr
>directoryContentsAtPath:srcDirectory] objectEnumerator];
> while(file = [files nextObject] ) {
>
I don't think it is not possible.. but.. does anyone know how to?
Thank you.
Original Message
Subject:[Q] SFPreferenceView and authorize as admin?
Date: Wed, 20 Aug 2008 14:53:34 -0700
From: JongAm Park <[EMAIL PROTECTED]>
To: cocoa-dev
Hello, all.
Does any
On Aug 21, 2008, at 1:22 AM, Jerry Krinock wrote:
When the 'tab' or 'backTab' key is pressed, NSTextView accepts it as
a character to be typewritten. But sometimes I want NSTextView to
behave like an NSTextField, with 'tab' or 'backTab' selecting the
next or previous key view. So, in my
On Aug 21, 2008, at 6:56 AM, Tilman Bender wrote:
Hi there,
Is it possible to obtain the angle of rotation from a tranformation-
matrix created with CGAffineTransfrom?
If you haven't applied any other transforms to your CGAffineTransform,
you could determine the rotation (in radians) via
Hello:
I'm trying to pause, and then resume an animation that uses a
CATransform3D to set animate the zoom level of a layer. I want to be
able to pause the animation, but I can't figure out how to determine
the current scale factor of the layer at the time when the animation
is paused (us
On Aug 21, 2008, at 6:56 AM, Tilman Bender wrote:
Is it possible to obtain the angle of rotation from a tranformation-
matrix created with CGAffineTransfrom?
If the CTM consists of only rotation and transform (or if it is scaled
and you know the scale values) then it should be possible to re
On Aug 20, 2008, at 9:16 PM, Jeff Wilcox wrote:
I generally am pretty good at web mining or hacking solutions to
weird cocoa things, but this one has me a bit puzzled.
I want to use groups in an NSOutlineView that is set up with Source
List highlighting. However, I am also using horizonta
On 8/21/08 10:15 AM, Michael Ash said:
>BOOL var = 2;
>if(var == YES)
>
>That if statement will evaluate to false, even though the value of
>"var" is conceptually true.
If only BOOL was bool we would not have this problem. :)
To the best of my knowledge, there is no compiler flag to catch
compar
thanks for the answer!
--- On Thu, 8/21/08, Shawn Erickson <[EMAIL PROTECTED]> wrote:
> From: Shawn Erickson <[EMAIL PROTECTED]>
> Subject: Re: CALayer retain count
> To: [EMAIL PROTECTED]
> Cc: Cocoa-dev@lists.apple.com
> Received: Thursday, August 21, 2008, 11:27 AM
> On Thu, Aug 21, 2008 at 7
Hi,
I'm trying to get the 10.4+ NSNumberFormatter to properly format a
basic decimal input in a table view. For whatever reason, I keep
getting either (1) an invalid format (which causes the formatter to
refuse the input) or (2) a formatted input, but without the 3-digit
grouping separato
On Thu, Aug 21, 2008 at 7:06 AM, Shaun Larkin <[EMAIL PROTECTED]> wrote:
> Why is it that when you set a CALayer property it's retain count increases
> +1 ?
>
> eg.
>
> CALayer * testLayer = [[CALayer alloc] init];
> NSLog(@"test layer retain count:: %i", [testLayer retainCount]);
> testLayer.fra
Am Do,21.08.2008 um 17:03 schrieb Oleg Krupnov:
Amin,
It is true that I am new to Cocoa, and although I find the
documentation really great and engaging, I have sort of difficulty
figuring out what technology is newer/more powerful/built on top of/
other technology.
In particular, would you e
1 - 100 of 154 matches
Mail list logo