Re: developer.apple.com under maintenance for a few days now?

2013-07-23 Thread Daniel Höpfl
Nope, not all got it. I did get it for one of my Apple IDs but did not get it for the other. (No, it didn't end in the SPAM folder, I checked the server logs,) On 23.07.2013 07:51, Jean Suisse wrote: > I believe we all got it. Personally, I'd rather like they take as much time > as needed on this

Good behavior with full-screen and NSStatusWindowLevel windows

2013-07-23 Thread Rick Mann
I've developed a little OS X utility that displays information in a NSStatusWindowLevel window. But if the user uses Control-left/right arrows to switch between full-screen apps, it stays where it is relative to the screen. One user in testing wanted it to "stick" to the Finder desktop. I never

Re: Good behavior with full-screen and NSStatusWindowLevel windows

2013-07-23 Thread Ken Thomases
On Jul 23, 2013, at 3:16 AM, Rick Mann wrote: > I've developed a little OS X utility that displays information in a > NSStatusWindowLevel window. But if the user uses Control-left/right arrows to > switch between full-screen apps, it stays where it is relative to the screen. > One user in testi

Re: developer.apple.com under maintenance for a few days now?

2013-07-23 Thread Daniel Höpfl
The one that got the mail is not (but team member of Enterprise account). The one that got no mail is a paid account. On 2013-07-23 09:34, Ronald Hofmann wrote: Are both of your Apple IDs paid developer accounts? Greetings from Switzerland, Ronald Hofmann --- Am 23.07.2013 um 09:02 schrieb Dan

Re: Good behavior with full-screen and NSStatusWindowLevel windows

2013-07-23 Thread Rick Mann
On Jul 23, 2013, at 01:34 , Ken Thomases wrote: > You're probably looking for "window collection behavior". > Window Programming Guide: Setting Window Collection Behavior > http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/WinPanel/Articles/SettingWindowCollectionBehavior.ht

Re: developer.apple.com under maintenance for a few days now?

2013-07-23 Thread Gavin Eadie
With the greatest of good will, and the gentlest of requests, can we drop this topic? Please. ___ 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-d

Re: developer.apple.com under maintenance for a few days now?

2013-07-23 Thread Jean Suisse
And on top of everything, I just got an email from my web host telling me that they too were hacked a few days ago... The attacker first got access to an administrator's mailbox, used it to get to an other employee's VPN and then to breach one of their sysadmin account. Result: their "Europe" da

Re: NSTextView's MarkedText

2013-07-23 Thread Gordon Apple
Ok, so that¹s out. I could create a custom attribute which would work as I described, but I¹m not clear on what NSLayoutManager background method(s) I would need to override to implement this. On 7/22/13 7:30 PM, "Ken Thomases" wrote: > I don't think you should attempt to use marked text for t

Re: NSOutlineViews and Mountain Lion

2013-07-23 Thread Eddy T
IIRC, it's worked that way since at least Lion. The docs state this somewhere (couldn't find it right now though), that you can disable this behavior by wrapping the expand/collapse calls with a 0 duration animation; I've done this in a subclass of NSOutlineView but I think just wrapping the call w

Writing portable Cocoa apps (especially data models)

2013-07-23 Thread Maxthon Chan
Have anyone of you guys tried GNUstep, the Cocoa clone (predates Cocoa!) that works on Linux systems? And have any of you guys tried to write portable code that builds on OS X/Cocoa and Linux/GNUstep? From my experiencesit seemed to me that recent versions of GNUstep (staying on svn HEAD here)

Re: Unrecognized selector in release build, not in debug build

2013-07-23 Thread Maxthon Chan
NSArrayI is one of the private subclasses of NSArray (not NSMutableArray) so there is no - (void)removeObject method. Consider check if your array is really mutable and - (instancetype)mutableCopy if needed. Sent from my iPhone > On 2013年7月10日, at 9:39, Rick Mann wrote: > > I'm having a hard

Re: mobile_house_arrest

2013-07-23 Thread Kaydell Leavitt
Hi koko, I googled for the following: "mobile_house_arrest" That may give you some clues. Other than that, I don't know. -- Kaydell kaydell.leav...@icloud.com http://learnbymac.com On Jul 10, 2013, at 10:22 AM, koko wrote: > My iPad App starts up and I get this message in the Console num

Re: Bundle Identifiers - and application support directory

2013-07-23 Thread Kaydell Leavitt
Hi Quincey, >> The Library Directory Stores App-Specific Files >> >> Application Support >> >> All content in this directory should be placed in a custom subdirectory >> whose name is that of your app’s bundle identifier or your company. > > My vague recollection is that it used to say somethi

