Hi Cocoa List,
I'm occasionally seeing the following warning from the runtime while testing my
application:
warning: _lastKeyViewTraversingSubviewsBeginningWithView: encountered 5000
views!!!
It usually occurs when a NSCollectionView is being refreshed, but not every
time.
I've tried Googlin
Hi Cocoa List,
I'm occasionally seeing the following warning from the runtime while testing my
application:
warning: _lastKeyViewTraversingSubviewsBeginningWithView: encountered 5000
views!!!
It usually occurs when a NSCollectionView is being refreshed, but not every
time.
I've tried Googlin
Hi all,
Thanks for the prompt responses.
As Jesper mentioned, I would like my app to work on 10.5 as well. I forgot
to mention that in my earlier mail.
>> "Ordinarily it doesn't make any sense to type into an app that has no
open windows. If you have special hot keys that should do something eve
I have a problem with the core data object graph not properly persisting:
Managed Object A (Car) has a one-way, one-to-many relationship to several
Managed Object B's. (Tires)
When I create the object graph, I use the standard generated relationship set
mutator methods to setup the relationship
On 2/21/10 5:53 AM, Arved von Brasch wrote:
Hi Cocoa List,
I'm occasionally seeing the following warning from the runtime while testing my
application:
warning: _lastKeyViewTraversingSubviewsBeginningWithView: encountered 5000
views!!!
It usually occurs when a NSCollectionView is being refre
Hi Jerry-
You're going to want to look at NSAppleEventDescriptor's numberOfItems,
keywordForDescriptorAtIndex: and descriptorAtIndex: methods, and play around
with them a little. One thing to keep in mind is that the lists are 1-based,
so start looking at index 1 :-) It's been quite some time
On 22/02/2010, at 2:11 AM, slasktrattena...@gmail.com wrote:
> id string = [NSString stringWithCString:sel_getName(command)
> encoding:NSMacOSRomanStringEncoding];
Just a tip: look up NSStringFromSelector();
--Graham
___
Cocoa-dev mailing li
Hi,
I have, for a bit of fun, taken my first steps out of Mac development and into
iPhone development, and have encountered a bit of a problem.
Basically, what I want to do is update a UILabel when a button is clicked in
the view, but I want to be able to update it in intervals with different
Please don't use sleep() on the main thread of a UI application..
If you really want to do this, I'd suggest using an ivar or a static variable
to facilitate going through the operation using
performSelector:withObject:afterDelay:
e.g.:
static int labelLoopCounter = 10;
-(IBAction)buttonP
On Feb 21, 2010, at 3:05 AM, Vikram Sethi wrote:
> Yes, I would agree that it is not generally a good practice. However, there
> are certain things that I would like the app to do in a no-window state for
> which tapping into the app would make sense.
Keep in mind that many users don't really un
Hi Sandro,
it seems, that NSCollectionViews are not used very frequently, among the
Members of this list. I've asked several questions regarding NSCollectionsViews
here, but almost never got a reply.
I've never done drag&drop from or to a NSCollectionView, so I can't help you
either. I've done
Hello,
I have a Cocoa app that tries to take advantage of existing ruby code.
I basically want to use several scripts from a RubyCocoa application
in my app. Is there a way to do that?
Thanks,
Rainer
___
Cocoa-dev mailing list (Cocoa-dev@lists.a
This is getting stranger by the minute. I ruled out the menu issue as the
cause, then created a test app from the standard doc template. Window
contain a scrolling text view and a button. The app edits and archives
correctly (compiled using GC). "init" sets an initial string in ts. The
text vi
Jerry Krinock wrote:
> I create an NSAppleScript to read the current window name and URL from Safari
> and return it as a record [1]. When I execute it, I get a nice-looking
> NSAppleEventDescriptor with the following -description (line breaks added for
> readability):
>
>'usrf':
>
I would like to rotate and offset an NSImage and then draw it onto an
NSImageView. So far I figured out to use Quartz and use CGContextRotateCTM and
CGContextTranslateCTM. I got the offset working just fine using this, but as
soon as I introduce the rotation it rotates the image relative to the
On 22/02/2010, at 10:43 AM, Alexander Hartner wrote:
I would like to rotate and offset an NSImage and then draw it onto
an NSImageView. So far I figured out to use Quartz and use
CGContextRotateCTM and CGContextTranslateCTM. I got the offset
working just fine using this, but as soon as I i
On Sun, Feb 21, 2010 at 2:00 PM, Gordon Apple wrote:
> This is getting stranger by the minute. I ruled out the menu issue as the
> cause, then created a test app from the standard doc template. Window
> contain a scrolling text view and a button. The app edits and archives
> correctly (compiled
In my sheet, I have a "name" NSTextField and an NSPredicateEditor.
Initially, the tab key works to jump between my name field and the first
match field in the predicate editor.
However, after changing any of the menus in the line of my predicate editor,
the tab key no longer allows the keyfield to
Well, I was going to argue with you, but your post triggered further
investigation. I realized that in the past, I had constructed my own.
Somehow, in this case, I got it in my head that the bindings would make the
text view use my NSTextStorage. Duh. So I changed to the following in the
test ap
On Feb 21, 2010, at 9:50 PM, Trygve Inda wrote:
> In my sheet, I have a "name" NSTextField and an NSPredicateEditor.
> Initially, the tab key works to jump between my name field and the first
> match field in the predicate editor.
>
> However, after changing any of the menus in the line of my pre
Thanks, John and HAS. It turned out that after all was said and done, things
were more complicted. I needed to be able to plug in a half dozen scripts,
most of them a couple dozen lines, using some "System Events" GUI scripting. So
I decided to ship them in Contents/Resources so they could be
Hi list,
Is there a way to check an application instance is running. I tried enabling
application prohibits multiple instance in info.plist.
Still i am able to launch multiple instance of the same application.
Thanks,
Poonam
___
Cocoa-dev mailing li
Hi everyone,
I have an application for which I have to remove quitting option.
Anybody has idea how to remove it from the dock menu.
Thanks,
--
YOGIN BHARGAVA,
Flat No TF-2,
Phase 4,
Lotus Krest,
Kundalahalli Colony,
ITPL Main Road,
Bangalore-560067
_
23 matches
Mail list logo