-
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'
I am trying to synchronize the positions of two ScrollViews. I'm trying to do this to display a tv guide listing.
I have created a custom class that extends RelativeLayout to display the guide. This relative layout has four children: an imageview in the top left corner, a HorizontalScrollView to…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hello
I'm using the jquery Scrollview plugin (http://code.google.com/p/jquery-scrollview/) to scroll drag a div with overflow hidden.
My question is how I go about to get a callback function on this?
Anyone?
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a scroll view and I need to reload the contents often while my app is running. Right now, I'm using the following line of code to remove the subviews before adding them back again:
[scrollView.subviews makeObjectsPerformSelector:@selector(removeFromSuperview)];
Should I be using the following…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
HI,
I develop an application in which i want to implement the splash screen, on that splash screen i want to bind the scrollView and UIImage. My code as follow,
-(void)splashAnimation{
window = [[UIWindow alloc] initWithFrame:CGRectMake(0, 0, 320, 420)];
//scrollView = [[UIScrollView alloc]…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am trying to make practice app where i can scroll images with page control. I am able to scroll images and able to include the page control. But the problem i face is i am not able to interlink the two. Meaning to say when I scroll the images, the page control is not affected and when i change the…
>>> More