Hi All,
I am working with a PDFView.
We have the option to display the document as single page continuous and
two pages continuous.
Is there a way wherein we can display more than two pages continuous such as
a three page continuous or more.
I need to display all the pages of the pdf document
I need to display images in one column of a NSTable view. Right now,
the column contains values like green, red, red green, blue
etc. I want to replace those strings with images of the corresponding
color(s) - in the case of red green by two images, a red and a green
one. I do not really
Ferhat Ayaz wrote:
Why don't load flash via WebKit ?
Ferhat
You can use WebKit for some purposes, but sometimes it doesn’t allow to
implement all necessary features. For example there is no option to
disable Flash Local Security. Many features are hard to implement
using WebKit.
--
Gordon Apple wrote:
Some of us want to incorporate Flash directly in our applications
without WebKit. I've been in discussions with Eltima for awhile on this.
The framework is free for personal use, but $399 (IMHO, not a bad price) for
a commercial license. Unfortunately, you have to buy
While it's probably slightly more work, you'd be better off writing a
custom NSCell subclass than trying to turn colours into images and
displaying them in a NSImageCell, IMO.
Here's part of one I did recently for colours - it's maybe more than
you need and it also takes an NSColor object
On 12 May 2008, at 8:58 pm, Graham Cox wrote:
it's maybe more than you need and it also takes an NSColor object
value
Oops, that came out not the way I intended it - I meant that you'll
need to do more than this code does for your case - i.e. displaying
two (or more?) colours in a
I'm getting this crash when running on PPC Tiger only. Leopard and
all Intel work fine:
Thread 0 Crashed:
0 com.apple.CoreFoundation0x92009780 CFDictionaryAddValue + 76
1 dyld 0x8fe13ed4
ImageLoaderMachO::resolveUndefined(ImageLoader::LinkContext
I'm used pantomime framework to send mail without using any email
client.But the connection is established,after that serviceInitialized
method doesn't run.I given correct server,name and password.Anybody can
help me?
When the try to use Mailcore framework,the connectToServer function
throwing
Hi folks,
Continuing my learning into Cocoa I'm developing a personal finance
application. An admirable project I believe since none available suit
my purposes and it always pays to have a project that one would use to
learn from.
I have a simple core data model consisting of
Hi All,
I am a newb. I am looking for an cocoa app through which I can create
.qtz file. The cocoa app will be having UI in which i 'll implement some
effects on image. Now, lets say I 've a button export. When I 'll click export
button, it should get saved as .qtz file. And I should
Hello,
I have code where i manually reorder an outline view, and when it is
reordered it automatically resizes to fit all the items. A crash
consistently happens when I move a subitem from one group to another
(in other words, when I drag a row so that it is originally in one
expandable
Steven,
In my app I have a similar setup, although without the detail view.
I have the Table Column of my NSOutlineView bound to a
NSTreeController using the Controller Key arrangedObjects and the
Model Key Path set to the name of a method in the custom
NSManagedObject subclass that my
There are a couple of gotchas... trying to disable the right-click menu
is one issue (maybe you can subclass the view for this, I haven't
tried), and having the Flash app send messages back to the main app is
another problem.
Julia Rixon wrote:
Ferhat Ayaz wrote:
Why don't load flash via
On 9 May 2008, at 16:59, Simon Wolf wrote:
I have an NSTextField with an associated NSNumberFormatter which I
am using to format the values shown to a specific number of decimal
places. I have a second NSTextField which I am using to display and
edit the number of decimal places that I
Looks to me like you're releasing (and then deallocating) an object in
the outline view without first informing the view that it's gone. It
is very important to remember that outline views do NOT retain their
items; that is the responsibility of your data source. Running with
An easier algorithm to do this on Leopard:
- (CGFloat)mySizeToFitWidthOfColumn:(NSInteger)column row:
(NSInteger)row {
NSCell *cell = [self preparedCellAtColumn:column row:row];
return [cell cellSize].width + 1;
}
..
// for each table column:
for (NSInteger i = 0; i [self
And/or read this:
http://www.corbinstreehouse.com/blog/index.php/2007/10/instruments-on-leopard-how-to-debug-those-random-crashes-in-your-cocoa-app/
corbin
On May 12, 2008, at 9:20 AM, Mike Abdullah wrote:
Looks to me like you're releasing (and then deallocating) an object
in the outline
Hello,
I'm using core-data in a program of mine. It uses two context where
one of these is used in a second thread to perform saving operation.
Sometimes at the end of all operations when I perform a save operation
on my main context I receive a
conflictList error.
Is there any way to avoid
I asked this on the xcode-users list recently, but either nobody knew
the answer, or someone did and didn't want to tell me, so maybe I'll
have better luck asking on a related list:
I've got an application that loads some bundles. The bundles each
contain an ObjC class that subclasses an
There's also the issue of the lifetime of the string. Will initSomeSystem
hang on to the char * after the call returns? If so, your code will blow up
since when the NSString goes it will take with it that C string--instead
you'd have use one of the calls that *copies* the C string into a buffer
On May 12, 2008, at 12:39 PM, Nick Zitzmann wrote:
2. How do I fix this without building the abstract superclass into
each bundle (which is wasteful)?
This isn't my area of expertise, but isn't this the purpose of the -
bundle_loader linker option?
-Ken
On May 12, 2008, at 6:30 AM, Shashi Kumar wrote:
I am looking for an cocoa app through which I can create .qtz file.
The cocoa app will be having UI in which i 'll implement some
effects on image. Now, lets say I 've a button export. When I 'll
click export button, it should get saved as
Folks,
We need to ship some frameworks that are common to a few of our apps.
The question, of course, is where to put these, and how to bundle them
with apps so downloads, etc. are not huge and bloated. I'd like to
hear other's experience with this. Do you put common frameworks in a
place such
Hi All,
The Chicago CocoaHeads / Chicago Cocoa and WebObjects User Group
(CAWUG) is holding our next meeting Tuesday, May 13th, at 7:00 PM at
the Apple Store on Michigan Ave.
Agenda:
- Introductions Announcements
- Bob on WO development with Eclipse
-
I am trying to make use of waitForDataInBackgroundAndNotify when
executing a script. I've setup the task like this
NSTask *task = [[NSTask alloc] init];
[task setLaunchPath:path];
[task setArguments:args];
NSPipe *outPipe = [NSPipe pipe];
[task
Your placement of waitUntilExit is blocking the runloop which needs to
be running to service the background notifications you requested. If
you want async behavior then you cannot wait on the task (at least not
in the way you are currently attempting).
Review the following code example...
Is there a way to get ICAImportImage to work correctly? Using the code
in the docs, the ICAImportImageSample_Cocoa or the
ICAImportImageSample_Carbon samples all gives the same results when
built with the 10.5 SDK:
On Mon, May 12, 2008 at 2:30 PM, Craig Hopson [EMAIL PROTECTED] wrote:
So, the question is, what is the difference between using self. notation
and not? I have declared the properties to retain the objects. The
compiler is happy, I just die at run time when I attempt to access the
contents
Hello,
I've tried to create an NSURL with this URL:
http://forum.scmf.it/index.php?showtopic449st
However it returns nil.
So I've tried to open it via Safari and the URL become
http://forum.scmf.it/index.php?showtopic%11449st
%11?
Is there any way to translate these url into the correct
Guys,
I think I've been the victim of some side effect that I cannot track
down. With no other changes, I tried again with each style,
[ self.fieldArray addObject:inFoo ];
[ fieldArray addObject:inFoo ];
replacing all occurrences for each test, and both work - what I would
Hi,
Does anyone knows of an example or tutorial on how to this ??
The documentation says that I have to use this method on NSPrintPanel:
- (void)addAccessoryController:(NSViewController
NSPrintPanelAccessorizing *)accessoryController
I have no idea how a NSViewController works..
any
On May 12, 2008, at 3:16 PM, Dex Morgan wrote:
Hello,
I've tried to create an NSURL with this URL:
http://forum.scmf.it/index.php?showtopic449st
However it returns nil.
So I've tried to open it via Safari and the URL become
http://forum.scmf.it/index.php?showtopic%11449st
%11?
Is there any
Sorry if this is naïve but I have a quick follow up q (to verify that I am
understanding ObjC correctly). Is it true that:
The two styles seem to me to have slightly different execution paths. The
first:
[self.fieldArray addObject:inFoo]
Would actually invoke the property accessor fieldArray
On Mon, May 12, 2008 at 3:42 PM, Phoenix Draco
[EMAIL PROTECTED] wrote:
Sorry if this is naïve but I have a quick follow up q (to verify that I am
understanding ObjC correctly). Is it true that:
The two styles seem to me to have slightly different execution paths. The
first:
On May 12, 2008, at 15:19, Craig Hopson wrote:
I think I've been the victim of some side effect that I cannot track
down. With no other changes, I tried again with each style,
[ self.fieldArray addObject:inFoo ];
[ fieldArray addObject:inFoo ];
replacing all occurrences for
On 12 May 08, at 15:16, Dex Morgan wrote:
Hello,
I've tried to create an NSURL with this URL:
http://forum.scmf.it/index.php?showtopic449st
However it returns nil.
So I've tried to open it via Safari and the URL become
http://forum.scmf.it/index.php?showtopic%11449st
%11?
There is indeed a
Another possibility is that there is an invisible character in your
URL (perhaps due to copy-paste) which Safari is kind enough to escape
for you as %11. I would try deleting the showtopic449 part and
retyping it by hand to make sure there is no hidden character between
topic and 449.
On 12 May '08, at 5:18 PM, Rua Haszard Morris wrote:
Is there a way to wrap up an NSAlert, the beginSheetModalForWindow
call, and the alertDidEnd implementation, such that a caller can
just call one function which blocks until the alert is dismissed?
No, because the application continues
On May 12, 2008, at 7:18 PM, Rua Haszard Morris wrote:
Is there a way to wrap up an NSAlert, the beginSheetModalForWindow
call, and the alertDidEnd implementation, such that a caller can
just call one function which blocks until the alert is dismissed?
NSAlert has the -runModal method.
On May 12, 2008, at 23:04, Shawn Erickson wrote:
Your placement of waitUntilExit is blocking the runloop which needs to
be running to service the background notifications you requested.
Ah ...I see. That makes sense.
If
you want async behavior then you cannot wait on the task (at least not
I am stuck on this error.
2008-05-12 20:58:58.257 TimerTest[65919:10b] An uncaught exception was
raised
2008-05-12 20:58:58.259 TimerTest[65919:10b] Controller cannot be nil
2008-05-12 20:58:58.260 TimerTest[65919:10b] *** Terminating app due
to uncaught exception
Hey,
I am trying as hard as I can to get pixel data from a CIImage, but am
failing, pretty miserably. I am using
render:toBitmap:rowBytes:bounds:format:colorSpace: from CIContext and
it seems to work, but doesn't really. I get data in my int*
pointer, but it never changes! What am I doing wrong?
on 5/12/08 7:01 PM, [EMAIL PROTECTED] purportedly said:
- (void) init
{
deadlineTimer = [NSTimer scheduledTimerWithTimeInterval:1.0
target:self selector:@selector(updateTime:) userInfo:nil repeats:YES];
self.deadlineHours = 24;
self.startTime = [NSCalendarDate calendarDate]; //Current date
On May 12, 2008, at 1:31 PM, Jean-Daniel Dupas wrote:
Unlike the 32 bits runtime, the 64 bits runtime respects class
symbols visibility.
If you do not export the class symbol, you cannot use it from an
other binary (just like with C or C++ functions and classes).
Thank you. Since more
Hi,
I'm a cocoa newbie, so I may be missing something obvious here: I'd
like to get a list of open windows for all currently running
applications.
I've been able to get the list of running applications from
NSworkspace, but can't see a method of getting the open windows.
Using appleScript I
Yeah, a stupid mistake. Thanks for noticing that. I had that as
awakeFromNib and changed it but forgot to give it a nonvoid return
value. Since the error was about a controller, and only happened when
I bound an IB textField, and the app ran perfectly to the console, it
never occurred to
On May 12, 2008, at 8:15 PM, Ben Lowndes wrote:
I'm a cocoa newbie, so I may be missing something obvious here: I'd
like to get a list of open windows for all currently running
applications.
I've been able to get the list of running applications from
NSworkspace, but can't see a method of
On May 12, 2008, at 9:03 PM, Shashi Kumar wrote:
Is it not possible that from UI, I will generate XML file which
will be kind of PList file of .qtz file containing tree list of its
properties. And from that XML file we will create .qtz file ??
And, no, there isn't a Cocoa API that will
48 matches
Mail list logo