thanks again jerry. actually i found the conflict was with my own domain and
as you said i don't see a way to write to a shared domain. the docs do
basically say this and after experimenting i found it out first hand. ok off
to CFPrefs. thanks again,
rick
On 31/08/2009, at 11:07 AM, BareFeet wrote:
Hi All,
I want to have two NSObjects (controllers) - one for the tableview
and all the actions that it needs to perform, and one for the web
view. I am having difficulty getting the tableview controller to
tell the webview controller to
On 30/08/2009, at 7:46 PM, Andreas Grosam wrote:
This is not exactly what I got in the console. Actually it is:
An instance 0xd21b60 of class MyObservee is being deallocated while
key value observers are still registered with it.
Notice: is being deallocated
This is also **exactly**
Hi. A while back I wrote a little program to remap the right-side
option key to be enter (on Al MacBook Pros). It works great, but since
installing snow leopard, it runs for a while, then gets an unexpected
event (type -2) and then never gets another event.
It's pretty simple code. Only if
Le 31 août 2009 à 02:27, Seth Willits a écrit :
On Aug 30, 2009, at 2:05 PM, Keith Duncan wrote:
Does anyone know what I *should* be breaking on? I'd obviously
like to track this down.
A fallback option is to break on NSLog/printf to see where that
message is being output from, but you
Hi,
Does anyone know how to get the root locale in Objective-c or C or using
Unix commands? I tried NSLocale but it didn't give what I want. Though I can
get the user's current locale in different ways.
Thanks for you help.
___
Cocoa-dev mailing list
Thanks a lot,
I had to subclass also the scroll view but it partially works.
Now my code is:
@implementation MyScroller
+ (CGFloat)scrollerWidth {
return 40.0f;
}
+ (CGFloat)scrollerWidthForControlSize:(NSControlSize)controlSize
{
return 40.0f;
}
-
I changed the Active Build configuration to Distribution and then select the
code signing identity to my distribution profile as suggested in the iPhone
Developer portal. Then I build the application. But,I got the following
message:
File /../.../.../...xxx.app depends on itself. This target
Hi corbin and Andreas,
Both approaches look promising. I will play with them.
Thanks
Georg
What I found is that the Cell, in its drawwithFrame method, adds
subview to the TableView and this subview handles all the drawing
and handling. Is this appropriate or is there a better solution.
1) read the error message and attempt to understand it
2) see if the error message applies and you have in fact included the
product in its own target
3) if 1) and 2) don't work mail the XCode list because this isn't a
cocoa question
Mahaboob wrote:
I changed the Active Build
Hi,
I have an app in which i need to display the view to be printed in
QuickLook preview. For this i thought os using the
(QlPreviewPanel)QuickLookUI.framework which is available at /System/
Library/PrivateFrameworks.
QLPreviewPanel class is obtained using
#define QLPreviewPanel
I have installed XCode 3.2 from the Snow Leopard Disc and find that
the Errors Warnings smart group is missing. I cannot find any way
to view a list of warnings during compile. Wondering if anyone else
has experienced this found a fix.
___
On 31 Aug 2009, at 03:50, Kyle Sluder wrote:
Except his previous stack trace seems to indicate that the at-fault
code is in QTKit…
When logging image and library names as they are loaded and calls to
class and category +load methods it looks like you can see below.
Interestingly -- or
On Aug 31, 2009, at 7:25 AM, Peter Ferrett wrote:
I have installed XCode 3.2 from the Snow Leopard Disc and find that
the Errors Warnings smart group is missing. I cannot find any way
to view a list of warnings during compile. Wondering if anyone else
has experienced this found a
Hi,
I'm using code from ViewController to swap between views in my app,
which works fine.
In my app one view is named IndexView.xib and that contains one
tableview and one webview and an NSObject called IndexViewController.h/m
Recently, I discovered how to shift the focus from the
On 31/08/2009, at 10:08 PM, Philip Juel Borges wrote:
The code from the IndexViewController.m to shift focus is
[mainWindow makeFirstResponder: webView];
So I need to figure out how I can connect the mainWindow outlet to
the HostWindow in the MainMenu.xib file from the IndexView.xib file.
I have a controller.
NSArrayController *controller;
Then I establish a binding programmatically which works fine.
[controller bind:@managedObjectContext
toObject:self
withKeyPath:@managedObjectContext
options:nil];
Then I unbind programmatically
On 31/08/2009, at 9:25 PM, Peter Ferrett wrote:
I have installed XCode 3.2 from the Snow Leopard Disc and find that
the Errors Warnings smart group is missing. I cannot find any way
to view a list of warnings during compile. Wondering if anyone else
has experienced this found a fix.
Aaron,
The sound played is not part of Cocoa if I recall correctly. It is located
inside Installer.app's Resources directory and you can thus technically take
it out and use it in your app, if you're alright with that sort of thing.
--
Steven Degutis
http://www.thoughtfultree.com/
On Aug 28, 2009, at 5:31 PM, David Melgar wrote:
On Aug 28, 2009, at 6:13 PM, Corbin Dunn wrote:
On Aug 28, 2009, at 3:07 PM, David Melgar wrote:
I printed out all the calls.
What happening is:
1. My data source/delegate/controller initWithCoder method is
invoked. But its pointer to
Hello,
I am trying to force text checking in an NSTextView on Snow Leopard using the
new -checkTextInRange:types:options: method, but I can't seem to get this
method to work at all. I am aware that the documentation clearly states that
this method *usually* would not be called directly
Some time ago we learnt that compiling AppleScript in a GC app is
unpredictable:
http://www.cocoabuilder.com/archive/message/cocoa/2008/4/22/204897
It was stated:
FROM : Mark Piccirelli
DATE : Tue Apr 22 22:16:12 2008
Yes. But we intend to fix it in a software update. (And I can't say
On Aug 31, 2009, at 10:31 AM, jonat...@mugginsoft.com wrote:
Some time ago we learnt that compiling AppleScript in a GC app is
unpredictable:
...
This still seems to be an issue on 10.5.7.
Does anyone know if SL has the fix in place?
Yes. This was specifically mentioned in the release
Hello,
I have an NSCollectionView that used to work normally on Leopard,
when the App is running on Snow Leopard, item selection using the
mouse by clicking on it doesn't work correctly.
When clicking on an item in the bottom-most visible row, instead of
selecting that item the
On 31 Aug 2009, at 15:33, I. Savant wrote:
On Aug 31, 2009, at 10:31 AM, jonat...@mugginsoft.com wrote:
Some time ago we learnt that compiling AppleScript in a GC app is
unpredictable:
...
This still seems to be an issue on 10.5.7.
Does anyone know if SL has the fix in place?
Yes. This
On 31 Aug 2009, at 15:15, Steven Degutis wrote:
Aaron,
The sound played is not part of Cocoa if I recall correctly. It is
located
inside Installer.app's Resources directory and you can thus
technically take
it out and use it in your app, if you're alright with that sort of
thing.
Alastair Houghton wrote:
*Technically* (since it's the word you used), that's copyright
infringement, unless the owner of the aforementioned sound file (in
this case Apple) says you can.
Technically, it MAY be copyright infringement. We don't know the
owner of the sound, nor its
Thanks for the feedback. In general, I've found that while the controls do,
indeed, seem to align the text correctly for input in bidi locales, there is
little support in things like IB for putting the label on a box at the top
right instead of the top-left, and also in code for determining what
It looks like I'll just have to use other controls to do the same effect in
IB, and just check of locale.name == ar || he in code to do the reverse
drawing.
On 10.6 your heuristic should instead mirror the value of the new
-userInterfaceLayoutDirection accessor in NSApplication (and NSCell).
On Aug 30, 2009, at 6:12 PM, Joar Wingfors wrote:
The documentation should, IMO, point you to the replacement API if
there is any, and probably also tell you if there isn't. I'd suggest
that you file bug reports on the documentation if it doesn't:
On 31 Aug 2009, at 16:12, Greg Guerin wrote:
Alastair Houghton wrote:
*Technically* (since it's the word you used), that's copyright
infringement, unless the owner of the aforementioned sound file (in
this case Apple) says you can.
Technically, it MAY be copyright infringement. We don't
On Aug 31, 2009, at 8:51 AM, Marc Wandschneider marc...@chipmunkninja.com
wrote:
Thanks for the feedback. In general, I've found that while the
controls do,
indeed, seem to align the text correctly for input in bidi locales,
there is
little support in things like IB for putting the label
Are apps that are offered for free not allowed to use the store kit?
It seems foolish to have an app the requires a subscription that is
not a free download.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
Free apps cannot use in-app purchase. You must charge at least 99 cents.
Luke
On Aug 31, 2009, at 9:44 AM, Development wrote:
Are apps that are offered for free not allowed to use the store kit?
It seems foolish to have an app the requires a subscription that is
not a free download.
Wow. that really needs to change. Subscription services or what not
cant use the store then since most of those are free downloads. Ah
well. Back to paypal.
On Aug 31, 2009, at 9:46 AM, Luke the Hiesterman wrote:
Free apps cannot use in-app purchase. You must charge at least 99
cents.
Alastair Houghton wrote:
How does that differ from what I wrote? (Answer: it doesn't)
It differs in the strength of the assertion: is is definitive;
may isn't.
You essentially wrote Technically that's copyright
infringement ..., where that's is a contraction of that is, and
is is
Seems that in Snow Leopard the editable setting in the column
attributes is ignored for Check Box Cells in NSTableViews.
That is causing trouble, for example when the bound value is read-only.
Anyone knows of a workaround? I tried hooking up the editable binding
of both column and cell to a
Hi,
have you changed the binding conditionally sets enabled respectively
conditionally sets editable ? That did the trick before on 10.5
volker
Am 31.08.2009 um 20:21 schrieb Gerd Knops:
Seems that in Snow Leopard the editable setting in the column
attributes is ignored for Check Box
On Aug 31, 2009, at 7:05 AM, Klaus Backert wrote:
Have you tried the constant NSManagedObjectContextBinding defined in
NSKeyValueBinding.h instead of your constant
@managedObjectContext? I don't know, but may be
NSManagedObjectContextBinding does not contain this string.
The problem was
The bottom-line window approach was mainly for supporting Carbon
applications that cannot be moved from the WNE design model due to its
own legacy application structuring.
Since Cocoa is not based on responder message handling design, such
event handling model is unnecessary. And the user
On Aug 31, 2009, at 1:28 PM, Volker in Lists wrote:
Hi,
have you changed the binding conditionally sets enabled respectively
conditionally sets editable ? That did the trick before on 10.5
Tried that (BTW did not need that in 10.5, at least not in later
versions). Didn't help in 10.6...
Hello Kevin,
I'm not observing the selection indexes of the collection view, but
those of the bound NSArrayController.
I've followed your advice and overwrote both -scrollRectToVisible and -
setSelectionIndexes: with breakpoints in them. In the case of the
scrolling on -mouseDown:
On Aug 28, 2009, at 4:36 PM, Eric Gorr wrote:
I am pretty sure I've got my .xib setup correctly, but when I call
loadView on my View Controller, my application crashes.
Unfortunately, I am not getting any useful information out of the
crash. The only thing I appear to have is a stack
On Mon, Aug 31, 2009 at 12:26 PM, Eric Gorrmail...@ericgorr.net wrote:
Building and running it on Snow Leopard causes it to crash horribly.
Try reopening/resaving your nib in the latest Interface Builder?
--Kyle Sluder
___
Cocoa-dev mailing list
In trying to eliminate extraneous undo groupings from my Core Data
document-based applications, I've noticed a simple paradox maybe
someone could explain.
In my persistent document's -init, I replace its undo manager, and
that of its managed object context, with my own which, for now, is a
Hi,
I have some problems with the NSRulerView that I hope to solve by this
request.
The NSRulerView I am using is a horizontal ruler view in a NSScrollView.
In most examples seen in the developer documentation, the markers on
the ruler are located above the baseline. In my opinon, this
On 31 Aug 2009, at 18:59, Greg Guerin wrote:
Therefore, it *may* be copyright infringement, with or without the
qualifying phrase unless the owner of the aforementioned sound file
(in this case Apple) says you can, which further assumes that Apple
*is* the sound's copyright owner, and has
On Aug 28, 2009, at 1:36 PM, Eric Gorr wrote:
I am pretty sure I've got my .xib setup correctly, but when I call
loadView on my View Controller, my application crashes.
Unfortunately, I am not getting any useful information out of the
crash. The only thing I appear to have is a stack
On Aug 31, 2009, at 3:58 PM, Kyle Sluder wrote:
On Mon, Aug 31, 2009 at 12:26 PM, Eric Gorrmail...@ericgorr.net
wrote:
Building and running it on Snow Leopard causes it to crash horribly.
Try reopening/resaving your nib in the latest Interface Builder?
Thanks. I did try that, but it
On Aug 31, 2009, at 4:54 PM, Jonathan Hess wrote:
On Aug 28, 2009, at 1:36 PM, Eric Gorr wrote:
I am pretty sure I've got my .xib setup correctly, but when I call
loadView on my View Controller, my application crashes.
Unfortunately, I am not getting any useful information out of the
I would try running with zombies. It sounds like one of the objects
loaded by the NIB file is being over released.
Jon Hess
On Aug 31, 2009, at 1:55 PM, Eric Gorr wrote:
On Aug 31, 2009, at 3:58 PM, Kyle Sluder wrote:
On Mon, Aug 31, 2009 at 12:26 PM, Eric Gorrmail...@ericgorr.net
On Aug 31, 2009, at 1:59 PM, Jonathan Hess wrote:
I would try running with zombies.
And now that you have SnowLeopard, this should be the first thing you
(meaning, the collective of Cocoa programmers out there) should do:
In Xcode: Run - Run with Performance Tool - Zombies
Then,
I have two applications, both NSStatusItems. Upon upgrading to Snow Leopard
(from 10.5), I've found that none of the messages associated with the menu
items are called. As near as I can tell, the messages are never dispatched,
at least the breakpoints in the methods are never hit. I can't find
On Aug 31, 2009, at 5:06 PM, Corbin Dunn wrote:
On Aug 31, 2009, at 1:59 PM, Jonathan Hess wrote:
I would try running with zombies.
And now that you have SnowLeopard, this should be the first thing
you (meaning, the collective of Cocoa programmers out there) should
do:
In Xcode:
How do I prevent this crash? It happens occasionally when I call
[NSView nextValidKeyView] or [NSWindow selectKeyViewFollowingView:] in
a window that has a toolbar. Here's a typical stack trace:
#6 0x948f2dcb +[NSException raise:format:arguments:]
#7 0x92e9fec4 -[NSAssertionHandler
[NSLocale systemLocale] returns the root NSLocale.
If you are referring to the BSD/Unix-level locale, you can start by
looking in /usr/include/xlocale.h, but I don't know anything else
about that.
Chris Kane
Cocoa Frameworks, Apple
On Aug 31, 2009, at 12:53 AM, Maggie Zhang wrote:
Hi,
For those following: It turned out to be a bug in NSCollectionView
that surfaces if the collection view items can become first responder.
Regards
Markus
--
__
Markus Spoettl
smime.p7s
Description: S/MIME cryptographic signature
On Aug 31, 2009, at 2:34 PM, David Riggle wrote:
How do I prevent this crash? It happens occasionally when I call
[NSView nextValidKeyView] or [NSWindow selectKeyViewFollowingView:]
in a window that has a toolbar. Here's a typical stack trace:
#6 0x948f2dcb +[NSException
Hi!
I have a menu item that defines Command+Shift+Arrow (left and right)
to do something.
But I'd also like to support the 'normal' NSTextView behavior for
Command+Shift+Arrow.
How do I tell my app to ignore this particular menu command (and use
the default NSTextView behavior) when
I'm using IKSlideshow to display images that I'm fetching from a
server in the background. There is a thumbnail and a full-size
version of each image. When IKSlideshow asks for an item at an index,
if the full-size image is there, I give it the path to that cache
file. If it is not
Change the Key equiv of the menu item when your textview takes on key
focus, then set it back when finished.
On Aug 31, 2009, at 5:50 PM, Chilton Webb wrote:
Hi!
I have a menu item that defines Command+Shift+Arrow (left and right)
to do something.
But I'd also like to support the
On 8/29/09 4:00 PM, Ken Thomases said:
GCC knows about the standard formatting functions and applies the
analysis to them automatically, by default. However, it also allows
the application of the __attribute__((format ...)) decoration to user-
defined functions to have them checked in the same
Just a quick update, as I've played with this some more: I have tried passing
in various ranges to -checkTextInRange:types:options:, thinking that maybe it
needed a typing range (of 1 in length), and trying to emulate the sorts of
ranges that get passed into the method by the text view (by
On 8/29/09 10:28 AM, Quincey Morris said:
The second is that one of the behaviors he doesn't control --
unregistration of observers -- is not permitted during the 'dealloc'
of the observed object, and must be done before that.
Note that the wonderful AnalysisTool can catch this through static
Hi,
I have the following hierarchy to save programatically (e.g.):
my english path name/some french dir name/some french file name.file
Now I'm using NSFileManager to do this:
1. create a folder at my english path name. correctly done.
2. change current dir to my english path name and creating
Lorenzo,
My first guess would be that you must have turned on garbage collection at
some point, and have a controller object that's not strongly referenced by
other objects, floating about in your NIB. If this is the case, the object
would deallocate pretty soon after your NIB loads, and no
What does foreign language have to do with it? Are you perhaps using
accented characters like é in your pathnames? You need to be very
careful when doing that, because the filesystem stores it in
decomposed form as e + ´, whereas if you've hardcoded this path in
your code (or strings file), you
Hi,
Thanks for the reply.
Actually my program is a finder like program, which saves file (in
path hierarchy).
And the hierarchy I mentioned earlier is the actual hierarchy on the
user's file system.
I'm not hard coding anything.
What I think is happening is that NSFM's
On Aug 29, 2009, at 18:18:42, Ben Trumbull wrote:
Hard to say without more details, but it does look like a Cocoa
Bindings bug. If you could create a new sample project with your
NIB and your model and reproduce this, and then attach it to a bug
report, that would be extremely helpful.
Hi Graham and all,
I also tried to use bindings, which I've made work well for linking
text views, table columns, even outline view columns, to data in my
model. But I can't seem to set up bindings to link an instance
variable in one controller to another controller. So I guess
bindings
On 01/09/2009, at 12:25 PM, BareFeet wrote:
ahh, now that makes sense. That's what I was missing. I was trying
to add IBOutlets for instance variables but needed to instead add
IBOutlets for the class (eg MyDocument).
Whaaa? You're probably getting your terminology confused, but the
Greetings,
CocoaHeads is an international Mac programmer's group. Meetings are
free and open to the public. We specialize in Cocoa, but everything
Mac programming related is welcome.
Upcoming meetings:
Australia
Denmark- Tuesday, September 8, 2009 19:00.
Germany
Bonn- Thursday, September
Here's a strange one.
In my app I have a bunch of templates which are packaged documents
loaded directly from my app's resources. On my system and the vast
majority out there, they work fine. But a couple of users have
reported that they don't see them.
I've tracked down the issue to the
I came to know that setting alpha for box and window content view is rising
this problem.
I don't understand what is connection between setting alpha for view and box
with default buttoncell.
what should be done to avoid vibration for Mouse vibration.
Thanks.
On Sat, Aug 29, 2009 at 10:59 AM,
Hi Graham and all,
ahh, now that makes sense. That's what I was missing. I was trying
to add IBOutlets for instance variables but needed to instead add
IBOutlets for the class (eg MyDocument).
Whaaa? You're probably getting your terminology confused
but the above makes no sense to me.
On 01/09/2009, at 2:55 PM, BareFeet wrote:
Doh!, no, missed that. Thanks for that.
That's important - it's a forward declaration, which informs the
compiler that the MyDocument* is merely a pointer, and so it
doesn't need to know anything else about the class - it has all it
needs to
Hi,
In snowleopard the framework is provided under quartz framework, and
some changes are made for preview panel also, i.e instead of setting
URLS we need to implement datasource methods. I had a seperate
implementation for snowleopard. This is working fine for Snowleopard.
Only issue is
Anyone else seeing this on Snow Leopard?
No apps that have one are properly maintaining their Recent Items
menus. At first I thought it was just my app, since I'm overriding the
standard behaviour, but it's happening for all apps, XCode included.
--Graham
On Aug 31, 2009, at 10:32 PM, Graham Cox graham@bigpond.com wrote:
No apps that have one are properly maintaining their Recent Items
menus. At first I thought it was just my app, since I'm overriding
the standard behaviour, but it's happening for all apps, XCode
included.
AppKit on
I am having a really odd issue while developing my program. I was
developing my program and went to build. It built fine but when I ran
it, I got no data back from an NSTask. If I copy the XCode project to
my other mac, it builds fine. A copy built on the other computer works
fine on both
80 matches
Mail list logo