Apparently you should use CGColorSpaceCreateDeviceRGB(). In the documentation
for that function, it says:
"In Mac OS X v10.4 and later, this color space is no longer device-dependent
and is replaced by the generic counterpart—kCGColorSpaceGenericRGB—described in
“Color Space Names”. If you use
I got this line straight out of an example in the docs:
CGColorSpaceRef colorSpace =
CGColorSpaceCreateWithName(kCGColorSpaceGenericRGB);
But the compiler won't let me say it ("error: 'kCGColorSpaceGenericRGB' is
unavailable"). And indeed, I do see that the header calls this __IPHONE_NA,
and ye
Very good answers, many thanks! What great info.
I suspected something like this, of course. But then I'd like to complain
about the documentation; I shouldn't have had to discover this by stubbing
my toe against it (or, getting tingly water, as Glenn puts it).
Where are the warnings? We're worki
I'm putting MapKit into my iPhone/iPad app, and the link stage is giving me an
error I don't understand. When I direct it to the Simulator all is well. When I
choose the Device I get a link error,
"_OBJC_CLASS_$_MKMapView", referenced from:
objc-class-ref-to-MKMapView in MapViewController.o
ld:
On Aug 12, 2010, at 1:41 PM, Conrad Shultz wrote:
> On Aug 12, 2010, at 11:06, Keary Suska wrote:
>
>> If you really don't want (or can't have) an instance variable, you can
>> init/alloc then release in connectionDidFinishLoading: and
>> connection:didFailWithError:. I wouldn't recommend this
On Aug 12, 2010, at 6:28 PM, Matt Neuburg wrote:
> Here's my code, simplified (and tested in this simple form) in order to
> demonstrate a mystery:
>
> - (void) illuminate: (NSArray*) arr {
>UIView* v = [[UIView alloc] initWithFrame:self.view.bounds];
>NSLog(@"%@", v);
>CALayer* lay
UIView does not maintain a tree. The view tree is really a CALayer tree, where
some (or all) of the layers belong to UIView instances. This tie is made by the
fact that UIView is the layer's delegate. Thus self.subviews is really
self.layer.sublayers for each layer whose delegate is a UIView. Lo
Here's my code, simplified (and tested in this simple form) in order to
demonstrate a mystery:
- (void) illuminate: (NSArray*) arr {
UIView* v = [[UIView alloc] initWithFrame:self.view.bounds];
NSLog(@"%@", v);
CALayer* lay = [v layer];
v.tag = 111;
[self.view addSubview:v];
On 12 Aug 2010, at 2:39 AM, Paresh Thakor wrote:
> Can anyone please let me know any other alternative for term.h? When i build
> the application using device, i got lots of errors, basically first error is
> term.h not found. Can anyone please suggest me something? Any better idea? I
> have to
On Aug 12, 2010, at 12:26 AM, Hunje Cho wrote:
> Hello,
>
> I'm just wondering whether autoreleased NSURLConnection object can
> finish its job before released. Like below codes.
>
> // connect to http server for downloading a large file
> NSURLConnection* con = [NSURLConnection connectionWithRe
Hi,
This is gonna be my first break out with mailing list, please welcome me.
I'm trying to implement terminal like application with libssh2 library. I got
connection and everything is working fine, but i need to process the output
manually and need to display it on UIView. To display the outpu
Hello,
I'm just wondering whether autoreleased NSURLConnection object can
finish its job before released. Like below codes.
// connect to http server for downloading a large file
NSURLConnection* con = [NSURLConnection connectionWithRequest:request
delegate:self];
// con is not saved as property
Hi everyone,
BYU CocoaHeads will be having their August meeting (yes, it really is an
important meeting) tonight at 7pm in W110 TNRB on BYU campus. We'll be
continuing our discussions of Quartz Composer. (Parking is free, and a map to
the building is here: http://map.byu.edu/?building=tnrb )
Simple question, appropriate simple answer. Thanks.
On Aug 11, 2010, at 7:45 PM, John C. Randolph wrote:
On Aug 11, 2010, at 6:24 PM, k...@highrolls.net wrote:
Can an iPhone app get input from the camera?
Yes.
-jcr
___
Cocoa-dev mailing lis
Le 12 août 2010 à 16:58, McLaughlin, Michael P. a écrit :
> I have a new Mac Pro which is perfectly OK except that the NSBeep() function
> in my code (OS 10.6.4, Xcode 3.2.3) produces a beep (the default) that is
> almost too soft to hear. Other sounds through the internal speaker are
> fine.
>
I have a new Mac Pro which is perfectly OK except that the NSBeep() function
in my code (OS 10.6.4, Xcode 3.2.3) produces a beep (the default) that is
almost too soft to hear. Other sounds through the internal speaker are
fine.
Is this a bug or a feature?
Thanks.
--
Mike McLaughlin
__
Rick Mann (rm...@latencyzero.com) on 2010-08-11 17:33 said:
>On Aug 11, 2010, at 13:16:28, Kyle Sluder wrote:
>
>> http://www.cocoabuilder.com/archive/message/cocoa/2009/5/29/237809
>
>This thread refers to a debug version of Core Data. I looked through my
>ADC assets, but don't see that anywhere.
Quincey Morris writes:
> The ability to omit the instance variable (called the "non-fragile
> instance variable" mechanism) is a feature of the latest Objective-C
> compilers and runtime, and is available for 64-bit Mac OS x64
> applications, and applications running on an iOS device.
As I obser
18 matches
Mail list logo