Re: MODERATOR NOTE: Re: NSOutlineViews and Mountain Lion

2013-07-23 Thread Eddy T
Be thankful it even showed up in the first place (and that I was there to provide an *actual* answer). I'm still waiting for the question I posted over a month ago to make it to the list! On Wed, Jul 10, 2013 at 9:27 PM, Alex Zavatone wrote: > But Chris, how do I know if it is unsupported, unle

Re: Use of Instruments.app remedies Core Data memory issue (!?)

2013-07-23 Thread Fritz Anderson
On 14 Jul 2013, at 5:45 AM, Peter wrote: > When executing the identical sequence of searches with Instruments not being > involved, the memory consumption increases single-mindedly and (depending on > the number of hits for the query) after a couple of searches reaches the 1 GB > level, ever g

Re: Use of Instruments.app remedies Core Data memory issue (!?)

2013-07-23 Thread Fritz Anderson
[I'm using a different email address. This message returned the newbie-moderation message, and I didn't see it get through to the list, even though later ones did. I'm re-sending. I'm sorry if two copies show up on the list. — F] On 14 Jul 2013, at 5:45 AM, Peter wrote: > When executing the

Full screen

2013-07-23 Thread Tibira Botto
Hello guys, I have a problem. I have an application that is running on a Mac mini connected to a 42 inch television. When the mac mini starts with the TV system is perfect in full screen mode. Problem is when the mac mini starts alone and later the TV is turned al my application is not in full scr

Re: Threads

2013-07-23 Thread Fritz Anderson
On 19 Jul 2013, at 1:56 PM, koko wrote: > How can, or can, the -setNeedsDispay:YES be run on a separate thread? If the documentation doesn't explicitly say a method or class is safe outside the main thread, you can't call it outside the main thread. Use an NSOperation, or -performSelectorOnMai

Re: Threads

