-
as seen on Stack Overflow
- Search for 'Stack Overflow'
So I started reading this book:
http://www.amazon.com/Cocoa-Design-Patterns-Erik-Buck/dp/0321535022
On chapter 2 it explains about the MVC design pattern and gives and example which I need some clarification to.
The simple example shows a view with the following fields:
hourlyRate, WorkHours, Standarthours…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello,
I want to drag a row from my tableview and drop it into any other NSTextField in Mac OS X 10.6, and have a string of text be dropped.
Drag and drop already works within my app (between a NSTableView and an NSBrowser), but I have had no success putting any data on the pasteboard that can…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I need to translate the a carbon method into cocoa into and I am having trouble finding any documentation about what the carbon method getPtrSize really does. From the code I am translating it seems that it returns the byte representation of an image but that doesn't really match up with the name…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi
I am trying to send some text in an email from my cocoa app (by using Mail.app). Initially I tried using HTML to send properly formatted text. But the mailto: URL does not support html tags (even after setting headers)
So I decided to use formatted string (left-aligning of string) This is what…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Having just updated Mono to 2.6.3 (on OS X), I noticed in the installer that cocoa# 0.9.5 is also installed. However using MonoDevelop there are no cocoa# project templates by default, and I was wondering if anyone knew more about creating cocoa# apps.
If you goto the cocoa# page on the Mono site…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I've been trying to figure out how to draw a shadow for an UIView that was added inside a UIView with addSubview.
I searched online and read the docs, but the Apple docs simply draw new shapes as shown below. I want to use the Core Graphics to add a shadow to the UIView, but am unsure how to…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a uiview class and i want to switch to other uiview class but without using addsubview
is there any other way to do that except the one (addSubView)
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I have a UIViewController that I launch from a Xib file who's contain a UIView (0,0,320,480) and this UIView contain another UIView (0,0,320,250).
Inside my ViewController, I need to reload the second UIView bu clicking on a button, how to do that?
Thanks,
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Basically what I want to do is copy the already rendered content (a PDF drawn into the UIView's graphics context using CGContextDrawPDFPage()) onto a similar UIView, without having to re render the PDF. The idea is, that I'd then be able to perform an animated transform on the UIView and later re…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Is there a simple way of allowing interaction with a button in a UIView that lies under another UIView - where there are no actual objects from the top UIView on top of the button?
For instance, at the moment I have a UIView (A) with an object at the top and an object at the bottom of the screen…
>>> More