Is there a Cocoa/iPhone equivalent to Quartz's
CGImageCreateWithImageInRect(image, imageRect)?
I want to be able to display an off-view portion; or pan over a large
PNG image within
the available UIView.
Ric.
___
Cocoa-dev mailing list (Cocoa-dev
you can use some methods of NSString, but I doubt wether NSString
performs well with really big string.
I once tried to work with the Unix tool 'grep' for searching
something in the iTunes Library xml file. That was amazingly fast!
You can use it in cocoa with NSPipe etc.
Op 13-jun-2009, o
Hi Kyril, Nick, Brian and Erik!
I'd really like to thank you all for your comments. You gave me a good
starting point to move on!
I'll work through these ressources and get back, if I have further
questions.
Have a nice weekend.
- Florian
P.S.: I'm not familiar with mailing-lists. Do I sim
Hello All,
I am getting the following error message when I try to migrate my Java
application on OS-X from java 5 to java 6.
I have a 64 bit MAC which is a requirement.
I am copy pasting the console over here :
NSRuntime.loadLibrary(/usr/lib/java/libObjCJava.dylib) error.
java.lang.UnsatisfiedLi
In the cross platform game I support the mac code on, since a few
months ago people are reporting odd stutters while using the mouse. I
investigated and found that calling
for(;;)
{
UnsignedWide time;
Microseconds(&time);
NSEvent* event = [NSApp nextEventMatchingMask:NSAnyEventMask
u
Are you looking for Cocoa solutions as well, or only Cocoa Touch? The
typical way to do this on desktop (Cocoa) is to use an NSScrollView
(with NSClipView). On Cocoa Touch, I hear people often use a
CATiledLayer, but as I'm not an iPhone dev there might be better
solutions available for your spec
On 13 Jun 2009, at 11:20:36, Florian Witteler wrote:
Hi Kyril, Nick, Brian and Erik!
I'd really like to thank you all for your comments. You gave me a
good starting point to move on!
I'll work through these ressources and get back, if I have further
questions.
Have a nice weekend.
- Flor
On Sat, Jun 13, 2009 at 12:40 PM, Tejas Vora wrote:
> I am getting the following error message when I try to migrate my Java
> application on OS-X from java 5 to java 6.
The Cocoa-Java bridge has been deprecated since 10.4.
--Kyle Sluder
___
Cocoa-dev
On Jun 13, 2009, at 1:40 PM, Tejas Vora wrote:
I have a 64 bit MAC which is a requirement.
I am copy pasting the console over here :
NSRuntime.loadLibrary(/usr/lib/java/libObjCJava.dylib) error.
java.lang.UnsatisfiedLinkError: /usr/lib/java/libObjCJava.A.dylib:
at java.lang.ClassLoader$Nat
On Sat, Jun 13, 2009 at 3:20 AM, Florian
Witteler wrote:
> Hi Kyril, Nick, Brian and Erik!
s/Kyril/Kyle/ plz :) Although I'd prefer my name to be Kyril. Too
much paperwork though. :P
> P.S.: I'm not familiar with mailing-lists. Do I simply hit 'reply to all'
> when I want to send an answer to
I want to implement a pulldown list like what FireFox does with its
address bar (or its Google search bar). I think it involves to open a
borderless window and draw items through Cocoa drawing APIs.
But when I saw Safari 4, its pulldown list's appearance just like a
context-menu, I began thinking
Hi Graham,
care to share some of them? I'm sure lots of people like the OP and
myself, who are not as prolific in coming up with ideas as you are,
would be happy to take a shot at some of your ideas.
Wagner
Well, most of them reflect two things: a) my interests and b) the
lack of certa
hello,
my project is fairly small and it monitors via notification certain directories
for changes. ideally the app would always run so that it would always monitor.
but i would like to make it so the icon could be hidden and my understanding
is that LSUIElement always hides the menubar as we
Hello,
I'm writing a Foundation tool that is only run by root (by launchd).. This
tool is using NSTask to call another program, but it seems like the program
that i'm calling within the NSTask is not given root privileges...
I'm not sure what I'm missing, do I have to use the Security framework?
Kyle:
Thanks for your suggestion. I ended up doing it in Interface Builder, and
it works great!
Thanks!
On 6/13/09 8:37 PM, "Kyle Sluder" wrote:
> Look into Core Image filters. You can apply them to any layer-backed
> view. You can even do it from within Interface Bulder, on the View
> Ef
On Sat, Jun 13, 2009 at 2:20 PM, Dennis
Hartigan-O'Connor wrote:
> I have an NSPopUpButton providing the NSMenu for a status item with a custom
> view. The popup button displays a list of links. When the user selects a
> link from the list, the link is displayed in the user's browser (in the
> back
On Sun, Jun 14, 2009 at 7:19 AM, Rick C. wrote:
> hello,
>
> my project is fairly small and it monitors via notification certain
> directories for changes. ideally the app would always run so that it would
> always monitor. but i would like to make it so the icon could be hidden and
> my under
KK wrote:
I'm writing a Foundation tool that is only run by root (by launchd)..
Exactly how is your tool being run by launchd?
Where are you putting the agent/daemon plist?
Post the contents of that plist.
Does your tool ever call setuid() or seteuid() or any similar
function (there are sev
I have many occasions when a model's property needs to be transformed
to another type for use in a view. In this case I have a string of
pipe separated values that need to be transformed into a
NSMutableArray, manipulated in the interface and then converted back
to the pipe separated string
NSDocument is what's known as a "model-controller" object. Your
actual model is the pipe-separated values; NSDocument allows you to
perform operations on that model. As such, I'd probably expose an
NSArray property for my list of things, and only do the
pipe-separation when reading from or writin
Thanks Kyle, I should've noted this is a non-document based app. That
said, I think your suggestion would imply to let the controller to
expose its own array property of the model's pipe-separated property?
Chris
On Jun 14, 2009, at 11:27 AM, Kyle Sluder wrote:
NSDocument is what's known
Am 12.06.2009 um 19:30 schrieb Development:
Hey, how do you guys come up with ideas for new programs? I'm going
nuts trying to figure out what type of application I should make.
I'm in a similar boat as Graham, in that I'm so busy working on
existing apps that I actually blogged a few ideas
I have an app currently with my own simple undo of a single instance.
When the app quits I'm able to save and later restore the undo info.
I've now switched to using the NSUndoManager and multiple levels of
complex undos.
On a desktop system the user quits and normally you just dispose of
On Jun 11, 2009, at 11:35 PM, Dave Robertson wrote:
Is there a recommended way to display a menu while still keeping key
events flowing to the search field?
Not that I know of. In my case, I filter the list to remove things
like apostrophe-s and display the list only if it contains less th
Am 11.06.2009 um 23:35 schrieb Dave Robertson:
Is there a recommended way to display a menu while still keeping key
events flowing to the search field?
Do you need a menu? Have you tried just creating your own cool-
looking borderless window and stuffing an NSTableView with the
completion
> On Sat, 2009/06/13, Grant Erickson wrote:
> From: Grant Erickson
> Subject: Re: Coming up with ideas
> To: "Graham Cox"
> Cc: cocoa-dev@lists.apple.com
> Date: Saturday, 2009 June 13, 11:13
>> On 2009/06/12 23:34, Graham Cox wrote:
>>> On 2009/06/13, at 13:27, WT wrote:
On 2009 Jun 13, a
On Jun 14, 2009, at 2:34 PM, Chris Tracewell wrote:
On Jun 14, 2009, at 11:27 AM, Kyle Sluder wrote:
NSDocument is what's known as a "model-controller" object. Your
actual model is the pipe-separated values; NSDocument allows you to
perform operations on that model. As such, I'd probably exp
Ken,
Okay, that makes perfect sense. You are right, I was storing the pipe-
separated string of values to avoid needing another DB table for
single values that would not surpass more than 2 or 3 per record.
However, your and Kyle's response now make it obvious that the pipe-
string is not t
On 13/06/2009, at 4:53 AM, Frederick C. Lee wrote:
Is there a Cocoa/iPhone equivalent to Quartz's
CGImageCreateWithImageInRect(image, imageRect)?
I want to be able to display an off-view portion; or pan over a
large PNG image within
the available UIView.
Check out Bill Dudney's TiledLa
On 14/06/2009, at 4:20 AM, Dennis Hartigan-O'Connor wrote:
I have an NSPopUpButton providing the NSMenu for a status item with
a custom view. The popup button displays a list of links. When the
user selects a link from the list, the link is displayed in the
user's browser (in the backgroun
On 2009 Jun 14, at 09:48, Michael Ash wrote:
On Sun, Jun 14, 2009 at 7:19 AM, Rick C. wrote:
my project is fairly small and it monitors via notification certain
directories for changes.
The most obvious way to do this would be to just have two
applications. One is an LSUIElement which doe
I'm able to get the dependent values to update correctly if I access
the deepest path of the relationship before I set the value that will
cause them to update.
It seems like kind of a kludge, but it might be the best I can do
right now until I can ferret out a possible missed dependency so
Thanks a lot for the responses.
Just require some clarifiaction.
So you think the problem is due the 64 bit mac ??I am not clear about your
observation on the exception.
Thanks
Tejas
On Sun, Jun 14, 2009 at 4:13 AM, Nick Zitzmann wrote:
>
> On Jun 13, 2009, at 1:40 PM, Tejas Vora wrote:
>
> I
On 13/06/2009, at 16:51 , Michael Ash wrote:
You can't. If you want to receive keyboard events then you must have
focus. If you don't want to have focus, then you can't receive
keyboard events. Pick one or the other, because you can't have both.
Well, technically you could use an event tap or s
The Core Animation instrument (and a few others) require you to target
the device rather than the simulator.
On Jun 13, 2009, at 2:46 PM, Chunk 1978 wrote:
how can i add core animation to the performance tools list? it, and
several others, are deactivated.
--
David Duncan
Apple DTS Animati
On Sun, Jun 14, 2009 at 7:17 PM, Tejas Vora wrote:
> So you think the problem is due the 64 bit mac ??I am not clear about your
> observation on the exception.
Yes. There is no 64-bit version of the Cocoa-Java bridge. And
there's no guarantee that the 32-bit version will continue to exist at
all
On Jun 12, 2009, at 11:53 AM, Frederick C. Lee wrote:
Is there a Cocoa/iPhone equivalent to Quartz's
CGImageCreateWithImageInRect(image, imageRect)?
The equivalent is... CGImageCreateWithImageInRect :). Keep in mind
that 9 times out of 10 what people want to use it for is not what that
A
Tejas Vora wrote:
So you think the problem is due the 64 bit mac ??I am not clear
about your
observation on the exception.
Yes, the problem is due to the 64-bit mac. More specifically, it is
due to Java 6 on Leopard only running under the 64-bit x86_64
architecture. Java 6 simply does
SOunds good. Look forward to getting time together when you get here
in August. Although, we might be on vacation for some of that time.
How you handling the challenges?
--
Thanks.
Thomas G. Schaffernoth (Tom)
Quoting Tejas Vora :
Thanks a lot for the responses.
Just require some
On Sun, 14 Jun 2009 14:57:21 +1000, Jacob Rhoden
wrote:
> That is exactly what I am looking for, a "Dictionary" application is
> essentially assisting you with being able to read information on the
> screen. Unfortunately I cannot find any documentation at all on how
to
> access a programs a
Hey Sean,
Thanks for that. I am dealing with .torrent extensions. I have the UTI
defined as "org.bittorrent.torrent". Both apps are using the same file
format, so there shouldn't be a problem with a single UTI. It would be
great if Apple included this in the OS, although is there a chance
Hi Everyone:
I am following the steps described here:
http://www.cocoadevcentral.com/articles/28.php to make a fullscreen
application but am running into a problem when I want to get key input. For
some reason, it seems that when you convert the Panel to take up the screen,
you also loose the
On Sat, 13 Jun 2009 12:20:36 +0200, Florian Witteler > wrote:
> I'd really like to thank you all for your comments. You gave me a
good
> starting point to move on!
> I'll work through these ressources and get back, if I have further
> questions.
I missed their replies but in case one of them di
Simple question, how is it possible to have changes made
programatically to NSTextStorage be added to the undo manager? I tried
enclosing the changes in begin/endEditing calls but this did not work.
Thanks in advance.
Regards,
Josef
___
If you want undo manager support, you need to either perform the undo
machinations yourself, or target your modifications at an entity
higher up in the text system chain. More information (along with an
incomplete and perhaps misguided implementation) can be found on the
CocoaDev wiki: http://www.
Hello,
I am having difficulty understanding how to work with a fairly simple
Core Data model involving to-many relationships and their inverses.
Imagine the following entities, attributes, and relationships:
* Book
- title (NSString* attribute)
- author (NSString* attribute)
Thank you!! I just tried experimenting with those codes and it somewhat
works. The 'Main' window doesn't switch now and I get two insertion point
'Key' in both my app and the current running application. Its like the
Finder & Spotlight experiment you mentioned. But thank you for giving me
alead. At
47 matches
Mail list logo