English 中文(简体)
NSCell没有适当展示
原标题:NSCell not properly displayed

我在一份《NSTableView》中有一个“NSCell”习俗,它正确显示。 表格认为,其中的物品数量是正确的,但除第一类外,这些物品是空的。 第一部分显示该囚室,但当我点点击NSTableView时,其价值会任意改变。 我怀疑这一点与我的手机copyWithZone:有关。 我的囚室没有任何单体字,只有drawWithFrame:inView:。 2. 计算物体的方法 价值。 http://www.ohchr.org。 页: 1

Should I return something else?

最佳回答

页: 1 <代码>-copyWithZone:。 “影印”是科恰语(新、全座和复印件)中三个魔法词之一,表明被退回的物体应保持有效+1。

另外,请注意,你总是在某个时候将电池指定初始器称为(initImageCell:initTextCell:)。 请注意<0>。 不要说其中一人,那么你也许不会正确开出你的囚室。 See

问题回答

暂无回答




相关问题
Asynchronous request to the server from background thread

I ve got the problem when I tried to do asynchronous requests to server from background thread. I ve never got results of those requests. Simple example which shows the problem: @protocol ...

objective-c: Calling a void function from another controller

i have a void, like -(void) doSomething in a specific controller. i can call it in this controller via [self doSomething], but i don t know how to call this void from another .m file. I want to call ...

ABPersonViewController Usage for displaying contact

Created a View based Project and added a contact to the AddressBook using ABAddressBookRef,ABRecordRef now i wanted to display the added contact ABPersonViewController is the method but how to use in ...

NSArray s, Primitive types and Boxing Oh My!

I m pretty new to the Objective-C world and I have a long history with .net/C# so naturally I m inclined to use my C# wits. Now here s the question: I feel really inclined to create some type of ...

NSUndoManager and runModalForWindow:

I have a simple Core Data app which displays a list of entities in the main window. To create or add new entities, I use a second modal window with a separate managed object context so changes can be ...

NSMutableArray values becoming "invalid"

I m trying to show a database information in a tableview and then the detailed information in a view my problem is as follow: I created a NSMutableArray: NSMutableArray *myArray = [[NSMutableArray ...

iPhone numberpad with decimal point

I am writing an iPhone application which requires the user to enter several values that may contain a decimal point (currency values, percentages etc.). The number of decimal places in the values ...

热门标签