Hi,
In my UI, a user may type in any string into a NSTextField, e.g.
Chinese characters.
Do I assume the return value from
NSString * value = [textField stringValue]
is always encoded with UTF8?
I need to convert this to a properly url encoded value as a GET parameter.
Thanks,
--
Wayne Shao
On 17 Jun 08, at 23:16, Wayne Shao wrote:
In my UI, a user may type in any string into a NSTextField, e.g.
Chinese characters.
Do I assume the return value from
NSString * value = [textField stringValue]
is always encoded with UTF8?
NSStrings are encoding-independent. They represent
Am 17.06.2008 um 23:41 schrieb Matthew Youney:
The structure, documentation of Cocoa, as well as observation of
this forum
has helped me to evolve (clean up) my OI technique, and hopefully
take my
code to the next level. Although I have always been a very hardware
oriented programmer, and I
Le 18 juin 08 à 03:40, Bill Bumgarner a écrit :
On Jun 17, 2008, at 6:02 PM, Michael Gardner wrote:
Too bad you can't avoid blocking at least occasionally with the
event-driven APIs, meaning you still have to use threads to avoid
it completely.
I don't really see in what situation you
Le 18 juin 08 à 04:04, Omar Qazi a écrit :
I'm a little confused about file system notifications in Cocoa. In
NSWorkspace, it says that the method for subscribing to file system
notifications will always return NO, which seems useless to me. I
know Carbon has the FNSubscribe() and
If you need a list of subclasses of a class, there isn't a built-in
function - you have to test them one at a time. However I had the
exact same need recently and wrote a little helper class to do it. One
thing I ran into in my situation is that I really needed to prevent
+initialize from
Hi to all,
I'm developing a tool for assistive input and my question is how can I
send a key event (like a keyboard press event) to the current window
(whatever this one could be), for data input.
I've tried the following, but only a beep is produced by my machine.
snippet
id keyTarget =
On Jun 18, 2008, at 12:31 AM, Daniel wrote:
I'm developing a tool for assistive input and my question is how can I
send a key event (like a keyboard press event) to the current window
(whatever this one could be), for data input.
Have you looked at the Quartz Event Services?
On 18 Jun 2008, at 1:47 am, William Squires wrote:
I'm trying to code a solution to the challenge Make a Delegate in
chapter 6 of the new Hillegaas book. Here is my AppController.h
Interestingly, I was doing this same challenge last night, and I
think I did it a slightly different way,
I have not used glut for any OS X based projects, but my impression is
that if you intend to use no OS facilities in the window you are
interacting with then glutKeyboardFunc() and friends should work just
fine. If you want to use a WebView or anything that expects NSEvents
in that window you are
Hi Apparao,
On Wed, Jun 18, 2008 at 7:55 AM, Apparao Mulpuri
[EMAIL PROTECTED] wrote:
I have a NSTextField, in which i have to update with new string
value when ever user presses Cmd, Control or Option keys. I have tried
with keyDown and controlDidChange methods. These are working with
Thanks Douglas,
Nice to know I'm not going mad!
Jon
On 16 Jun 2008, at 17:51, douglas a. welton wrote:
Jonathan,
I don't think you missed anything. I do believe that documentation
is somewhat misleading for this class.
I was in the same situation as you, so I simply decided to get a
Hi all,
I hope this is the correct mailing list for iPhone OS questions, too?
If not, please redirect me to a more appropriate forum/list.
I'm currently learning some basic Cocoa touch stuff and my first app
is to be a very simple table view with a detail view for each row.
I'm studying
on 2008-06-17 9:36 PM, Markus Spoettl at [EMAIL PROTECTED]
wrote:
Also, if that data is it stored on a per document basis, is it stored
as a part of the document data or in the user defaults data. Storing
in the user default database (or someplace else) would remember all
documents opened by
On Jun 17, 2008, at 4:50 PM, Erik Buck wrote:
I am a little bit confused by Scott's statement that if you use
layers-hosting views, then you should not rely on view drawing at
all ... conversely, if you use layer-backed views then you should
not directly access the views.
and you
On Jun 17, 2008, at 8:17 PM, Pierce T. Wetter III wrote:
I had a release the week before, plus we didn't have enough tickets
since WWDC was sold out, so I didn't go. Are there any details on
Grand Central?
Discussing NDA Projects (Snow Leopard and iPhone OS) and Private API
And again
On Jun 17, 2008, at 8:47 PM, Pierce T. Wetter III wrote:
On Jun 17, 2008, at 5:31 PM, David Wilson wrote:
WWDC is still under NDA, I'm pretty sure no one's allowed to say
anything here beyond whatever mentions have been made to the press.
Well, Apple people are, once they obtain
As explained multiple times today, including in the list guidelines
that were posted on June 15 with the tag MUST READ and are sent to
every new subscriber...
Discussing NDA Projects (Snow Leopard and iPhone OS) and Private API
Some weird things seem to happen with NSURLRequest when used with
NSURLRequestUseProtocolCachePolicy :
1)
The documentation I've found about Conditional GET in the web says I
should be sending If-Modified-Since and If-None-Match headers with
the contents of Last-Modified and ETag headers
Hi list,
I have a NSArrayController and a form (collection of controls) that
displays attributes for a individual object in the array controller.
One attribute is bound to a NSMatrix (radio buttons) with the
Selected Index binding. This works great.
But now I want to disable the NSMatrix
thanks sorry, didn't know.
2008/6/18 Scott Anguish [EMAIL PROTECTED]:
As explained multiple times today, including in the list guidelines that
were posted on June 15 with the tag MUST READ and are sent to every new
subscriber...
Discussing NDA Projects (Snow Leopard and iPhone OS) and
Hello list.
I need help with a problem I suspect being a Core Data / Bindings hickup :
My model consists of an abstract entity A and an entity B, with A being B's
parent. Each entity is managed by it's own NSArrayController (mode set to
Entity and correctly bound to the context), and each
wow, I'm another one just starting the same challenge...how many of us
newbies are there working through Hillegaas at the moment?
I would love to see your solution...when I complete it maybe we should
exchange off list?
Regards, Michael.
On 18 Jun 2008, at 09:25, David Reynolds wrote:
Hello all.
I'm trying to make sure any image included in an RSS feed is displayed at
the proper size. I've found some images, such as netflix, store 300 dpi
images, which when displayed (in a Growl notification) appear at about 24%
of their actual size.
The example I'm working with is this:
Thank you! I'll read through them.
Basically, I've noticed that the code I'm using works (as it sends the
right event), but it is sent to the wrong receiver. That means I'm
sending it to my current application, instead I should be able to
click on a button (representing a key stroke) and sending
I have developed a daemon that have an Objective-C class
ApplicationWatcher which checks the foreground applications with
NSWorkspace.
In my main I create the ApplicationWatcher, and the class starts an
NSTimer.
This is probably a stupid question, but I want the daemon to continue
On Jun 18, 2008, at 1:25 AM, Andrew Farmer wrote:
On 17 Jun 08, at 23:16, Wayne Shao wrote:
In my UI, a user may type in any string into a NSTextField, e.g.
Chinese characters.
Do I assume the return value from
NSString * value = [textField stringValue]
is always encoded with UTF8?
Ivan C Myrvold wrote on 2008-06-18 13:07:50:
I have developed a daemon that have an Objective-C class
ApplicationWatcher which checks the foreground applications with
NSWorkspace.
In my main I create the ApplicationWatcher, and the class starts an
NSTimer.
This is probably a stupid
On 18 Jun 2008, at 11:41 am, Michael Kaye wrote:
wow, I'm another one just starting the same challenge...how many of
us newbies are there working through Hillegaas at the moment?
I would love to see your solution...when I complete it maybe we
should exchange off list?
Sure, I can email
Hi,
Is there a way to do following:
In a NSWindow, I'd like to disable manual resizing(don't allow user to drag the
lower right corner to resize the window), only by clicking 'max' and 'restore'
icons, possible? the reason is, I put a QuickTIme's movieview in the window and
the preserving
If you are creating Window in IB, then in window inspector Uncheck the
reResize checkbox.
In programmatic approach, you have to set the Window's style mask.
- Apparao.
2008/6/18 Angelo Chen [EMAIL PROTECTED]:
Hi,
Is there a way to do following:
In a NSWindow, I'd like to disable manual
Den 18. juni. 2008 kl. 14:22 skrev [EMAIL PROTECTED]:
Ivan C Myrvold wrote on 2008-06-18 13:07:50:
I have developed a daemon that have an Objective-C class
ApplicationWatcher which checks the foreground applications with
NSWorkspace.
In my main I create the ApplicationWatcher, and the class
Le 18 juin 08 à 15:15, Angelo Chen a écrit :
Hi,
Is there a way to do following:
In a NSWindow, I'd like to disable manual resizing(don't allow user
to drag the lower right corner to resize the window), only by
clicking 'max' and 'restore' icons, possible? the reason is, I put a
Am 18.06.2008 um 15:15 schrieb Angelo Chen:
In a NSWindow, I'd like to disable manual resizing(don't allow user
to drag the lower right corner to resize the window), only by
clicking 'max' and 'restore' icons, possible? the reason is, I put a
QuickTIme's movieview in the window and the
On Jun 18, 2008, at 4:25 AM, Daniel wrote:
Basically, I've noticed that the code I'm using works (as it sends the
right event), but it is sent to the wrong receiver. That means I'm
sending it to my current application, instead I should be able to
click on a button (representing a key stroke)
Hi all,
I've hit a very nasty problem when using Core Animation and doing a
live resize. Even though I've disabled animations, Core Animation
messes up the layer when resized for a couple of frames. So, here's
what I think happens:
- I resize several sublayers and reposition them
- Since
Fantastic!
Thanks to you and Omar.
laurent
On Jun 18, 2008, at 9:28 AM, Graham Cox wrote:
If you need a list of subclasses of a class, there isn't a built-in
function - you have to test them one at a time. However I had the
exact same need recently and wrote a little helper class to do it.
on 2008-06-18 7:25 AM, Daniel at [EMAIL PROTECTED] wrote:
I should be able to
click on a button (representing a key stroke) and sending the event
(e.g. Safari) to the right application.
As joar says, look at the Quartz Event Taps API and the Accessibility API.
To try out examples of
On 18 Jun 2008, at 07:25, Andrew Farmer wrote:
NSStrings are encoding-independent. They represent strings, not
sequences of bytes.
Not *entirely*. The docs are a little sloppy on this, unfortunately,
both for Cocoa and Core Foundation; in both cases they talk about
Unicode characters
Another option would be to write a +load method in your abstract
superclass that will be automatically called for any subclasses and
register them with the superclass.
Mike.
On 18 Jun 2008, at 16:45, Laurent Cerveau wrote:
Fantastic!
Thanks to you and Omar.
laurent
On Jun 18, 2008, at
On Jun 18, 2008, at 03:31, Alain Schartz wrote:
My model consists of an abstract entity A and an entity B, with A
being B's parent. Each entity is managed by it's own
NSArrayController (mode set to Entity and correctly bound to the
context), and each NSArrayController is bound to a
IIRC, +initialize call the super implementation if the child class
does not override it, but not the +load method that is called exactly
once per class and per categorie.
So +load will not be called automatically.
Le 18 juin 08 à 18:57, Mike Abdullah a écrit :
Another option would be to
Topic/focus changed to please the moderator.
Too bad you can't avoid blocking at least occasionally with the
event-driven APIs, meaning you still have to use threads to avoid
it completely. And I fail to see what's so bad about having one
thread per socket. Is it because Threads Are
I have an NSTextView. Check spelling as you type is enabled. If I
misspell a word it is correctly underlined with a red line immediately
after I type the word followed by a whitespace. But then the underline
is removed when I begin typing a new word.
I'm guessing this is related to some
I have a navigator object which maintains a stack of
NSViewControllers. When I create a new NSViewController and push it
to the navigator, I want the view's back button to show the name of
the previous view. If the navigator tries to set the title of the
button, the button is still null
Hello,
I'm using NSSplitView with two subviews in both vertical and horizontal
mode.
In awakeFromNib of my code I use -addSubView to fill the first subview (the
other is just filled because I've created it in IB).
Is there a way to swap these subviews? (invert the position).
Any hint?
Thanks.
On Wed, Jun 18, 2008 at 1:04 PM, David Carlisle
[EMAIL PROTECTED] wrote:
I have a navigator object which maintains a stack of NSViewControllers.
When I create a new NSViewController and push it to the navigator, I want
the view's back button to show the name of the previous view. If the
Hi,
as I'm fairly new to cocoa-programming, I've stumbled across a problem
that I can't quite understand.
- I've made a class (let's call it ThreadClass) that is a subclass of
NSThread.
- This class gets invoked from somewhere else via [theThreadClass
start].
- That invokes
Hello List,
I'm having a problem with a performance problem in NSKeyedArchiver
which I can't find a cause for. Let me first describe the data I'm
storing:
It's a simple object hierarchy consisting of the following
Root custom NSCoding compliant object
|-- ANodes (NSMutableArray)
On Jun 18, 2008, at 11:10 AM, Georg Schuster wrote:
I'm sorry that I can't post any real code, but does anybody know if
there are some special things I should keep an eye on when
programming the WorkerClass? I tried to read every doc about threads
and autoreleasepools I could get my hands
On Wed, Jun 18, 2008 at 1:50 PM, Pierce T. Wetter III
[EMAIL PROTECTED] wrote:
The problem is that creating a thread, destroying a thread, and switching
threads in and out have a LOT of overhead. The above thread is going to
spend most of its time waiting for I/O, but the OS has no way of
Assuming you don't fix the issue:
On Wed, Jun 18, 2008 at 2:13 PM, Markus Spoettl
[EMAIL PROTECTED] wrote:
2) I also noticed that when I use the NSPropertyListXMLFormat_v1_0 instead
of binary, the process speeds up considerably, taking just below 10 seconds.
The problem with this is that the
Is there a way to swap these subviews? (invert the position).
Any hint?
Remove the subviews, then re-add them in the desired order?
--
I.S.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
Hello, guys!
I've been studying the Cocoa Core Data and I have a question about it. I
went through a blog tutorial I got at the Internet and I build my first
Cocoa Application. So I decided to do something by my own: a financial
controller.
To make it simple, I used Account and Transaction
For the last several days I've been trying to use Distributed Objects in my
application to no avail. I've scanned and scoured for multiple pieces of
documentation over just about everywhere, I've tried one variation of code
after another, initially trying to use NSSocketPort with domain sockets
1. You really need to master the basics of Cocoa before you tackle
Core Data.
2. I would move amount over on the Account entity, and rename it
balance.
3. See #1.
Hal
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
Can anyone please help me?
No. At least not at present. There have been many discussions
(several very long ones recently) about the fact that - as stated in
the documentation - Core Data is most emphatically NOT a beginner
technology. Any effort spent trying to help you run before you can
Hello, all.
I found a very interesting and strange behaviour of the
NSString:stringByAddingPercentEscapedUsingEncoding.
I got a UTF-8 string from a Final Cut Pro project file, which is
exported as an XML.
There is a video clip named 자연, which means Nature in Korean.
And its pathurl is
Whoops, I had a typo on ClientController's nameserver's portname (it was
supposed to be CommServerPort and not ChatterPort)
Fixed this, but now I'm getting crashes when the debugger hits [[connect
rootProxy] retain].
On Wed, Jun 18, 2008 at 2:40 PM, Waldo Lee Sharvey
[EMAIL PROTECTED] wrote:
On Wed, Jun 18, 2008 at 2:54 PM, Waldo Lee Sharvey
[EMAIL PROTECTED] wrote:
Whoops, I had a typo on ClientController's nameserver's portname (it was
supposed to be CommServerPort and not ChatterPort)
Fixed this, but now I'm getting crashes when the debugger hits [[connect
rootProxy] retain].
On 18 Jun 2008, at 13:31, David Reynolds wrote:
Sure, I can email it to you I get home from work if you like?
For anyone following, here is my version of the code:
Controller.h:
#import Cocoa/Cocoa.h
@interface Controller : NSObject {
}
@end
No instance variables and no methods- is this
On Jun 18, 2008, at 11:25 AM, Kyle Sluder wrote:
On Wed, Jun 18, 2008 at 2:13 PM, Markus Spoettl
[EMAIL PROTECTED] wrote:
2) I also noticed that when I use the NSPropertyListXMLFormat_v1_0
instead
of binary, the process speeds up considerably, taking just below 10
seconds.
The problem with
WHAT: Cathy Shive will talk about creating IB plugins.
Afterwards, food and beer as usual.
WHEN: Thursday, June 19, 6:00PM (special date this month due to WWDC)
WHERE: The basement at Tekserve, at 119 West 23rd between 6th and 7th,
http://www.tekserve.com/
On Wed, Jun 18, 2008 at 4:41 AM, Michael Kaye [EMAIL PROTECTED] wrote:
wow, I'm another one just starting the same challenge...how many of us
newbies are there working through Hillegaas at the moment?
/me raises hand.
I'm currently stuck on challenge 1 in chapter 8 (pg 135): Make the
On Jun 18, 2008, at 1:49 PM, JongAm Park wrote:
Can anyone tell me why the two different data source are displayed
as same 자연, while what it contains are different?
I haven't looked into the specific character sequences in-depth, but
I suspect the difference is in Normalization Forms.
I'm getting SIGBUS errors when my [connection rootProxy] is called.
On Wed, Jun 18, 2008 at 3:00 PM, I. Savant [EMAIL PROTECTED]
wrote:
On Wed, Jun 18, 2008 at 2:54 PM, Waldo Lee Sharvey
[EMAIL PROTECTED] wrote:
Whoops, I had a typo on ClientController's nameserver's portname (it was
On Wed, Jun 18, 2008 at 2:13 PM, Markus Spoettl
[EMAIL PROTECTED] wrote:
Hello List,
I'm having a problem with a performance problem in NSKeyedArchiver which I
can't find a cause for.
I saw no mention in your message; have you profiled your app yet? Even
though the time is not being spent in
*- I'm a Java programmer who wants to migrate to ObjC/Cocoa.*
Welcome.
Unlike some of the others, I don't think Core Data requires an
advanced degree in Cocoa. However, in my experience, trying to learn
both Cocoa Bindings and Core Data simultaneously overwhelms many
people new to Cocoa.
On Jun 18, 2008, at 12:35 PM, Michael Ash wrote:
I saw no mention in your message; have you profiled your app yet? Even
though the time is not being spent in your code, a profile can give
you an idea of what's taking up all this time, and may give you hints
as to how to make it go faster. First
On 19/06/2008, at 7:21 AM, Nathan wrote:
On Wed, Jun 18, 2008 at 4:41 AM, Michael Kaye [EMAIL PROTECTED]
wrote:
wow, I'm another one just starting the same challenge...how many of
us
newbies are there working through Hillegaas at the moment?
/me raises hand.
I'm currently stuck on
On Jun 18, 2008, at 12:24 PM, Ken Thomases wrote:
On Jun 18, 2008, at 1:49 PM, JongAm Park wrote:
Can anyone tell me why the two different data source are displayed
as same 자연, while what it contains are different?
I haven't looked into the specific character sequences in-depth, but
I
On Wed, Jun 18, 2008 at 7:33 PM, Thiago Rossi [EMAIL PROTECTED] wrote:
*Amount* is an calculated field and it depends on the previous transactions.
I don't know how to do it! It is not a value I can save on database, for
example, because it changes all the time (I guess I have to mark the
Thank you very much for the information.
I even didn't think about the normalization. Wow.. it is quite complicated.
I tried the 4 methods,
-precomposedStringWith*[Canonical/Compatibility]*Mapping and
-decomposedStringWith*[Canonical/Compatibility]*Mapping.
The result was that [NSString
That depends on what you mean by automatically. If you read the
documentation, you'll see this bit:
The load message is sent to classes and categories that are both
dynamically loaded and statically linked, but only if the newly loaded
class or category implements a method that can
On Tue, Jun 17, 2008 at 9:28 PM, Josh de Lioncourt
[EMAIL PROTECTED] wrote:
Hi Louis and Andy,
I'm certainly looking at this suggestion, but another developer suggested
that I may be better served by hooking into the keyboard input functionality
of OpenGL. Assuming that have focus on an
On Jun 18, 2008, at 13:06, Markus Spoettl wrote:
I did profile it but it's not my code that is slow. It's the call to
[archiver finishEncoding] that's taking so long (see the Shark trace
below.
Regards
Markus
3.5% 57.0% CoreFoundation
On Jun 18, 2008, at 3:47 PM, JongAm Park wrote:
Thank you very much for the information.
You're welcome.
I even didn't think about the normalization. Wow.. it is quite
complicated.
I tried the 4 methods, -precomposedStringWith[Canonical/
Compatibility]Mapping and
Thank you for the additional information.
Interestingly I found a similar method in NSFileManager,
fileSystemRepresentationWithPath.
So, is there any document on which file system uses which representation?
Also, is there any reason why a program, like the FCP, prefers the decomposed
string
On Jun 18, 2008, at 1:59 PM, Quincey Morris wrote:
Yes, but look at where the time is *really* being spent. At a guess,
finishEncoding is comparing every number object against every other
number object to see if it can archive just one object of each
distinct numeric value. With the number
On Jun 18, 2008, at 13:04, Ben Trumbull wrote:
*Amount* is an calculated field and it depends on the previous
transactions.
I don't know how to do it! It is not a value I can save on
database, for
example, because it changes all the time (I guess I have to mark the
transient field at Core
I even didn't think about the normalization. Wow.. it is quite
complicated.
I tried the 4 methods,
-precomposedStringWith[Canonical/Compatibility]Mapping and
-decomposedStringWith[Canonical/Compatibility]Mapping.
The result was that [NSString UTF8String] returns precomposed version
That's
On Wed, Jun 18, 2008 at 5:17 PM, Markus Spoettl
[EMAIL PROTECTED] wrote:
On Jun 18, 2008, at 1:59 PM, Quincey Morris wrote:
Yes, but look at where the time is *really* being spent. At a guess,
finishEncoding is comparing every number object against every other number
object to see if it can
Does anyone know what causes the
_clearTemporaryAttributesForCharacterRange method to get called...
and have theories on why it's being called in my app and why the
NSSpellingStateAttributeName that it is clearing isn't being replaced?
I believe that method should only be called when the
On Wed, Jun 18, 2008 at 5:07 PM, JongAm Park
[EMAIL PROTECTED] wrote:
Thank you for the additional information.
Interestingly I found a similar method in NSFileManager,
fileSystemRepresentationWithPath.
So, is there any document on which file system uses which representation?
Filesystem
On Jun 18, 2008, at 14:17, Markus Spoettl wrote:
Exactly and the test data isn't particularly big. Any ideas how to
tell the archiver not to do this with my doubles (that doesn't
involve conversion to strings and back)?
I suppose you could byte-move each group of 4 doubles in one NSData
Anyone out there binding multiple NSPathControls in IB?
I can do it programatically, but when I attempt to use multiple
NSPathControls the only item that ends up in the users' plist is the
most recent one modified...
I'm using a newer version of Xcode Tools, but the same thing happens
I have an application picker bit in my preferences, which allows the
user to select an app to do something. 90% of the time, I presume,
this will be a package, not a single file. My code is thus:
[oPanel setTreatsFilePackagesAsDirectories: NO];
NSString *filePath =
On Jun 18, 2008, at 2:50 PM, Quincey Morris wrote:
I suppose you could byte-move each group of 4 doubles in one NSData
and give that to the archiver instead. Or do it further upstream and
make a bigger array of numbers in a NSData. (But you'll have to deal
with endianness and -- egads! --
On Jun 18, 2008, at 5:18 PM, Dale Jensen wrote:
I have an application picker bit in my preferences, which allows
the user to select an app to do something. 90% of the time, I
presume, this will be a package, not a single file. My code is thus:
[oPanel setTreatsFilePackagesAsDirectories:
It was not that clear on the tutorial. =)
I was studying Objective C and I had started to implement the classes of my
project by hand when I saw that tutorial about Core Data. That was when I
moved my DTO to Core Data. I think I have to make them by hand.
And about the amount/balance and so on… I
An idea… If the transaction object knows the previous one, the get balance
method would return the current transaction amount +++plus the previous
transaction (if it is not nil). It would be more than an array, but a list…
But in core data it is not that simple, I guess.
On Wed, Jun 18, 2008 at
On Jun 18, 2008, at 2:50 PM, Quincey Morris wrote:
I suppose you could byte-move each group of 4 doubles in one NSData
and give that to the archiver instead. Or do it further upstream and
make a bigger array of numbers in a NSData. (But you'll have to deal
with endianness and -- egads! --
I have a window controller that provides a list of ports displayed in
a table view. The master-detail view I set up works fine, and I can
adjust attributes of individual ports as you would expect.
However, I want my window controller to have a current port property
that reflects the
On Jun 18, 2008, at 16:31, Markus Spoettl wrote:
I'm not exactly sure about the speed, blocking the UI for 15 seconds
isn't the best idea and the real data will be even bigger. So, a
cure for NSKeyedArchiver's optimization would be great.
The fastest, easiest approach would be to put your
On Jun 18, 2008, at 7:31 PM, Markus Spoettl wrote:
On Jun 18, 2008, at 2:50 PM, Quincey Morris wrote:
I suppose you could byte-move each group of 4 doubles in one NSData
and give that to the archiver instead. Or do it further upstream
and make a bigger array of numbers in a NSData. (But
I have an NSTextField on my window that is neither editable nor
selectable. Is there a way for my window controller to be notified
when the user double-clicks on the field?
-Steve
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
Hi All
Is there any command-line tool that will invoke a Services menu
command with standard input as the data to be transformed?
Cheers, Glen Low
---
pixelglow software | simply brilliant stuff
www.pixelglow.com
aim: pixglen
___
Cocoa-dev
On Jun 18, 2008, at 8:25 PM, Steve Nicholson wrote:
I have an NSTextField on my window that is neither editable nor
selectable. Is there a way for my window controller to be notified
when the user double-clicks on the field?
I don't know if there's a better way, but this works:
NSTextField
Addendum: I did implement my own transform to flip the drawing. As far
as I can tell, the initialFlippedState parameter in NSGraphicsContext
*)graphicsContextWithGraphicsPort:(void *)graphicsPort
flipped:(BOOL)initialFlippedState has no impact whatsoever. Bug report
time?
Another
On Jun 18, 2008, at 5:04 PM, Adam R. Maxwell wrote:
It's not recommended, but have you tried using old-style archiving
as another approach? It used to be considerably faster than keyed
archiving under some circumstances.
I have thought about trying this until I read it's deprecated since
1 - 100 of 105 matches
Mail list logo