On Thu, May 26, 2011 at 11:43 PM, Patrick Robertson
robertson.patr...@gmail.com wrote:
I currently have an application which pastes objects from a given list of
saved objects (basically strings) to wherever the mouse if focused.
What I'm looking to do is paste these objects in RT format into
On Fri, May 27, 2011 at 11:06 PM, Patrick Robertson
robertson.patr...@gmail.com wrote:
1. If you're running on 10.6
I may go this way, and just leave it as it is for 10.5 users.
2. You're seriously simulating keystrokes to paste things in places?...
Yep, if you can come up with a better
Thanks for your response Steve. I have considered using the
nsnotification service but what if you need to not only let another
object know when an event has occurred but you also need to send that
object some data? For example a user selects an option in a table -
the selection must be conveyed
Way back when, when XCode was almost! brand new, I printed out reams and reams
of paper which described, for example, how a NSDocument-based macOS app
happened. For example, I learned to override:
-(BOOL)readFromURL:(NSURL *)absoluteURL ofType:(NSString *)typeName
error:(NSError **)outError
On May 28, 2011, at 9:19 AM, John Love wrote:
Okay, what's the point? This point is a question: where can I find the
details of who calls whom after main.m is run .. in the iOS word, what
happens inside UIApplicationMain.
You will probably want to start with the iOS Application
On May 28, 2011, at 6:11, Dan Hopwood d...@biasdevelopment.com wrote:
Thanks for your response Steve. I have considered using the
nsnotification service but what if you need to not only let another
object know when an event has occurred but you also need to send that
object some data? For
On Thu, May 26, 2011 at 9:15 PM, Dave Keck davek...@gmail.com wrote:
I'm using random(), but every time I run my app I get the same sequence,
despite having this code in my app delegate's -appDidFinishLaunching method.
Clearly I'm not seeding it right, though I can't see why - I get a
Dear all,
I got a problem when extracting data from XML using NSXML and XPath. When
doing the same thing using Java, it works fine. But using NSXML and XPath,
the result is different.
The XML is pretty simple.
?xml version=1.0 encoding=UTF-8?
addresses
roadOrange ST/road
On Sat, May 28, 2011 at 9:40 PM, Bing Li lbl...@gmail.com wrote:
The XML is pretty simple.
?xml version=1.0 encoding=UTF-8?
addresses
roadOrange ST/road
aptRM235/apt
/addresses
The following code is use to extract the value of the road, Orange ST. In
Java, the
I'm porting some code to iOS from MacOS for the first time.
I find that UIColor is quite impoverished compared to NSColor, but I also don't
see a way to do what I need using CGColorRef either.
Specifically, I often generate colours from other colours by using the H, S and
V values returned by
#import UIKit/UIKit.h
@class SGBoard; //-- error: Expected '{' before 'class'
@interface GameViewController : UIViewController
{
IBOutlet UIView*mGameView;
IBOutlet SGBoard* mBoard;
}
- (SGBoard*)board;
@end
This is occurring on
On 29/05/2011, at 2:29 PM, Graham Cox wrote:
Dah! Forget it - silly mistake elsewhere. As always, noticed seconds after
posting.
--G.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
On Sat, May 28, 2011 at 11:29 PM, Graham Cox graham@bigpond.com wrote:
#import UIKit/UIKit.h
@class SGBoard; //-- error: Expected '{' before 'class'
@interface GameViewController : UIViewController
{
IBOutlet UIView* mGameView;
IBOutlet SGBoard*
You can use CGColorGetComponents on a CGColorRef to get the values of whatever
colorspace the CGColorRef is in and you can create new CGColorRefs with those
values.
I don't see a way to convert from one colorspace to another however a quick
test on one UIColor constructed with HSV values
14 matches
Mail list logo