2013-07-23 Thread Fritz Anderson
On 19 Jul 2013, at 3:09 PM, koko wrote: > > On Jul 19, 2013, at 1:48 PM, Fritz Anderson wrote: > >> Use an NSOperation, or -performSelectorOnMainThread: (you'll have to wrap >> the call in your own method), or dispatch_[a]sync() to do it on the main >> thread. > > So are you saying that in

custom fonts

2013-07-23 Thread Max Haas
Hi, I should add in IOS 6 a font to an app for iPad. It's a font with musical notation (like Sonata). Unfortunately the possibility with UIAppFonts key in the Info.plist does not work. Thanks for any hint. Max ___ Cocoa-dev mailing list (Cocoa-dev@li

Re: developer.apple.com under maintenance for a few days now?

2013-07-23 Thread Wang, Hao
Me too. From my iPhone > 在 2013年7月21日,22:11,"Laurent Daudelin" 写道: > > Is it only me or has developer.apple.com and devforums.apple.com been > inaccessible for maintenance for several days now? > > -Laurent. > -- > Laurent Daudelin > AIM/iChat/Skype:LaurentDaudelinhttp://www

Problems with NSPageController

2013-07-23 Thread Martin Percossi
I'm having some difficulties with NSPageController, and was hoping there is a cocoa expert on this list that could help. 1. I have a layer-backed view as the content of a page within a NSPageController. Everything works fine, however, compared to a simple layer-backed, empty, (blue background via

Disabling Hot Corners

2013-07-23 Thread Jorgen Tjerno
Is there a way to disable Hot Corners when an application is active? The use case for this is in SDL2, where windows created with SDL_FULLSCREEN_DESKTOP create desktop-sized, borderless windows that are topmost, similar to a fullscreen application (but without a mode change and allowing quick C

Constraining a mouse cursor to a rect / window

2013-07-23 Thread Jorgen Tjerno
Is there an API that allows an application to constrain a mouse cursor's movement to a window or a rect? The use case for this is in SDL2, where windows created with SDL_FULLSCREEN_DESKTOP create desktop-sized, borderless windows that are topmost, similar to a fullscreen application (but withou

Re: NSTextView's MarkedText

2013-07-23 Thread dangerwillrobinsondanger
This won't make it to the list, but here is an example in Apple's Japanese input method Kotoeri On Jul 23, 2013, at 9:22 AM, Gordon Apple wrote: > Thanks for the direct reply. The summaries are few and far between, possibly > a result of the dev-site outage. > > My speculation had to do w

Re: developer.apple.com under maintenance for a few days now?

2013-07-23 Thread Ronald Hofmann
Are both of your Apple IDs paid developer accounts? Greetings from Switzerland, Ronald Hofmann --- Am 23.07.2013 um 09:02 schrieb Daniel Höpfl : > Nope, not all got it. I did get it for one of my Apple IDs but did not > get it for the other. (No, it didn't end in the SPAM folder, I checked > th

Re: NSTextView's MarkedText

2013-07-23 Thread Fritz Anderson
If I understand your need, -[NSLayoutManager drawBackgroundForGlyphRange:atPoint:]? — F On 23 Jul 2013, at 9:55 AM, Gordon Apple wrote: > Ok, so that¹s out. I could create a custom attribute which would work as I > described, but I¹m not clear on what NSLayoutManager background method

Re: Bundle Identifiers - and application support directory

2013-07-23 Thread Sean McBride
On Wed, 10 Jul 2013 10:43:04 -0600, Kaydell Leavitt said: >I've wondered about why Mac apps put their app's name on their folders >in the directories "Application Support". It seems to me that this is >just asking for problems and isn't localizable. > >I noticed that in Lion and Mountain Lion tha

Re: Writing portable Cocoa apps (especially data models)

2013-07-23 Thread Jens Alfke
On Jul 8, 2013, at 5:05 PM, Maxthon Chan wrote: > Have anyone of you guys tried GNUstep, the Cocoa clone (predates Cocoa!) that > works on Linux systems? And have any of you guys tried to write portable code > that builds on OS X/Cocoa and Linux/GNUstep? I ported a non-GUI Foundation-based li

Re: custom fonts

2013-07-23 Thread Alex Zavatone
I just did this the yesterday and will send my results when I am done with lunch. One tip is to not try and use the IB once you add fonts, set them in code. A for getting the proper me and if you need to declare them in the app's plist, I'll get that in a summary soon. Sent from my iPhone On

Re: NSTextView's MarkedText

2013-07-23 Thread Gordon Apple
I’ll make a rash assumption that this is a homogeneous attribute range. The method apparently then calls fillBackgroundRectArray:count:forCharacterRange:color to fill in the (possibly) disjoint rects covering that range. If so, then it looks like that is where I need to test the applicable attrib

Non-sandboxed Cocoa app accessing current user preferences using NSTask fails when launched outside Xcode.

2013-07-23 Thread Public
I've a non-sandboxed Cocoa app that launches sqlite command using NSTask to read a preferences file in ~/Library/Preferences. The app works fine when launched using Xcode Build-and-Run, but when the app (after using Xcode Archive and Distribute) is launched independent of Xcode, the app launches

Re: custom fonts

2013-07-23 Thread Alex Zavatone
OK. It appears that there is info on this ranging on solutions over the past few years 'til recently. First of all, there are only certain types of fonts that are supported on iOS, and some that may appear supported are "web" fonts (no idea what that means) and aren't supported even if they

Re: Non-sandboxed Cocoa app accessing current user preferences using NSTask fails when launched outside Xcode.

2013-07-23 Thread Todd Heberlein
> I've a non-sandboxed Cocoa app that launches sqlite command using NSTask to > read a preferences file in ~/Library/Preferences. The app works fine when > launched using Xcode Build-and-Run, but when the app (after using Xcode > Archive and Distribute) is launched independent of Xcode, the app

Re: Constraining a mouse cursor to a rect / window

2013-07-23 Thread Ken Thomases
On Jul 22, 2013, at 4:42 PM, Jorgen Tjerno wrote: > Is there an API that allows an application to constrain a mouse cursor's > movement to a window or a rect? Only for a specific special case: a 1x1 rect. You can disassociate the mouse from the cursor using CGAssociateMouseAndMouseCursorPositi

Re: custom fonts

2013-07-23 Thread Alex Zavatone
On the topic of fonts, since having to remember how to deal with fonts on iOS comes up in my world about once every three months, I put together a stupid simple TVC that lists all the font families installed on the device, all the fonts for those families and what they look like in the TVC cell'

Re: Bundle Identifiers - and application support directory

2013-07-23 Thread Alex Zavatone
On Jul 23, 2013, at 11:52 AM, Sean McBride wrote: > On Wed, 10 Jul 2013 10:43:04 -0600, Kaydell Leavitt said: > >> I've wondered about why Mac apps put their app's name on their folders >> in the directories "Application Support". It seems to me that this is >> just asking for problems and isn'

Re: Problems with NSPageController

2013-07-23 Thread Fritz Anderson
On 22 Jul 2013, at 7:56 AM, Martin Percossi wrote: > 1. I have a layer-backed view as the content of a page within a > NSPageController. Everything works fine, however, compared to a simple > layer-backed, empty, (blue background via self.layer.backgroundColor) > NSView, the swipe animation kicks

Re: Disabling Hot Corners

2013-07-23 Thread Seth Willits
On Jul 22, 2013, at 2:39 PM, Jorgen Tjerno wrote: > Is there a way to disable Hot Corners when an application is active? Nope. > The use case for this is in SDL2, where windows created with > SDL_FULLSCREEN_DESKTOP create desktop-sized, borderless windows that are > topmost, similar to a ful

Re: Constraining a mouse cursor to a rect / window

2013-07-23 Thread Seth Willits
On Jul 22, 2013, at 2:42 PM, Jorgen Tjerno wrote: > Is there an API that allows an application to constrain a mouse cursor's > movement to a window or a rect? See my reply to your "Disabling Hot Corners" thread. -- Seth Willits ___ Cocoa-dev mail

Re: Full screen

2013-07-23 Thread Seth Willits
75% of this code is completely irrelevant, and the one chunk that is relevant (enterFullScreenMode etc) is supposedly commented out. -- Seth Willits On Jul 17, 2013, at 7:38 AM, Tibira Botto wrote: > Hello guys, > > I have a problem. I have an application that is running on a Mac mini > co

Re: view based NSTable View - button not firing

2013-07-23 Thread Keary Suska
On Jul 22, 2013, at 8:31 AM, Abdul Sowayan wrote: > I’m am using a view based NSTableView. In the NSTableViewCell, I place a > button and hook up its action/target to the App delegate. The problem is, it > doesn’t seem to work. If I place the button outside of the NSTableView, it > works just f

Re: Disabling Hot Corners

2013-07-23 Thread Seth Willits
On Jul 23, 2013, at 12:00 PM, Seth Willits wrote: > TLDR: > > - Capture the mouse and use mouse event deltas to avoid hitting any hot > corners. > > - If the game is not full screen, when the in-game cursor becomes visible, > stop capturing the mouse and use the normal mouse events. Hide the M

Re: Good behavior with full-screen and NSStatusWindowLevel windows

2013-07-23 Thread Rick Mann
On Jul 23, 2013, at 01:34 , Ken Thomases wrote: > You're probably looking for "window collection behavior". > Window Programming Guide: Setting Window Collection Behavior > http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/WinPanel/Articles/SettingWindowCollectionBehavior.ht

Re: Recomputing non-standard Core Data attributes when child MOC is saved?

2013-07-23 Thread Mike Abdullah
On 19 Jun 2013, at 15:45, Noah Desch wrote: > I have had really weird issues with NSManagedObjects KVOing themselves. I > would recommend you instead override the dynamic setters for all the > attributes whose value affects your computed property and clear your pre > computed value there. T

Re: view based NSTable View - button not firing

2013-07-23 Thread Eric Gorr
On Jul 23, 2013, at 3:42 PM, Keary Suska wrote: > On Jul 22, 2013, at 8:31 AM, Abdul Sowayan wrote: > >> I’m am using a view based NSTableView. In the NSTableViewCell, I place a >> button and hook up its action/target to the App delegate. The problem is, it >> doesn’t seem to work. If I place

Re: view based NSTable View - button not firing

2013-07-23 Thread Abdul Sowayan
Hi Eric, I actually fixed this. In the nib file, I connected the delegate of the table view to the app delegate. This fixes it. I don't know why. Thanks, Abdul Sent from my iPhone > On Jul 23, 2013, at 8:43 PM, "Eric Gorr" wrote: > >> On Jul 23, 2013, at 3:42 PM, Keary Suska wrote: >> >>>

Re: view based NSTable View - button not firing

2013-07-23 Thread Eric Gorr
I tried this again and it did work for me. Still seems like a reportable bug. On Jul 23, 2013, at 8:46 PM, Abdul Sowayan wrote: > Hi Eric, > > I actually fixed this. In the nib file, I connected the delegate of the table > view to the app delegate. This fixes it. I don't know why. > > Tha

Re: view based NSTable View - button not firing

2013-07-23 Thread Kyle Sluder
On Tue, Jul 23, 2013, at 12:42 PM, Keary Suska wrote: > I didn't look at the attachment but is the button the "root" view for the > cell, or is it a subview? I ask as I have encountered that even when you > set up a table view as view-based that it will still behave in strange > ways as if it were

Re: view based NSTable View - button not firing

2013-07-23 Thread Abdul Sowayan
Hi Kyle, I actually did use NSTableCellView. My button didn't work until I hooked up the delegate outlet. Abdul Sent from my iPhone > On Jul 24, 2013, at 1:14 AM, "Kyle Sluder" wrote: > >> On Tue, Jul 23, 2013, at 12:42 PM, Keary Suska wrote: >> >> I didn't look at the attachment but is th