Dear All
I am trying to create a paint like program for iPad. I have downloaded and
played with Apple's sample code GLPaint, but I have come across one big issue.
When I use a brush image with alpha around the edge, like the apple example, I
start getting dark edges rather that having the edge
Dear all
I am running my code through xcode "Build and Analyze" to check for
bugs.
I have the function below which gives me the following error:
Object with +0 retain counts returned to caller where a +1 (owning)
retain count is expected
I can not understand why can anybody enlighten me.
Dear All
I am not sure if this is right place for this, however:
In my application when I try to load a certain web pages into a
Webview I get the following error:
#0 0x9096d9b7 in Debugger
#1 0x13de47f5 in .objc_class_name_SwitchablePlugin
#2 0x13de4aaf in NP_Initialize
#3
The problem with my situation is that the application might not have a
window up as it has been deleted, so I can not use the NSUndoManager
associated with the window system.
> I would like to have the facility of undoing deleting of a window.
> The best way that I thought I could do this is
Hi
I would like to have the facility of undoing deleting of a window.
The best way that I thought I could do this is was to use the
UndoManager belonging of my NSApplication. However when I try to get
the undoManager for the application by calling:
[ NSApp undoManager ]
I get a nil
Hi
I have a situation where I need to create a new string as I go through
a loop.
What will be the most efficient way of doing this each time the call
goes through the loop.
1. To create an auto releasing string.
2. To create a non auto-releasing string at the start of the loop and
releas
Any help!!!
Thanks
Reza
On 22 May 2009, at 11:31, Reza Farhad wrote:
Hi all
I am trying to save a MailMessage that I obtain from Apple Mail
using scripting bridge.
I get the message and I check to see if it does conform to NSCoding
protocols, which it does.
[ message conformsToProto
Hi all
I am trying to save a MailMessage that I obtain from Apple Mail using
scripting bridge.
I get the message and I check to see if it does conform to NSCoding
protocols, which it does.
[ message conformsToProtocol:@protocol(NSCoding)]
then I go to encode it in my encodeWithCoder cal
Hi all
we have an object that gets initialized like most other objects
-(id)init
{
self = [ super init ];
if ( self ){
...do something;
}
return self;
}
if [ super init ] returns nil does this cause a leak, as the memory
has already been create
This was just a simple example of making this work, obviously it needs
to be improved upon for implementation.
Reza
On 16 Apr 2009, at 11:52, I. Savant wrote:
On Apr 16, 2009, at 5:26 AM, Reza Farhad wrote:
The script sendInfo.php:
This is a discussion for another list, but have you
dear all
The issue has now been solved so here is the solution for all those
that are interested:
You need to make your URL request pointing to your php script:
and through my frustration I had forgotten to add the call to get URL
request sent out with URLConnection
so here it is in full
your php. Not
to the URL of your HTML page.
Bye
Danny
Sent from iPhone
On 15.04.2009, at 18:45, Reza Farhad wrote:
dear all
I am looking at using URLRequest and php to configure my app to
send an email by sending a post to a form and then the form sending
me an email. I have very little
dear all
I am looking at using URLRequest and php to configure my app to send
an email by sending a post to a form and then the form sending me an
email. I have very little understanding of this process and any help
would be appreciated. I know this has been discussed here before,
but I
preference item for the user to select a mail app from
a list - I guess you'd have to know up front which scriptable apps
you support in order to send the correct messages.
On Apr 15, 2009, at 7:06 AM, Reza Farhad wrote:
I want to update my app from using NSMailDelivery to using
scri
Dear All
I want to update my app from using NSMailDelivery to using scripting
Bridge with Mail to take care of all my emailing from my Cocoa app. I
just have this question, what happens if the user is not using Mail
and has only setup an alternative email client such as entourage.
Thank
Exploring the example of sending emails using Scripting Bridge, I see
that objects are allocated but not released:
MailOutgoingMessage *emailMessage = [[[mail
classForScriptingClass:@"outgoing message"] alloc] initWithProperties:
[NSDictionary dictionaryWithObjectsAndKeys:@"test
I have downloaded the Cocoa example which uses Scripting Bridge to
send emails. I wanted to know is it possible to use that system to
send rich text emails. That is, is there a way to get the Mail App to
recognize AttributedString instead of just plain string.
Thanks in advance
Reza
att
On 5 Mar 2009, at 11:25, Reza Farhad wrote:
Has
Thanks for your suggestion but it did not make any difference.
To make sure that there was nothing else in my code that was
creating the issue I made a little app to reproduce the problem.
This app Loads a simple "Hello World" sc
never release NSAppleScript *script, so this code would
leak.
and your spelling is as bad as ever :) 'laodRunScript'
Matt
On 5 Mar 2009, at 11:25, Reza Farhad wrote:
Has
Thanks for your suggestion but it did not make any difference.
To make sure that there was nothing else in my
have Guard Malloc on, it would crash the app, but otherwise it seems
to work. Here is a link to the test project app, so others can have a
look and see if they can get to the bottom of this.
http://www.Qu-s.eu/Dev/AppleScriptLoader.zip
Thanks
Reza
On 4 Mar 2009, at 19:27, has wrote:
Reza Fa
Paul
I switched on Guard Malloc from the Run Menu in Xcode
It appears that I am getting the crash for a call that is trying to
load an AppleScript.
NSDictionary*errors = [ NSDictionary dictionary ];
NSAppleScript *script = [[ NSAppleScript alloc ]
initWithContentsOfURL:url er
I am getting an odd crash report from some of my end users at startup.
The report attached below is generated by using a custom uncaught
exceptions handlers. I can not make any sense of this as all the calls
are within the Apple frameworks. Ay suggestions.
Thanks
Reza
System: Mac OS X 10.5
hen I have
installed my own uncaught exception handling system.
I tried it in Safari, it saves the pages but the result is not accurate.
Thanks
Reza
On 20 Jan 2009, at 10:18, Matt Gough wrote:
On 20 Jan 2009, at 09:10, Reza Farhad wrote:
The Problem is that the exception is occurring within
The Problem is that the exception is occurring within the Apple call,
so there is no way for me to break into it.
Also I have tried to catch it locally but it get propagated to
uncaught exceptions.
Reza
Break on objc_exception_throw. Investigate from there...
corbin
__
Dear All
I am trying to get a WebArchive from a webview:
[[[webView mainFrame] dataSource] webArchive]
For some pages I get the following Exception
NSExceptionHandler has recorded the following exception:
NSInvalidArgumentException -- *** -[NSCFArray insertObject:atIndex:]:
attempt to insert
Hi
I hope this is the right place to be asking this question.
To get to the bottom of some bugs, I want to also have a look at the
console Logs that might have been generated by my app or relating to
my app.
Now where are these files or how can I extract them programatically.
Thanks in adv
Dear all
I am loading a web page that has a Quicktime streaming file. I was
expecting to get the load delegate message "didFinishLoadForFrame" for
the main frame when all the page is loaded and the movie starts
playing, but the message is not called at that stage. Does anyone know
how I c
Jean
Thanks for that, and it worked, but I am still surprised that I could
not generate the file form the data. Is this a bug?
Fred
On 6 Apr 2008, at 16:54, Jean-Daniel Dupas wrote:
Le 6 avr. 08 à 17:39, [EMAIL PROTECTED] a écrit :
Dear All
I am trying to save an AttributedString with
28 matches
Mail list logo