e the reference code:
https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSStatusItem_Class/Reference/Reference.html
Cheers
Simon
On 8 Dec 2013, at 3:47 pm, Jerry Krinock wrote:
> How can I make my app’s Status Item (“menulet", right side of menu b
ost of the time, but you can not rely
on it...
Cheers, Jörg
On Nov 12, 2012, at 3:33 PM, Tom Davie wrote:
>
> On 12 Nov 2012, at 14:18, Joerg Simon wrote:
>
>> You can use dispatch_sync. The blog post of oliver dobnigg (cocoanetics)
>> summs that up quite nicely:
>&g
You can use dispatch_sync. The blog post of oliver dobnigg (cocoanetics) summs
that up quite nicely:
http://www.cocoanetics.com/2012/02/threadsafe-lazy-property-initialization/
Cheers, Jörg
On Nov 12, 2012, at 2:44 PM, Tom Davie wrote:
>
> On 12 Nov 2012, at 13:39, Marco Tabini wrote:
>
>>>
This summs it up really nicely:
http://wbyoung.tumblr.com/post/27851725562/core-data-growing-pains
Links to radar bug reports are within the blog post.
The conclusion it is not usable does not hold under iOS6, since nested contexts
work quite wonderfully there, but it shows problems under iOS5.
How do I get details of a photo taken by the iphone? I want to know the
time/date the photo was taken and get where it was taken via the GPS details
for
an application made by xcode.
Thanks...
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Pl
d a problem with spaces in attachment names. Again, you can read about
it in their forums at:
http://www.mulle-kybernetik.com/forum/viewtopic.php?f=5&t=59
However the framework is easy to use and has been reliable and I worked around
the last
Thanks Seth. I haven't been able to find any good docs on this stuff. Do
you happen to know where I can read conceptual material about color spaces?
On Mon, May 31, 2010 at 1:11 PM, Seth Willits wrote:
> On May 31, 2010, at 4:06 AM, Simon Raisin wrote:
>
> > Thank yo
Hi,
I am trying to reduce the size of an NSImage by 50% and then save the
reduced image out to disk. The following code does not reduce the image.
Should I be going about this a different way?
Thanks!
Simon
NSImage* inputImage = [[NSImage alloc] initWithContentsOfFile:[fileNames
channel.
I hate it when the docs are incorrect.
And I copied that method call from an Apple sample... I'll remove the
extraneous casts. :)
Thanks again,
Simon
On Sun, May 30, 2010 at 10:08 PM, Seth Willits wrote:
> On May 29, 2010, at 7:09 AM, Simon Raisin wrote:
>
> > I would li
I would like to create an 8-bit grayscale image but I cannot find a color
space that uses only 1 8-bit value per pixel. Everything seems to either be
RGB, RGBA, or one color *plus* an alpha channel.
Am I going about this the wrong way?
Thank you in advance,
Simon
NSBitmapImageRep
geData = [bitmapImageRep representationUsingType:
NSJPEGFileType properties:imageProps];
[outputImageData writeToFile:@"output.jpg" atomically:NO];
[bitmapImageRep release];
[pool drain];
return 0;
}
On Tue, May 25, 2010 at 8:24 AM, Simon Raisin wrote:
> Hi,
>
&g
). Without a solution I am just allowing the
leaks by not deallocing.
Would be most interested in solution.
Simon
On 25 May 2010, at 15:54, Kyle Sluder wrote:
> On Tue, May 25, 2010 at 6:14 AM, Gideon King wrote:
>> An instance 0x11d0ce4b0 of class NMGeneralPrintAccessoryContr
Hi,
I would like to create an new NSImage (of a specified size) by modifying its
pixel data directly. I'm assuming that I have to create/provide a
representation then call [rep bitmapData], but I've been unable to come up
with a working solution thus far.
Does anyone know of an example I might l
) kCFBooleanTrue forKey:
> kCATransactionDisableActions];
> [CATransaction commit];
Try something like this:
[CATransaction begin];
[CATransaction setValue:[NSNumber numberWithFloat:0.0f]
forKey:kCATransactionAnimationDuration];
[scrollLayer scrollToPoint:...];
[CATransaction commit
i need to port some code to iphone and now i find that i can not call system
interface of objc. i can rename my files from 888.c to ***.m and it works.
but i do not wanna rename my files.
what should i do?i think there must be some choice in xcode.but i don't
konw..[?]
<<33C.gif>>_
On 19 Feb 2010, at 03:50, Scott Anguish wrote:
>
> On Feb 16, 2010, at 5:45 PM, Simon Wolf wrote:
>
>>>
>>> I'm wondering when writing a layer hosting view, when the most appropriate
>>> time is to set the layer and call -setWantsLayer:YES?
>>&g
initWithFrame: and in -awakeFromNib without any problems. At the very
least you could check in -awakeFromNib to see if the view is already
layer-backed and only call setWantsLayer: if it is not.
Simon Wolf
Website: http://www.ottersoftware.com
Twitter: http://www.twitter.com/sgaw
iChat: simo
h may not
(in my experience ever) be in the current run loop.
Simon Wolf
Website: http://www.ottersoftware.com
Twitter: http://www.twitter.com/sgaw
On 16 Feb 2010, at 20:52, Keith Duncan wrote:
> I'm wondering when writing a layer hosting view, when the most appropriate
> time is to s
Hi,
Does anyone have any idea where the new functions for ColorSyncManager
(presumably 64bit focused) are documented? The only information I can find
lists the new functions but does not document them. (Application Services
Reference Update. dated 2009-8-28 lists the names but has no reference
09 at 2:52 AM, Joerg Simon wrote:
Dear all other Cocoa Developers:
In an app I am developing I have the following strange thing:
[code in the .h file]
@interface XY : CALayer
BOOL _editing;
...
@property (assign, getter = isEditing) BOOL editing;
[/code]
[code in the .m file]
@synthesi
cks a OS 2.x iPhone simulator, that
means I can't use the simulator on the iPhone, and it secondly means
that the app has problems to compile with the new compiler, and that
would be bad if apple switches internally.
Any suggestions what to do?
Thanks
hello every one
i need to get current system event,waiting until the function get some
event,then remove it from the queue
what should i do?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
I don't really agree, as others have suggested, that this is a
hammering a Mac-shaped peg into a Windows-shaped hole problem we're
dealing with here. There are many successful Mac applications which
use a tabbed view to consolidate multiple documents: TextMate comes
immediately to mind — yo
NSString *s = [@"1,660.0" stringByTrimmingCharactersInSet:[NSCharacterSet
characterSetWithCharactersInString:@","]];
For some reason s is always "1,660.0".
Shouldn't the comma be removed?
Thanks,
CxT
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.c
Hi,
I'm running into a binding issue is my main application so I wrote a small
test app to try to track down the problem: primarily that I cannot get the
UI to update appropriately when it is configured to observe my model objects
via bindings.
// AppDelegate.h
@class ModelObject;
@interface AppD
Change:
[arregloNumeros release];
}
to:
[arregloNumeros removeAllObjects];
}
[arregloNumeros release];
regards
Simon
___
Cocoa-dev mailing list (Cocoa
imation before the
window closes (by listening to the NSWindowWillCloseNotification), but
this only seems to delay the crash a bit.
Does anybody have a clue what's wrong here? Thanks in advance.
Simon Haertel
___
Cocoa-dev mailing list (Cocoa-dev@list
p and then translate them but you
notice the change as the panel slides down.
Thanks
Simon
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at
Does anyone got this fixed before ?
Thanks for your answers,
Best,
Simon
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins
it's clear that there is a problem converting from the string to
date. Is there an issue with creating static NSDateFormatters? Its
curious because some of the date formatters in my app work as
expected, others do not.
Set your date format string to "dd/MM/"
[formatter setD
then step through your code until it errors and then
post back here with more details.
Simon
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at coco
---
Simon Raisin wants to stay in better touch using some of Google's coolest new
products.
If you already have Gmail or Google Talk, visit:
http://mail.google.com/mail/b-4cf3a124c9-b5625013e4-863fde0ab01abf2e
You'
Thank-you all for your responses, this makes more sense... cheers
On 13 Sep 2008, at 04:43, Michael Ash wrote:
On Fri, Sep 12, 2008 at 3:25 PM, Simon <[EMAIL PROTECTED]> wrote:
Hi guys,
This is a quick question I hope! What's the most efficient way to
make the
progress indicator
ld try and find
out the dirty area if I need to...
Sorry in advance if I'm missing something, but your help will be
greatly appreciated.
Thank-you
Simon
[1] http://stickupkid.com/cocoa/mailing-list/progress-gear.png
___
Cocoa-dev mai
On 11 Aug 2008, at 14:27, Uli Kusterer wrote:
On 11.08.2008, at 14:45, Simon Wolf wrote:
All of my attempts to change the foreground color via
NSForegroundColorAttributeName have failed so far as have attempts
to set the color in the Credits.html file (CSS works for standard
text, not
regroundColorAttributeName have failed so far as have attempts to
set the color in the Credits.html file (CSS works for standard text,
not links however).
Does anyone have any idea how I can solve this?
Simon
___
Cocoa-dev mailing list (Cocoa-dev@lists.appl
oduce a sphere as I would like - can anyone please help me with this? I
seem to be having difficulties finding an openGL ES irc community - can
anyone also suggest where I might locate the community? J
Many thanks
Simon
___
Cocoa-dev mailing list (
waiting for?!
We're meeting in Prague (Czech Republic), 1st July 2008... hope to see
you there!
http://macsinprague2008.pbwiki.com/
Regards,
Simon et al
p.s. Sorry for the short notice, but for the folks in Europe, Prague
is very easy to g
.5 or later, look into FSEvents.
And if you do that, Stuart Connolly has written a nice wrapper called
SCEvents:
http://stuconnolly.com/projects/source-code/
Simon
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list
On 20 May 2008, at 01:18, Brad Gibbs wrote:
On pages 36-7 of Aaron Hillegass' new book, he provides sample code
for a Foundation Tool called Lottery. The code is below:
NSMutableArray *array;
array = [[NSMutableArray alloc] init];
int i;
for (i = 0; i < 10; i++) {
On 9 May 2008, at 16:59, Simon Wolf wrote:
I have an NSTextField with an associated NSNumberFormatter which I
am using to format the values shown to a specific number of decimal
places. I have a second NSTextField which I am using to display and
edit the number of decimal places that I
imple way to achieve the refresh but
after an hour of messing around I though I'd ask wiser folk.
Many thanks.
Simon
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
On 9 May 2008, at 16:11, Jens Alfke wrote:
On 9 May '08, at 6:41 AM, Simon Wolf wrote:
So much to learn ... but what a fantastically refreshing change
from VB6 and .Net.
So I gather :) I just read this excellent article on ArsTechnica by
a Windows developer who's recently switc
On 9 May 2008, at 12:48, Paul Sargent wrote:
On 9 May 2008, at 10:10, Simon Wolf wrote:
I'm going to apologise here in my first contribution to this list
for the potential stupidity of my questions. I'm a VB developer who
has been a Mac user for several years but I'm only
Thanks Stephan. The whole area of building and build configuration
seems to be ignored by Aaron Hillegass's wonderful book so I may need
to delve into the official Xcode User Guide.
Simon
On 9 May 2008, at 11:15, Stephan Burlot wrote:
In Xcode, in the Project menu, choose "E
I'm going to apologise here in my first contribution to this list for
the potential stupidity of my questions. I'm a VB developer who has
been a Mac user for several years but I'm only now starting to dip my
toe into XCode and I think that I'm going to have loads of questions,
some practica
the signal,
though sometimes I use a data connection.
I've tried looking in the mailing list's archives, but couldn't seem to find
anything. Does anyone have any ideas (or links to sample code)?
Thanks,
Simon Jones
___
Join Excit
, so it never even occurred to me that this might not be
supported). Would this constitute using a private API ? (is there a
good definition of private API somewhere?)
Tx
Simon
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
48 matches
Mail list logo