Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Custom NSCell drawWithFrame:inView method not getting invoked in OSX 10.8
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="mriganka" data-source="post: 1569743" data-attributes="member: 321470"><p>I have an application where I have defined a custom cell and have overridden the method - (void) drawWithFrame:inView:</p><p></p><p>This method was drawing my custom cells without any problems as long as I was building my app using Xcode 3.2 on OS X 10.6 or older.</p><p></p><p>Now I am attempting to migrate the code to build with Xcode 4+ on OS X 10.8. And what I have found out is that my custom cell is not getting drawn anymore. After putting break points and running the app through the debugger, I realized that the overridden - (void) drawWithFrame:inView: method of the custom cell is not getting invoked at all.</p><p></p><p>My questions are:</p><p></p><p>1) What is it that makes this method to not invoke at all on OS X 10.8, while it gets invoked and works perfectly fine on OS X 10.6 or older?</p><p></p><p>2) What alternative do I have to fix this issue?</p><p></p><p>Thanks, Mriganka</p></blockquote><p></p>
[QUOTE="mriganka, post: 1569743, member: 321470"] I have an application where I have defined a custom cell and have overridden the method - (void) drawWithFrame:inView: This method was drawing my custom cells without any problems as long as I was building my app using Xcode 3.2 on OS X 10.6 or older. Now I am attempting to migrate the code to build with Xcode 4+ on OS X 10.8. And what I have found out is that my custom cell is not getting drawn anymore. After putting break points and running the app through the debugger, I realized that the overridden - (void) drawWithFrame:inView: method of the custom cell is not getting invoked at all. My questions are: 1) What is it that makes this method to not invoke at all on OS X 10.8, while it gets invoked and works perfectly fine on OS X 10.6 or older? 2) What alternative do I have to fix this issue? Thanks, Mriganka [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
Custom NSCell drawWithFrame:inView method not getting invoked in OSX 10.8
Top