On 20 Jan 2010, at 23:47, has wrote:
The send proc callback (which should be installed prior to invoking the
script and have the same signature as AESend) is called by the AS component
whenever it needs to dispatch an Apple event. You can then do whatever
naughtiness you like (including
Sorry for the last two misdirected posts.
Regards
Jonathan Mitchell
Developer
http://www.mugginsoft.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the
Hi LIst,
i set up an NSPredicateEditor and got it all working fine except that
it only executes when i hit enter or tab out of the NSTextField.
Is there a way to let it execute everytime something changes in the
textfield?
I tried checking the continuous button in IB but that is
On Jan 20, 2010, at 19:51, Chase Meadors wrote:
I have a couple of questions about the practices I'm using for bindings in my
app.
1. Doing work in the setter:
Something I do alot when making models custom views. For example, I might
have a layer subclass that exposes a binding called
Hi all,
I'm been involved with an app that has the ability to create documents in
various dimensions, including a way where you specify the width and height in
inches + the PPI. So, for example, the user can specify a document of size 5in
x 5in with 300 PPI. From this definition, I'll have a
On 30.08.2009, at 03:45, Nick Zitzmann wrote:
On Aug 29, 2009, at 6:24 PM, Seth Willits wrote:
Are the standard alert icons (note, warning, and stop) available through
standard image names (like NSApplicationIcon)? They don't seem to be.
There are, and they're available through standard
Hello.
I was reading the Apple docs, and in the FAQ it says that I must check for :
f you are using a non-document-based application and started with the standard
application template then after these lines of code:
if ( ![fileManager fileExistsAtPath:applicationSupportFolder
i thought that aswell, but i have another user reporting the same
problem, this time running 10.5.8 with a slightly different crash
report, which i have added below.
the crash only occurs for outgoing messages, you can see the whole code here:
On Thu, Jan 21, 2010 at 6:00 AM, Florian Soenens florian.soen...@nss.be wrote:
Hi LIst,
i set up an NSPredicateEditor and got it all working fine except that it
only executes when i hit enter or tab out of the NSTextField.
Is there a way to let it execute everytime something changes in the
Hello, this is what Im doing now... I mistake before... is it ok if I do what
Im doing here?
if(url){
managedObjectContext = [[NSManagedObjectContext alloc] init];
[managedObjectContext
setPersistentStoreCoordinator:persistentStoreCoordinator];
Hi Cocoa developers,
I am writing a small application that acts as a TCP client for another
application (TCP server).
The client nows the IP address and port of the server. I then use NSStream to
create an output
stream from an NSHost (see code bellow).
If I initialize the IP address as
Thank you, Ken. It sounds like you're saying that everything may
technically be getting linked up so that it would work, except I must be
switching the array out in a non-KVO-compliant manner, so bound objects
don't get notified of the change. Your reply gives me some ideas for
I added the NSTracking area for view it works. Thanks
From: cocoa-dev-bounces+poonamshigihalli=tataelxsi.co...@lists.apple.com on
behalf of Andy Lee
Sent: Thu 1/21/2010 11:54 AM
To: Quincey Morris
Cc: cocoa-dev
Subject: Re: Unable to recieve mouse moved events
I am sending a view orientation data which works great, if the phone is held
up...
UIDeviceOrientation orientation = [[UIDevice currentDevice] orientation];
if( orientation == UIDeviceOrientationLandscapeLeft || orientation ==
UIDeviceOrientationLandscapeRight ){
[myView iAmLandscape:YES];
}
My project goal is to upload photos to Tumblr using the Tumblr API found here:
http://www.tumblr.com/docs/api#api_write
I can upload general HTML content no problem but when I attempt to upload a
photo I get stumped. The API docs say:
Normal POST method, in which the file's entire
I have an instance of NSData is created using dataWithContentsOfMappedFile: and
then written to a different file using writeToFile:atomically:. In many cases
there are no calls that would cause the file to be read in between those two
operations.
In those cases does the entire file get read
UIViewcontroller with autorotation is the best way to do this. Then
you don't need to deal with UIDevice orientations.
Luke
Sent from my iPhone.
On Jan 21, 2010, at 8:30 AM, Eric E. Dolecki edole...@gmail.com
wrote:
I am sending a view orientation data which works great, if the phone
Wouldn't autorotation fall into the same category of problem? Should I also
look into device rotation in tandem with orientation just in case
orientation fails?
On Thu, Jan 21, 2010 at 12:17 PM, Luke Hiesterman luket...@apple.comwrote:
UIViewcontroller with autorotation is the best way to do
If you use autorotation you guarantee that your own app's rotation
follows the same patterns of the system apps and thereby what the user
is used to and expects. While a flat phone is by nature ambiguous from
an interface orientation perspective, following the system's lead is
the best
Okay, that's what I am doing right now. Only in one circumstance will my app
require the device to change orientation for it to look correct so I guess
that's not too terribly bad.
Eric
On Thu, Jan 21, 2010 at 12:47 PM, Luke Hiesterman luket...@apple.comwrote:
If you use autorotation you
On 1/19/10 6:34 PM, yogin bhargava said:
HI All,
I have a cocoa application. Rarely it crashes with the following log
crash messages :
Thread 0 Crashed:
0 libobjc.A.dylib 0x93960699 objc_msgSend + 41
Have you read this:
On Jan 20, 2010, at 20:17, Andrew Shamel wrote:
I have an NSOutlineView with its only column bound at
treeController.arrangedObjects.name to an NSTreeController that manages a
Core Data entity called Collection with the property name.
The NSOutlineView's dataSource IBOutlet is connected
On Jan 21, 2010, at 04:30, Milen Dzhumerov wrote:
I'm been involved with an app that has the ability to create documents in
various dimensions, including a way where you specify the width and height in
inches + the PPI. So, for example, the user can specify a document of size
5in x 5in
On Jan 21, 2010, at 8:39 AM, Daniel Meachum wrote:
[[NSString alloc] initWithData:imageData
encoding:NSUTF8StringEncoding]];
That's not going to work. Not all series of bytes are valid UTF-8, and in
non-textual data like an image you're practically guaranteed to run into
On Jan 21, 2010, at 6:43 AM, Mathieu Coursolle wrote:
If I initialize the IP address as 127.0.0.1, or my own 192.168.1.x address,
it creates the NSHost and
NSOutputStream properly, but I always get a connection refused error.
What's the exact error domain and code?
Since SSL is involved,
Dear Cocoa-dev People,
In PDFKit
NSString * currentPageData = [currentPage string];
behaves quite differently on a Snow Leopard build than it did under Leopard.
A partial description of the issue is that the order of table data in not
correctly preserved under Snow Leopard.
Has anyone
Hey everyone, I'm a newbie and I have what I anticipate will be a pretty easy
question to answer. In order to learn a bit about event handling and drawing,
I'm attempting to write a program that draws a black rectangle that increases
in length every time the user hits the 'c' key. So far it
Hi to all,
I'm trying to write a (at that time) simple GIS-like application based on
Cocoa. For each cartographic layer, I use a CALayer object, which is nice to
control things like opacity in real-time.
However, I'm facing a challenge: when the user move the mouse, the drawing must
move
Vincent,
Do you have some code that you can show us? Otherwise, diagnosing your problem
will be pure guesswork.
regards,
douglas
However, I'm facing a challenge: when the user move the mouse, the drawing
must move accordingly, feeling in white spaces that appear when updating the
Hi List,
I have a UIView (BubbleView) that I want to add to my current view (a loading
splash screen). I have synthesized myBubble. I have a method that when
called is suppose to add the view, but the view doesn't show up.
I am not sure what I am missing
ChapterViewController.h
Standard first question: did you verify that myBubble is non-nil?
Another note: it's weird that you do [self.view addSubview:myBubble] when
through the rest of the method you always use self.myBubble. You should stick
to using your property.
Luke
On Jan 21, 2010, at 3:33 PM, Philip Vallone
Thank you Luke,
That was it.
Thanks,
Phil
On Jan 21, 2010, at 6:38 PM, Luke the Hiesterman wrote:
Standard first question: did you verify that myBubble is non-nil?
Another note: it's weird that you do [self.view addSubview:myBubble] when
through the rest of the method you always use
On 22/01/2010, at 7:00 AM, Quincey Morris wrote:
In your data model, keep your sizes and locations in whatever units make the
most sense, then expect to *transform* the values to view units (which
depend, at least, on the view's zoom factor). In general, it's awkward to let
the view do
On Jan 20, 2010, at 8:30 PM, Evan Schoenberg wrote:
I copied the keyDown method from Cocoa in a Nutshell, by the way. Needless to
say, I don't really understand it. Basically, I would love it if somebody
could help me to get this program to work, because as of yet I have not
gotten
On Thu, Jan 21, 2010 at 4:26 PM, Graham Cox graham@bigpond.com wrote:
I'd say that letting the view do the scaling is definitely the easiest way to
do it, through its -scaleUnitSquareToSize: method. It's true that elements
such as selection handles and whatnot probably need to compensate
On 22/01/2010, at 11:38 AM, Kyle Sluder wrote:
I disagree wholeheartedly. I'd use automatic frame/bounds scaling for
resolution independence, but manually track scale factors for zooming.
Seems like I probably haven't made myself very clear then. What do you mean
here by manually tracking?
On Thu, Jan 21, 2010 at 4:52 PM, Graham Cox graham@bigpond.com wrote:
On 22/01/2010, at 11:38 AM, Kyle Sluder wrote:
I disagree wholeheartedly. I'd use automatic frame/bounds scaling for
resolution independence, but manually track scale factors for zooming.
Seems like I probably haven't
On 22/01/2010, at 12:04 PM, Kyle Sluder wrote:
I would have a separate zoomFactor property on my view,
Yes, so would I...
and use that
inside -drawRect: to create a scaling transformation.
OK understand, but why, when NSView does it for you using
-scaleUnitSquareToSize:?
Drawing UI
On Thu, Jan 21, 2010 at 5:37 PM, Graham Cox graham@bigpond.com wrote:
OK understand, but why, when NSView does it for you using
-scaleUnitSquareToSize:?
Because it makes drawing things consistently at 1:1 resolution easier.
Agree, if you always draw the resize handles at the same fixed
Are there any known conditions under which an NSTabView won't call its delegate
methods?
I can confirm in awakeFromNib the tab view's delegate is properly set to self
(as per the outlet set in Interface Builder).
Yet, none of the tab view delegate methods are ever being called in my class.
-
look at the ScrollViewSuite example.. specifically the tiling one. techniques
illustrated.
On Jan 21, 2010, at 12:39 PM, vincent habchi wrote:
Hi to all,
I'm trying to write a (at that time) simple GIS-like application based on
Cocoa. For each cartographic layer, I use a CALayer object,
are you telling it to load the table using reload?
On Jan 21, 2010, at 7:18 PM, Paul Forgey wrote:
Are there any known conditions under which an NSTabView won't call its
delegate methods?
I can confirm in awakeFromNib the tab view's delegate is properly set to self
(as per the outlet
On 22/01/2010, at 2:13 PM, Kyle Sluder wrote:
But that's different from blithely drawing the
resize handles at whatever scale AppKit has calculated for you.
I didn't say I was. AppKit doesn't decide on the scale, the user does. Appkit
merely sets up a transform to suit. The resize handles
On 22/01/2010, at 2:39 PM, Scott Anguish wrote:
are you telling it to load the table using reload?
I think this a tab view, not a table view.
--Graham
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or
This does indeed do the trick, what I had not done was setName on the
NSXMLDTD. Which, interestingly, has the effect of replacing the name
of the doc type with the full text of the dtd. In the case of a Final
Cut Pro XML that would turn this: !DOCTYPE xmeml into !DOCTYPE
[full text of dtd
I did try your suggestions with the different types of encoding but the
resulting string still returned nil. You're right about the Tumblr post method.
I looked at the Tumblr API again and they do have a form upload method that I
implemented instead of what I was trying and it worked well.
I relooked at the doc, and I don’t see anything here trying to make up for
my stupidity.
can you post the creation code?
Not helpful, but I don’t think you need to implement any of
these.___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
On Jan 21, 2010, at 10:46 PM, Graham Cox wrote:
On 22/01/2010, at 2:39 PM, Scott Anguish wrote:
are you telling it to load the table using reload?
I think this a tab view, not a table view.
Oh, for crying out loud.
I’m an absolute idiot.
Thanks for pointing that out
this specific example of course assumes that you’re using the iphone. But, the
technique should be sound for what you’re trying to do.
The technique is applicable to use a pool of multiple views to contain smaller
amounts of the content. the advantage is that you can render or fetch the
49 matches
Mail list logo