It turns out that on 10.6+ at least, just setting the button cell to enabled
does the trick:
NSButton *button = [window standardWindowButton:NSWindowMiniaturizeButton];
NSButtonCell *buttonCell = [button cell];
[buttonCell setEnabled:YES];
Still, it's definitely an Apple bug, and I'l
It's an Apple bug - I meant to file it but apparently didn't; I should do that.
It's nothing to do with the styleMask; sometimes the window sets the
buttonCell's temporarilyDisabled flag and doesn't restore it.
From a comment in my code:
* temporarilyDisabled should only be YES when the menubar
I have an application where sometimes I need to go full screen. While in full
screen mode, I need to change the presentation mode so that sometimes the
menubar and toolbar are autohiding, and sometimes just not shown. Then when I
exit full screen, I reset the values to what they were before I st
On 2012 Jul 19, at 11:32, Jens Alfke wrote:
> every time you make a change, the entire file will have to be uploaded [by
> Dropbox] (and downloaded on the other devices) so this doesn't scale well.
I tested this about a year ago and found otherwise. Drag a large file into
your Dropbox. Say t
You've found both the methods which apple makes available. If you don't want to
use iCloud, or can't because it ties you to the MAS, then you're left with
iTunes file sharing. It's not a lovely solution, it's ok for moving a file
every once in a while or priming some data one-time, but more than
Hi, I have a problem where it appears that a core animation task is being run
on something created in a background thread, but the thread is being removed
before the animation has finished.
I have checked through my code and don't see anything that could be doing this
explicitly, so am guessing
Thanks all for the replies!
rc
On Jul 19, 2012, at 11:41 PM, Fritz Anderson wrote:
> On 19 Jul 2012, at 1:47 AM, Rick C. wrote:
>
>> If I use this to initiate a background "thread":
>>
>>
>> dispatch_async(dispatch_get_global_queue(0, 0), ^{
>>
>> // do some stuff
>>
>> [self runMyFunctio
On Jul 19, 2012, at 6:40 PM, Mark Munz wrote:
>> iCloud? If these are your own application's files. Might be a possibility.
>> Haven't tried it.
>
> According to Apple, apps have to be on the Mac App Store in order to
> use iCloud APIs.
> That makes it an automatic 2nd choice (over something li
On 20/07/2012, at 12:06 AM, Ben Golding wrote:
> In my app, I have a custom view which I'm printing. The NSPrintPanel has an
> accessory panel attached with a couple of options on it that I'm observing
> using the NSPrintPanelAccessorizing method
> -keyPathsForValuesAffectingPreview. That wo
> iCloud? If these are your own application's files. Might be a possibility.
> Haven't tried it.
According to Apple, apps have to be on the Mac App Store in order to
use iCloud APIs.
That makes it an automatic 2nd choice (over something like Dropbox)
for any dev that isn't going to be MAS-only.
On Thu, Jul 19, 2012, at 03:58 PM, Gavin Stokes wrote:
> >
> > But I am stumped as to how I might be able to more or less seamlessly
> > handle syncing the file between the Mac and the iOS device.
>
>
> This is perhaps the most glaring and insufferable omission in the SDK. I
> urge you to file a
>
> But I am stumped as to how I might be able to more or less seamlessly
> handle syncing the file between the Mac and the iOS device.
This is perhaps the most glaring and insufferable omission in the SDK. I
urge you to file a bug report on this and tell Apple that you want to be
able to sync d
On Jul 19, 2012, at 5:16 PM, Dennis wrote:
> It looks like I need to explore using Dropbox.
iCloud? If these are your own application's files. Might be a possibility.
Haven't tried it.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
On Jul 19, 2012, at 3:12 PM, Jeffrey Oleander wrote:
>> If by 'syncing' you mean 'copying'...
>> If you really mean 'syncing'
>
> Or do you mean contention management as you'd
> get with a massive data-base running on an NFS
> cluster, so that what is really multiple files
> on separate devices a
> From: Jens Alfke
> Subject: Re: Sharing a file between Mac and iOS
> To: "Dennis"
> Cc: Cocoa-dev@lists.apple.com
> Date: Thursday, 2012 July 19, 13:32
>> On 2012 Jul 19, at 08:22, Dennis wrote:
>> But I am stumped as to how I might be able to
>> more or less seamlessly handle syncing the fil
On Jul 19, 2012, at 6:02 AM, Jonathan Taylor wrote:
> - User requests batch processing of data within a folder tree, which will
> result in between 0 and many separate movies being generated.
> - Application allocates a "progress" tracker, subclassed from
> NSWindowController, in control of a wi
> I have written a Mac app (with another, i.e. non-Cocoa, language), and now
> that I'm developing iOS apps in Xcode, I'd like to create an iOS app that can
> share its files. The file format is fairly straightforward SQLite, and I've
> determined that I can work with it just fine with the FMDB
On 2012 Jul 18, at 09:12, Jerry Krinock wrote:
> • "value" binding of an NSTokenField bound is bound via an object controller
> to an array property of a model object.
> • -tokenField:completionsForSubstring:indexOfToken:indexOfSelectedItem: is
> implemented to show completions.
>
> The comp
Jonathan,
Could you not watch the serial queue you mentioned? When it is empty, release
the progress window.
- Erik
Sent from my iPad
On 2012-07-19, at 4:02 AM, Jonathan Taylor wrote:
> this nasty NSAutounbinder thingy then jumps in and re-retains it in some
> evil under-the-covers
On Jul 19, 2012, at 8:22 AM, Dennis wrote:
> But I am stumped as to how I might be able to more or less seamlessly handle
> syncing the file between the Mac and the iOS device. Unfortunately iCloud is
> not an option for me, and iTunes file sharing seems to be far from seamless.
If by 'synci
On Jul 19, 2012, at 6:13 AM, William Squires wrote:
> I'm wondering if there's some way to use introspection to figure out the
> (primitive) type of a property, such as 'int', 'float', 'char', or 'BOOL'
Sure — call the Obj-C runtime function property_getAttributes(). You'll first
want to ca
On Jul 19, 2012, at 9:52 AM, Jerry Krinock wrote:
> Dropbox :))
>
> Seriously, Dropbox won't give you any crap. Read this, though, and then
> research further to learn if the App Store rejection issue has been resolved…
>
> http://www.macrumors.com/2012/05/02/ios-apps-with-dropbox-integration-
On Jul 19, 2012, at 12:52 PM, Jerry Krinock wrote:
>
> On 2012 Jul 19, at 08:22, Dennis wrote:
>
>> Unfortunately iCloud is not an option for me
>
> Dropbox :))
>
> Seriously, Dropbox won't give you any crap. Read this, though, and then
> research further to learn if the App Store rejection
On 2012 Jul 19, at 08:22, Dennis wrote:
> Unfortunately iCloud is not an option for me
Dropbox :))
Seriously, Dropbox won't give you any crap. Read this, though, and then
research further to learn if the App Store rejection issue has been resolved…
http://www.macrumors.com/2012/05/02/ios-app
On Jul 19, 2012, at 8:22 AM, Dennis wrote:
> I have written a Mac app (with another, i.e. non-Cocoa, language), and now
> that I'm developing iOS apps in Xcode, I'd like to create an iOS app that can
> share its files. The file format is fairly straightforward SQLite, and I've
> determined that
I don't know for sure, but you might be able to get around the 3rd party
plug-in issue by using runtime attributes instead.
--
Gary L. Wade (Sent from my iPad)
http://www.garywade.com/
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
On 19 Jul 2012, at 1:47 AM, Rick C. wrote:
> If I use this to initiate a background "thread":
>
>
> dispatch_async(dispatch_get_global_queue(0, 0), ^{
>
> // do some stuff
>
> [self runMyFunction];
>
> [self runAnotherFunction];
>
> // do some more stuff
>
> });
>
>
> My question is with
I have written a Mac app (with another, i.e. non-Cocoa, language), and now that
I'm developing iOS apps in Xcode, I'd like to create an iOS app that can share
its files. The file format is fairly straightforward SQLite, and I've
determined that I can work with it just fine with the FMDB classes.
On Jul 19, 2012, at 5:17 AM, Motti Shneor wrote:
> Hi Steve
>
> How can a view disregard resizing request? It is simply resized
Try -[ windowWillResize:toSize:].
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
On Jul 19, 2012, at 11:06 , cocoa-dev-requ...@lists.apple.com wrote:
> Date: Thu, 19 Jul 2012 11:42:07 +0300
> From: Motti Shneor
> Message-ID:
>
> Thanks for the note. Indeed, RBSplitView is a complete, functional and
> feature-loaded class, but it is also lagging behind current Cocoa
> d
Uli Kusterer wrote:
> In the old days, one could use Icon Services calls to change the icon used
> for a particular file type, that might even save you the renaming, but Icon
> Services is probably considered "old" API these days, and I'm not sure if
> changes to icons in your app using Icon Se
In my app, I have a custom view which I'm printing. The NSPrintPanel has an
accessory panel attached with a couple of options on it that I'm observing
using the NSPrintPanelAccessorizing method -keyPathsForValuesAffectingPreview.
That works fine.
When the user changes some of the settings, t
On 19/07/2012, at 11:13 PM, William Squires wrote:
> Okay, I think there's a misunderstanding here.
Sure.
> In this case - as the writer of the game engine - I don't know (nor should I
> care) what the interface to the model objects is - as long as the developer
> of said model objects code
On 7/19/12 8:40 AM, Quincey Morris wrote:
2. Use a brute force flag when setting the predicate, something like this:
dontStartExpensiveUpdate = YES;
[_arrayController setPredicate: …];
[_arrayController rearrangeObjects];
// at this point, the KVO notification has been sent up to twice, but igno
Okay, I think there's a misunderstanding here. In this case - as the writer
of the game engine - I don't know (nor should I care) what the interface to the
model objects is - as long as the developer of said model objects codes the
keys into my game engine, it should be able to manipulate the
> If I use this to initiate a background "thread":
>
>
> dispatch_async(dispatch_get_global_queue(0, 0), ^{
>
> // do some stuff
>
> [self runMyFunction];
>
> [self runAnotherFunction];
>
> // do some more stuff
>
> });
>
>
> My question is with my sample calling runMyFunction or runAnothe
Hi Steve
How can a view disregard resizing request? It is simply resized
The window cannot reject its resizing. Or actually, it DOES reject, by stating
its min-size to cocoa. The window IS RESIZED.
The content view of a window has no way to prevent its resizing. It is by
definition coverin
this nasty NSAutounbinder thingy then jumps in and re-retains it in some
evil under-the-covers voodoo to do with avoiding retain cycles (as I
understand it). Unfortunately the balancing autorelease only occurs 16
seconds later when I move the mouse! While not catastrophic thi
On Jul 10, 2012, at 10:39 AM, Motti Shneor wrote:
> If the window started in its minimal size, this animation will SHRINK IT
> BELOW THE MINIMAL size and will corrupt my UI beyond repair. My views are
> receiving setFrameSize: with unsupported size.
Not sure about prevention, but can't you put
Hello Gideon.
Thanks for the note. Indeed, RBSplitView is a complete, functional and
feature-loaded class, but it is also lagging behind current Cocoa developments,
and does not integrate well XCode 4.x and with SDK 10.7 or and SDK 10.8.
Testing with it I saw problems in:
1. Look and feel (not
On Jul 18, 2012, at 23:22 , Markus Spoettl wrote:
> The array controller is used by views directly, they bind to arrangedObjects
> (like in the example). Since when is it recommended to insert an intermediate
> object between table view and NSArrayController?
Ugh, I didn't pay enough attention
41 matches
Mail list logo