Hi,
I have a NSView which hosts a list of NSViews (like an NSTableView
with views instead of cells). It works perfectly except when the list
starts to grow. When I get too many items resizing become sluggish,
and after checking I think it is because it is drawing all the views
all the tim
I have some code using the openssl library to perform some public-key
decryption. I'm finding that the calendar system in use (Gregorian vs.
Hebrew say, as set in System Preferences) affects the outcome of
performing a SHA1 hash on some arbitrary data. Is this to be expected?
It seems weird
On 15 Feb 2009, at 11:06 pm, Graham Cox wrote:
I have some code using the openssl library to perform some public-
key decryption. I'm finding that the calendar system in use
(Gregorian vs. Hebrew say, as set in System Preferences) affects the
outcome of performing a SHA1 hash on some arbitr
On Sat, Feb 14, 2009 at 11:42 PM, Jerry Krinock wrote:
>
> On 2009 Feb 14, at 08:36, Michael Ash wrote:
>
>> http://www.mikeash.com/?page=pyblog/dont-use-nsoperationqueue.html
>>
>> If you read all the way to the end you'll see that NSOperationQueue
>> can be induced to crash even when using only
On Sun, Feb 15, 2009 at 4:32 AM, Alejandro Rodriguez
wrote:
> Hi,
>
> I have a NSView which hosts a list of NSViews (like an NSTableView with
> views instead of cells). It works perfectly except when the list starts to
> grow. When I get too many items resizing become sluggish, and after checking
In my projects, I tend to define methods which need access to member
variables as class methods, and related functions, which do not need
"direct" access to any internal object data, as C functions, like the
simple example below.
@implementation FunctionTestAppController
+ (id) sharedController
{
On Feb 15, 2009, at 10:32 AM, Martin Redington wrote:
In my projects, I tend to define methods which need access to member
variables as class methods, and related functions, which do not need
"direct" access to any internal object data, as C functions, like the
simple example below.
@implement
Thanks very much for the quick reply. It looks like the code
generation option "symbols hidden by default" is the one that needs to
be turned off. I was looking under "stripping" before.
After turning that setting off, 'nm -m' reports
1f9c (__TEXT,__text) external _SomeFunction
instead of
0
I like the addition of "Related Sample Code" sections to the Cocoa reference
Docs. Good work Apple. Keep it up.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the mo
On Feb 15, 2009, at 3:27 PM, Erik Buck wrote:
I like the addition of "Related Sample Code" sections to the Cocoa
reference Docs. Good work Apple. Keep it up.
I noticed that too and think it's great. If only there were a place
to file an anti-Radar.
--Andy
I just used the feedback button at the bottom of every Cocoa document page to
tell Apple that I like the addition of the ""Related Sample Code" sections.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or modera
Hi All,
I have a NSTableView in a dialogue box (NSPanel subclass) I am passing
in a value that I want to be the item that is selected when the
dialogue opens.
I fully populate the Datasource Array then I do this
//select the item passed in
for(unsigned arrayCounter = 0; arrayCounter < [diaM
On Feb 15, 2009, at 1:32 PM, Martin Redington wrote:
In my projects, I tend to define methods which need access to member
variables as class methods, and related functions, which do not need
"direct" access to any internal object data, as C functions, like the
simple example below.
@implementa
On Sun, Feb 15, 2009 at 3:43 PM, ANE wrote:
> Thank you for advice.
>
> I'm a newbie in objective-c. The idea was to build a generic class like
> generics in C#...
>
> That's a pity.
Objective-C doesn't have generics or templates like C#, Java, and C++
have. It's more like Java and C# before the
i've got a window that has several editable NSTextFields (and other
controls and views). if i do some editting in one of the fields and
then select another field (tab or click another text field), as you
can see in the below stack trace, this results in a call to
-[NSUndoManager removeAllAction
The docs are a clear a mud on this. What do you get from CALayer's
defaultValueForKey? Is this the same as one would expect from valueForKey
for an NSDictionary? The return type is "id".
" If this method returns nil a suitable ³zero² default value for the
property is provided, based on the
On 15-Feb-09, at 4:14 PM, Andy Lee wrote:
On Feb 15, 2009, at 3:27 PM, Erik Buck wrote:
I like the addition of "Related Sample Code" sections to the Cocoa
reference Docs. Good work Apple. Keep it up.
I noticed that too and think it's great. If only there were a place
to file an anti-Ra
It's hard to tell from this...
are you attempting to manually fiddle with (add layers, etc..) the
layer of a layer-backed view?
You shouldn't do that. It isn't yours. Only interact with the layers
if you're using views for layer-hosting
On 14-Feb-09, at 6:19 PM, Bridger Maxwell wrote:
On 16 Feb 2009, at 10:07 am, Gordon Apple wrote:
What does that mean? If you want a CGSize, does that mean you have to
use "sizeValue" on what is returned and convert it?
Yes; what is returned is an object (NSValue) containing the size. You
call -sizeValue to get the size itself. KVC alwa
On Feb 15, 2009, at 6:22 PM, Scott Anguish wrote:
On 15-Feb-09, at 4:14 PM, Andy Lee wrote:
On Feb 15, 2009, at 3:27 PM, Erik Buck wrote:
I like the addition of "Related Sample Code" sections to the Cocoa
reference Docs. Good work Apple. Keep it up.
I noticed that too and think it's gr
Hey All,
I want to make my own Progress Indicator similar to that used in
Delicious Library 2 and the 'Burn' button in iTunes. I want a spinning
glass arrow like the one in the new iPod nano interface. How would I go
about building my own? Or is there a custom framework out there?
Cheers
Ale
On Feb 15, 2009, at 2:27 PM, Damien Cooke wrote:
This does not work and I was wondering if
1: can I programatically select an item in a NSTableView?
Well, what you're doing is technically correct, although I'd recommend
using NSUInteger instead of unsigned, but that's not the problem...
When converting an AttributedString to HTML per
http://www.cocoadev.com/index.pl?HTMLFromRTFD all the links begin with file:///.
So trying to open the result in a browser results in broken links for all the
images since apparently file:/// signifies the root directory. Why aren't the
links r
There has been a repeated advise to use Shark.app to measure before
optimisation.
So I decided to follow this advise.
Started my app, then started Shark and selected my app, hit Start, did
something in my app, hit Stop.
Got an impressive display which consisted (almost exclusively) of
cal
Hi All,
I'm working out some tests one one-to-many and many-to-many relations
between entities. So far things are working well, including the
bindings. But I'm puzzled by the documentation.
http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/CoreData/Articles/cdRelationships.html#/
/
On Feb 15, 2009, at 6:57 PM, Gerriet M. Denkmann wrote:
So: why is everybody so enthusiastic about Shark when it is
absolutely useless for me?
I bet that's because they don't care about how useful it is for you as
long as it works for them.
My code resides in: "/Volumes/เม่น/Users/gerr
On Sun, Feb 15, 2009 at 9:57 PM, Gerriet M. Denkmann
wrote:
> There has been a repeated advise to use Shark.app to measure before
> optimisation.
> So I decided to follow this advise.
>
> Started my app, then started Shark and selected my app, hit Start, did
> something in my app, hit Stop.
>
> Go
I find Shark immensely useful, and that the Apple team is very responsive to
issues to are bought up.
(developers on alternative platforms, pay quite a bit of money for this type of
functionality).
If you think that the path name is a problem for you, and if you want to
measure your application
On Feb 15, 2009, at 9:17 PM, Joar Wingfors wrote:
On Feb 15, 2009, at 6:57 PM, Gerriet M. Denkmann wrote:
So: why is everybody so enthusiastic about Shark when it is
absolutely useless for me?
I bet that's because they don't care about how useful it is for you
as long as it works for t
Hi,
I am working on a small Cocoa application, which uses a TableView to
display information that is collected from an internet site. A timer
reloads the TableView every second.
The problem is that everytime the timer reloads the TableView, about
5 - 20 MB of memory is used (depending on
Hi,
Ok, I will file this as a bug.
Kind regards,
Anders Lassen
On Feb 16, 2009, at 8:28 AM, Bill Bumgarner wrote:
Can you file a bug, please, and attach either your project or a
binary along w/steps to reproduce using said example?
http://bugreport.apple.com/
thanks,
b.bum
On Feb 15, 20
31 matches
Mail list logo