The typical idiom is to try to dequeue a reusable cell. If that returns nil,
create a new cell. No matter whether it was dequeued or created, configure the
cell (i.e., assign values to labels, configure decorations, etc.). Dequeuing
saves you the overhead of creating new views but you still need
Hmmm.. I think the fact that the tableview is embedded in an enclosing view
seems to be the problem. I checked another tableview that has 4 cells with
textfields and as soon as the textfield becomes first responder, the field is
scrolled into view. I have 2 buttons in the toolbar a the bottom an
Maybe a stupid question but I have 5 cells in a section of my tableview. When I
move the cursor to edit cell 3, it's partially obscured by the keyboard. I
can't even see cell 4 and cell 5. Surely there must be a way to make the cell
visible for editing? My tableview is embedded in a view that al
On Aug 1, 2010, at 18:31, Jerry Krinock wrote:
> When initializing an NSPersistentDocument with sqlite store in a Mac app, I
> insert what I call a "singleton" managed object, like the "Department" in
> DepartmentAndEmployees. It's simply a container which has a to-many
> relationship to its c
On Sun, Aug 1, 2010 at 3:30 PM, James Maxwell
wrote:
> Hello All,
>
> I have a strange problem with NSKeyedArchiver/Unarchiver. I have a very
> complex object graph that I want to be persistent, independently of my
> document objects, so I'm archiving it into the user's application support
> fo
Hi,
For my iPad app, I'm using a UIViewController subclass called
SidebarViewController to display some stuff in a sidebar. In the sidebar I have
a calendar control. I'm using the open source Kal component from
http://github.com/klazuka/Kal. In the -viewDidLoad method of
SidebarViewController,
When initializing an NSPersistentDocument with sqlite store in a Mac app, I
insert what I call a "singleton" managed object, like the "Department" in
DepartmentAndEmployees. It's simply a container which has a to-many
relationship to its containees (i.e., employees). Delete Rule is Nullify.
I
> Maybe your custom table header cell might have the wrong width, and that
> you've hard-coded it:
>
>> [column setWidth:40];
>
> Try changing that.
>
It isn't the width that I'm so much worried about, rather, it's the
height. You can see how the white fill runs up into the gray that is
more
Thanks. I wasn't aware of child windows. Can they be made document-modal?
On 2010-08-01, at 7:07 PM, Andreas Mayer wrote:
>
> Am 02.08.2010 um 00:20 Uhr schrieb Dave Fernandes:
>
>> Is this just a bug, or is it completely unsupported? Can anyone give me a
>> workaround for this?
>
> I don't t
On 2010 Jul 31, at 21:52, Shane wrote:
> table header cell is all white and even extends slightly into the gray area
Maybe your custom table header cell might have the wrong width, and that you've
hard-coded it:
> [column setWidth:40];
Try changing that.
On Aug 1, 2010, at 5:20 PM, Dave Fernandes wrote:
> I haven't found anything specific in the HIG about this, so I'd be interested
> in some opinions...
>
> I have an modal editor sheet that attaches to a document window to allow
> certain document contents to be manipulated. The sheet is somew
Am 02.08.2010 um 00:20 Uhr schrieb Dave Fernandes:
Is this just a bug, or is it completely unsupported? Can anyone give
me a workaround for this?
I don't think toolbars on sheets are supported. As you said yourself,
the user might get confused if there a two toolbars in a single window.
I haven't found anything specific in the HIG about this, so I'd be interested
in some opinions...
I have an modal editor sheet that attaches to a document window to allow
certain document contents to be manipulated. The sheet is somewhat complex, and
toolbar items are definitely helpful to have
On Aug 1, 2010, at 13:31, James Maxwell wrote:
> heh... yeah, that's true. But the thing is I haven't done anything different
> with this particular float* array. It's the same type of archiving I've used
> at many points in the app.
> But I hadn't thought to look for weak references could
heh... yeah, that's true. But the thing is I haven't done anything different
with this particular float* array. It's the same type of archiving I've used at
many points in the app.
But I hadn't thought to look for weak references could this be as simple as
making sure to type cast objects w
On Aug 1, 2010, at 12:30, James Maxwell wrote:
> What I don't understand is how the Hierarchy can be fine at the end of the
> Network's initWithCoder method, but then get banjaxed somehow after that.
Sure you do. Things disappear suddenly when not retained or strongly
referenced. You're descri
Hello All,
I have a strange problem with NSKeyedArchiver/Unarchiver. I have a very complex
object graph that I want to be persistent, independently of my document
objects, so I'm archiving it into the user's application support folder. The
root object for the archive is a class called Network,
On Aug 1, 2010, at 2:43 AM, Michael Thon wrote:
>
> On Jul 31, 2010, at 12:15 PM, Ken Thomases wrote:
>
>> On Jul 31, 2010, at 2:24 AM, Michael Thon wrote:
>>
>>> I am indexing a large set of files using Search Kit. I find that memory
>>> usage (reported by Activity Monitor) keeps growing in
Hello,
I need to simulate a mouse movement defined in physical/logical units rather
than pixels, in OS X 10.6.
Is it possible to do that?
Thank you!
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderato
On Aug 1, 2010, at 6:44 PM, Ken Thomases wrote:
> On Aug 1, 2010, at 11:10 AM, Michael Thon wrote:
>
>> I should probably just stick to my observations and state that "Real Mem" in
>> Activity Monitor is reduced by several hundred MB when the NSOperation
>> finishes indexing a few thousand doc
On 02/08/2010, at 2:19 AM, Nick Rogers wrote:
> - (id)prototype
> {
> HexCell *aCell = [[ HexCell alloc] init];
> [aCell setEnabled:YES];
> [aCell setStringValue:@"00"];
> [aCell setFont:[NSFont systemFontOfSize:10.0]];
> return aCell;
> }
You really don't want to
On Aug 1, 2010, at 11:10 AM, Michael Thon wrote:
> I should probably just stick to my observations and state that "Real Mem" in
> Activity Monitor is reduced by several hundred MB when the NSOperation
> finishes indexing a few thousand documents.
Yeah, using "Real Mem" in Activity Monitor is
Hi,
Thanks for the reply.
I used matrix to display data inside a sector years ago, when I had just
started learning cocoa.
I know its a crude and inefficient way to make a hex viewer, but currently its
not required to be sophisticated at all and I didn't have the time to make any
big changes.
I
On Aug 1, 2010, at 3:12 PM, Ken Thomases wrote:
> On Aug 1, 2010, at 1:43 AM, Michael Thon wrote:
>
>> I am indexing possibly tens of thousands of documents. No matter what I
>> tried, I could not get search kit to release its memory, even after closing
>> the index. The only way I could prev
>
> Hi Mike,
>
> What happens if you periodically call SKIndexFlush() in your loop?
>
> After closing the index, did you use Instruments to confirm that your
> allocated memory is still allocated or did you look at memory usage in
> Activity Monitor? Due to underlying memory management, Activi
On Aug 1, 2010, at 1:43 AM, Michael Thon wrote:
> I am indexing possibly tens of thousands of documents. No matter what I
> tried, I could not get search kit to release its memory, even after closing
> the index. The only way I could prevent memory usage from growing too much is
> to do the in
On 01/08/2010, at 9:28 PM, Nick Rogers wrote:
> Please take a look at the attached image.
>
> Please suggest what I am doing wrong or need to do.
This is a really terrible way to make a hex viewer. Consider using NSTextView
or just use a custom view (I think I've seen a 3rd party open source
Hi,
I have three matrices (all same sub class of NSMatrix, having prototype as a
subclass of NSTextFieldCell), initially inited to have 1 row each and 1, 16 and
16 columns respectively. I'm trying to make a simple hex viewer using matrix
instead of complex custom views for display.
Then I add r
Hey!
On 31/Jul/2010, at 10:41 PM, cocoa learner wrote:
> Any example or code snippet will help here.
Sure! ;-)
// get the shared defaults object
NSUserDefaults *userDefaults = [NSUserDefaults standardUserDefaults];
// remove any previous setting for languages
[userDefaults removeObjectForKey:@
On 01/08/2010, at 3:38 PM, Steve Christensen wrote:
> If you manage a thumbnail cache to supply those images, you could restrict
> the maximum memory footprint and reduce the likelihood that you'll keep
> getting expensive (time-wise) delays trying to generate/draw an image in the
> browser.
30 matches
Mail list logo