I think Apple has one, but to find it, you may have to try to search…
http://developer.apple.com/samplecode/BetterAuthorizationSample/index.html
Le 24 juil. 08 à 15:37, Macarov Anatoli a écrit :
Someone has an example with authorization services.Le 24 juil. 08 à
14:24, Macarov Anatoli a
Once through your run loop is also a good place to hint to the
collector that it should collect if necessary. A non-GC app would
probably bracket the run of the run loop in an autorelease pool. A
decent technique for this is to get the underlying CFRunLoop from
the NSRunLoop (they're
By carefull with the basename function. Theoricaly, it require a
mutable string (char * and not const char *), so this logging function
may crash (even it for now it works).
Le 23 juil. 08 à 20:01, Nate Weaver a écrit :
This is the route I follow. I use normal NSLog() statements for
Le 20 juil. 08 à 10:33, Ken Thomases a écrit :
On Jul 18, 2008, at 11:53 PM, Rick Mann wrote:
I realize after all this, it's not really the Dot Syntax I need. I
need to know how a property name (starts with lower-case letter) is
transliterated into the getter/setter names.
The dot
Le 20 juil. 08 à 16:31, Clark Cox a écrit :
On Sun, Jul 20, 2008 at 4:17 AM, Jean-Daniel Dupas
[EMAIL PROTECTED] wrote:
Le 20 juil. 08 à 10:33, Ken Thomases a écrit :
On Jul 18, 2008, at 11:53 PM, Rick Mann wrote:
I realize after all this, it's not really the Dot Syntax I need.
I need
Le 20 juil. 08 à 19:54, Marc Respass a écrit :
Hi again,
I hate answering my own question but I did figure it out. I sub-
classed NSTableHeaderCell then created an instance using
initImageCell. Then it occurred to me that it seemed a bit silly. If
I can init an image cell, maybe I can
Le 20 juil. 08 à 19:55, Richard Nichols a écrit :
Hi
I'm looking for a simple example that will show me how to do an http
POST with user and password in cocoa.
All I want to do is send some text to a php script but it expects
the see the user and password and I'm not sure what classes
Le 19 juil. 08 à 07:20, Cloud Strife a écrit :
Hi, everyone.Assuming there is a Core Animation render tree with many
calayers and complex levels, should I use the iteration function to
remove
one layer from one layer or there just is some useful function to
delete the
whole render tree
Le 19 juil. 08 à 08:12, Kyle Sluder a écrit :
On Sat, Jul 19, 2008 at 1:10 AM, Andy Lee [EMAIL PROTECTED] wrote:
Am I misunderstanding?
No, I assure you that I'm the one who misunderstood. Although now the
question is why would one use an array of strings when one could use
an array of
Le 19 juil. 08 à 14:00, Gang Chen a écrit :
Hi,
I am new to Cocoa and Mac dev, and I want to make a simple
dictionary program with Cocoa on MacOSX. Can anybody help and tell
me how to get any words on screen where cursor points in Cocoa?
Regards,
-Mike
Could you not simply use the
iPhone SDK
--
Until an announcement is made otherwise, developers should be aware
that the iPhone SDK is still under non-disclosure (section 5.3 of the
iPhone Development Agreement). It can't be discussed here, or anywhere
publicly. This includes other mailing lists, forums, and
Le 18 juil. 08 à 17:39, Rick Hoge a écrit :
I would like to include a view divider similar to the one used in
Xcode at the top of the editor window (contains forward and back
buttons, popups for selection of source file and function, as well
as pulldowns for a number of functions).
I
Le 18 juil. 08 à 17:55, Matthew Williamson a écrit :
Hello list,
Ok, I'm completely new to Cocoa programming, but I've been
programming for 10 years, so I think I can figure this out.
I'm trying to do something remotely similar to a VNC server (pun
intended :-) ), but I need to be able
I don't think there is built-in support for this specific feature. If
archiving, serialization and CoreData do not fit your needs, I bet you
have to use your own method.
That said, you should avoid to use an uninitialized variable in your
code ;-) (outCount is used in array initializer
Le 17 juil. 08 à 10:33, 李国良 a écrit :
You know, most alerts are standard alerts, they display the
application icon
of the current application. My question is that how to display the
alert
sheet without the application icon, just with some characters. Do i
need to
custom a sheet in
Le 17 juil. 08 à 16:48, Keary Suska a écrit :
7/15/08 8:48 AM, also sprach [EMAIL PROTECTED]:
NSMessagePort doesn't seem to post the
NSPortDidBecomeInvalidNotification notification when the remote port
dies. It doesn't seem to matter if the remote port is closed via the
invalidate method or
Le 17 juil. 08 à 23:03, Uli Kusterer a écrit :
On 17.07.2008, at 12:50, Mitchell Livingston wrote:
I need to pass the location to a c library and reset the location
in this library when the application is moved, so I need a way to
know when the app is moved.
How can I call it again if I
Le 17 juil. 08 à 23:13, Jean-Daniel Dupas a écrit :
Le 17 juil. 08 à 23:03, Uli Kusterer a écrit :
On 17.07.2008, at 12:50, Mitchell Livingston wrote:
I need to pass the location to a c library and reset the location
in this library when the application is moved, so I need a way to
know
Le 16 juil. 08 à 13:01, Fabian a écrit :
Hi,
I only have one monitor, so I'm having a bit of a problem figuring
this out.
I have a (borderless) window that should be displayed on any display
chosen by the user. I figured the code below would do the trick, but
apparently it's a no go (I
Le 16 juil. 08 à 18:15, Scott Ribe a écrit :
The window frame origin is a position relative to the screen origin.
Try this:
screenRect.origin = NSZeroPoint;
[win setFrame:screenRect display:YES];
No, that will just position the window on the main screen. If the
window
frame origin were
Le 10 juil. 08 à 16:10, I. Savant a écrit :
On Thu, Jul 10, 2008 at 9:49 AM, an0 [EMAIL PROTECTED] wrote:
Thanks. But isn't it annoying for XCode to pretend to know something
for sure while in fact it is just a wrong guess? At least the warning
is very misleading.
How is this XCode's
You don't say you my pet, you said one of my family member's pet
I'm not wrong if I assume that it's your brother pet.
Just tell the compiler it is your pet and not your brother's on and
it will be happy (see the cast in the following line):
filteredPosts = [[self filterPosts:postNodes
Le 10 juil. 08 à 17:52, Graham Cox a écrit :
Actually it doesn't emit a warning.
If you recall my problem a few weeks ago with:
- (float) position;
vs.
- (int) position;
the compiler sailed blithely on without a mention, generating code
that smashed the stack to pieces.
This is
?
G.
On 11 Jul 2008, at 2:21 am, Jean-Daniel Dupas wrote:
The compiler will not try to search any -position method in headers
you do not include in your file.
If you include more than one interface with different declaration
it will tell you like this:
warning: multiple methods named
Yes, so the bad new is that you have to go Carbon to listen front
switched events, the good new is that this part of Carbon is available
for 64 bits apps (probably because this is the only public way to do
this for now).
Le 9 juil. 08 à 17:49, Matt Gough a écrit :
You can do this (and
Le 9 juil. 08 à 23:54, Julien Jalon a écrit :
If I understand correctly your point, it seems that in the first
case, you
use the direct to data print operation and in the second case, you
use the
direct to file print operation then read back the file in memory and
send it
to Quick Look.
Le 10 juil. 08 à 00:20, Jean-Daniel Dupas a écrit :
Le 9 juil. 08 à 23:54, Julien Jalon a écrit :
If I understand correctly your point, it seems that in the first
case, you
use the direct to data print operation and in the second case, you
use the
direct to file print operation then read
Le 8 juil. 08 à 21:59, Chris Hanson a écrit :
On Jul 8, 2008, at 11:19 AM, Nick Zitzmann wrote:
On Jul 8, 2008, at 6:20 AM, Glover,David wrote:
myStatus = AuthorizationCopyRights (myAuthorizationRef,
myRights, kAuthorizationEmptyEnvironment, myFlags, NULL);
Le 7 juil. 08 à 23:54, Stéphane Sudre a écrit :
On Jul 6, 2008, at 11:26 PM, Jean-Daniel Dupas wrote:
Le 6 juil. 08 à 21:25, Stéphane Sudre a écrit :
Problem:
I would like/need to know the height that would be required to
render a string inside a fixed width box.
Solution
the fully functional NSView displayed -
so I can interact with it, etc.
For example, imagine taking an OpenGL game and embedding the game in
a custom nib within a custom application.
On Jul 5, 2008, at 7:11 PM, Jean-Daniel Dupas wrote:
Le 6 juil. 08 à 00:43, Michael Moore a écrit :
I'm
Try NSLog(@%@, self) and make sure your are working with the same
document instance and not with two distincs documents objects (one
with a full array and one with an empty array).
Le 6 juil. 08 à 12:26, Mark Wales a écrit :
Do you actually have an accessor method for arrayOfReferences?
Le 6 juil. 08 à 13:47, Mark Wales a écrit :
So the document instance changes I guess. Why would that happen
and how can
I stop it?
Only your code could tell us why.
The MyDocument.m file is pretty long so I don't want to post it on
here, and it links to other files too. So here's the
Le 6 juil. 08 à 14:45, Bill Cheeseman a écrit :
on 2008-07-06 2:45 AM, Quincey Morris at [EMAIL PROTECTED]
wrote:
It also occurs to me that the OP is going to have to be careful to
document the behavior of methods in *his* framework that return new
CF
objects (if there are any). He'll
Not only his commenters disagree.
http://daringfireball.net/linked/2008/07/01/spolsky-menu-items
http://www.red-sweater.com/blog/515/disabled-menus-are-usable
And I disagree too.
Le 6 juil. 08 à 15:41, Peter Zegelin a écrit :
I agree with you but here is JoelOnSoftware saying virtually the
I haven't test but -[NSMenuItem setToolTip:] look fine to do this.
Now, just chek if this methods works even when the item is disabled.
Le 6 juil. 08 à 16:31, Peter Zegelin a écrit :
Some of the commenters suggest a tool tip over the disabled menu
explaining why it is disabled, which sounds
Le 6 juil. 08 à 17:35, Michael Ash a écrit :
On Sun, Jul 6, 2008 at 11:25 AM, Bill Cheeseman
[EMAIL PROTECTED] wrote:
on 2008-07-06 9:49 AM, Jean-Daniel Dupas at [EMAIL PROTECTED]
wrote:
If __strong is so dangerous, why is it used in Cocoa (see NSDrawer,
NSDateFormatter
Le 6 juil. 08 à 20:44, Keith Duncan a écrit :
How can you read a plist file from C?
Unless you're looking for a pure C solution which isn't dependent on
any Mac OS libraries, you could always use CFXMLParser and it's SAX
based callbacks.
If you can use CFXMLParser, you can use
Le 6 juil. 08 à 21:25, Stéphane Sudre a écrit :
Problem:
I would like/need to know the height that would be required to
render a string inside a fixed width box.
Solution that does not work:
So far, I've been using a solution found from a google
Le 5 juil. 08 à 14:08, Keith Blount a écrit :
Hi,
Something that has bothered me for ages in Cocoa, but which I've
always put to one side, is how to handle certain deprecated methods
when supporting more than one OS. In some instances it's as simple
as checking at runtime which OS is
Le 5 juil. 08 à 15:46, Keith Blount a écrit :
Many thanks for your reply, much appreciated. Where can I find
information on creating bundles and linking them only against a
certain OS? I'm obviously using the wrong search terms in both the
docs and in Cocoa-dev... Under the NSBundle
Le 5 juil. 08 à 15:56, Jean-Daniel Dupas a écrit :
Le 5 juil. 08 à 15:46, Keith Blount a écrit :
Many thanks for your reply, much appreciated. Where can I find
information on creating bundles and linking them only against a
certain OS? I'm obviously using the wrong search terms in both
Le 5 juil. 08 à 21:48, James Murdza a écrit :
- (BOOL)needsDisplay;
{
NSResponder* resp = nil;
Note that there's an extra semicolon on the first line.
This is a valid syntax in Obj-C. You can let the semicolon for method
implementation.
smime.p7s
Description: S/MIME
Le 6 juil. 08 à 00:43, Michael Moore a écrit :
I'm hoping someone might be able to assist me with this question.
I have a Cocoa application, with an embedded command-line tool in the
Resources folder. This tool is from an outside source, and I have no
source code available for it. When
Anyway, it does note make sense, as upgrading the view without
rewriting all the logic using Cocoa paradigms is probably not a good
idea.
Unlike Carbon nib, Cocoa nib are not just a set of interface object
with some property and flags, they also contains lots of information
about action,
Le 1 juil. 08 à 10:28, Толя Макаров a écrit :
dreamcat7
The process loginwindow is not shown In the list that is given by
the function sysctl. May be this process has another name. Do you
know anything about it?
Makarov Anatolii
Just curious about it. Why do you need to listen
Le 1 juil. 08 à 11:24, Толя Макаров a écrit :
Jean-Daniel Dupas.
I
want to know if loginwindow.app is started up at the moment, after
this my program enters a password. Sometimes I enter password myself
and my program should know that loginwindow.app has finished its
work.
Makarov
Макаров a écrit :
Thanks for the example. But GetBSDProcessList shows in the list
loginwindow, when it's on and doesn't work. The same works ps -ef.
- Исходное сообщение
От: Jean-Daniel Dupas [EMAIL PROTECTED]
Кому: Толя Макаров [EMAIL PROTECTED]
Копия: Apple cocoa cocoa-dev
search for singleton pattern (in the archives and in Apple doc too).
The simplest way to do it is (not thread safe):
@implementation Foo
+ (Bar *)sharedFoo {
static Foo *shardInstance = nil;
if (!sharedInstance)
sharedInstance = [[Foo alloc] init];
return sharedInstance;
}
@end
Le 2
Le 30 juin 08 à 16:20, Tommy Nordgren a écrit :
On 30 jun 2008, at 16.14, [EMAIL PROTECTED] wrote:
Hi
I'm writing my first project in Leopard and can't figure out how to
accomplish the old
Subclass NSObject/Generate Files/Instantiate series of steps in
Interface Builder 3.1.
I'm sure
Le 30 juin 08 à 17:27, Jens Alfke a écrit :
On 30 Jun '08, at 6:23 AM, Толя Макаров wrote:
Yes, that's clear, but how to get this list? I have found 2 ways: ps
-ef and [[NSWorkspace sharedWorkspace] launchedApplications].
There are underlying APIs that tools like ps and top use; you can
Le 30 juin 08 à 22:10, eblu a écrit :
Hi Chris,
I'm not terribly sure what you are asking for here. From my
experience (limited experience admittedly) theres really only one
way to use NSConnection.
its a pretty elegant class, which is simple, and works as expected,
except for when
Le 30 juin 08 à 22:19, Jean-Daniel Dupas a écrit :
Le 30 juin 08 à 22:10, eblu a écrit :
Hi Chris,
I'm not terribly sure what you are asking for here. From my
experience (limited experience admittedly) theres really only one
way to use NSConnection.
its a pretty elegant class, which
Le 30 juin 08 à 23:10, Owen Yamauchi a écrit :
Yes, I know, I shouldn't be linking against an Apple private
framework, but trust me, there's a reason for it.
Anyway, I'm having trouble building the project. I dragged my private
framework (DevToolsCore.framework) into Xcode and left all the
Le 27 juin 08 à 10:02, Uli Kusterer a écrit :
Am 27.06.2008 um 09:27 schrieb Omar Qazi:
On Jun 26, 2008, at 11:50 PM, Kevin Ferguson wrote:
I am not entirely sure as to what exactly a thread is, but seeing
as anything I've ever programmed is light weight, I've never
needed to worry before
Le 26 juin 08 à 11:26, Stefano Pigozzi a écrit :
Hello,
I'm modding Apple's RoundTransparentWindow sample in order to draw a
gradient overlay on all the screen (to fix the non uniform lighting
on my iMac's screen).
The applicazion works quite nicely but when I'm switching to another
Le 26 juin 08 à 14:53, Stefan Hafeneger a écrit :
Hi,
I would like to know how the __CGEvent (CGEventRef) struct is
defined, so if there is any possibility to attach some more data to
an low level event than through the functions defined CGEvent.h. Any
ideas?
With best wishes,
#include membership.h
uuid_t uuid;
mbr_uid_to_uuid(getuid(), uuid);
See man mbr_uid_to_uuid for details.
Or if you target 10.5 only, that maybe possible using the new Identity
API ( http://developer.apple.com/documentation/Networking/Reference/IdentityServices_RefCollection/index.html
)
Probably a private function.
Anyway, not really hard to implement:
#include pwd.h
mbr_user_name_to_uuid(const char *username, uuid_t uuid) {
struct passwd *info = getpwnam(username);
if (info)
mbr_uid_to_uuid(info-pw_uid, uuid);
}
Le 25 juin 08 à 13:38, Yoann GINI a écrit :
A friend
Le 25 juin 08 à 14:24, Papa-Raboon a écrit :
Hi All,
Anybody know where can I get some examples of if() conditionals
being used
with string variables in Objective-C?
To be specific, I am trying to use an if conditional to check the
value of a
string being a certain value and then
Wow, that one of the more complexe way i see to retreive it.
The former equivalent of GetCurrentEventTime() is -[NSEvent timestamp].
But if you need the uptime without using an event, you can use
mach_absolute_time() or UpTime() (from the CoreServices framework).
Le 24 juin 08 à 15:00,
Sorry, it look easy with sysctl too.
That just that I had some bad experiences with sysctl to retreive some
poorely documented values and structs.
Le 24 juin 08 à 15:07, Jean-Daniel Dupas a écrit :
Wow, that one of the more complexe way i see to retreive it.
The former equivalent
Le 23 juin 08 à 13:37, Devraj Mukherjee a écrit :
Hi everyone,
I wondering if OSX Server components like iCal server or Address Book
server (which I assume is LDAP based) have Cocoa libraries to
populate/query data. I am trying to construct a Cocoa application but
wish to re-use as much of
Launch it with the debugger and check the stack when it crash.
Without any hint about the stack, we cannot really help you, but just
give you some guess.
Le 22 juin 08 à 23:26, Clayton Leitch a écrit :
See code below. Get a error of “EXC_BAD_ACCESS” when I make entries
in the GUI. Code
You don't want to change the path, you want to change the id of your
library.
-change is intended to be used to change the path of a dependent
library in an other binary.
install_name_tool -id @executable_path../../Frameworks/Foo.framework/
Versions/A/Foo Foo.framework/Foo
But as I
Le 20 juin 08 à 06:09, Ken Thomases a écrit :
On Jun 19, 2008, at 10:39 PM, Jens Alfke wrote:
It might not be a bad idea to proactively disarm this vulnerability
on your own machine(s), as I just did:
sudo chmod -s System/Library/CoreServices/RemoteManagement/
ARDAgent.app/ARDAgent
Le 19 juin 08 à 10:32, Fred Leboucher a écrit :
Hi,
I'm trying to do something that was discussed before in the Carbon
lists :
convert a HID keyboard usage to a unicode character, with the
current modifier
keys applied, and using the system-wide selected keyboard layout.
This technical
That's why you should basically never link on high-level framework
with a setuid tools.
Le 19 juin 08 à 20:48, Charles Steinman a écrit :
This is in fact a Cocoa vulnerability, so it seems relevant to this
list. All Cocoa applications automagically come with rudimentary
AppleScript
Le 19 juin 08 à 23:02, Kyle Sluder a écrit :
On Thu, Jun 19, 2008 at 4:40 PM, Martin [EMAIL PROTECTED]
wrote:
And as you can see, nothing has changed and the first line has
certainly not
been replaced by bla. What am I doing wrong?
Shouldn't you be using the -id flag, not -change?
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
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
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
Le 15 juin 08 à 13:25, Mohsan Khan a écrit :
Hi
I'm trying to to install kEventAppSystemUIModeChanged using
NSAppleEventManager, so that my app will know when the menubar
dock is hidden i.e. some other app enters fullscreen mode.
I've tried entering fullscreen mode using VLC and
Le 15 juin 08 à 17:38, Jason Stephenson a écrit :
Whoops! Had a brain fart.
In my previous message where I say @interface, I meant to say
@implemenation. Sorry for any confusion.
Got too much going on today. I should have just stayed away from
email.
--Jason
In Obj-C, the concept of
Le 15 juin 08 à 18:15, Mohsan Khan a écrit :
Hi
I'm trying to handle when some other app changes to fullscreen by
handling the kEventAppSystemUIModeChanged event.
The event handler is called but then when I check if the menu bar is
visibe I get TRUE!
So I figured, either the apps I'm
Le 14 juin 08 à 16:43, Dex Morgan a écrit :
Hello,
I need to encode a quoted-printable text and convert it to given
encoding according to the headers of a message.
I've used some code but the result is wrong.
For example =C3=A8 should be 'è' but the result is two symbols (the
sqrt symbol
Le 14 juin 08 à 18:40, Loren Ryter a écrit :
On 06/14/08 12:17 PM, Graham Cox [EMAIL PROTECTED] wrote:
BOOL* means pointer to BOOL not BOOL itself. So you need to remove
the *.
This worked brilliantly thanks a lot! I literally spent 3 hours on
that ;-)
iconData:[NSImage
Le 13 juin 08 à 20:47, Philip Lee Bridson a écrit :
Hi Guys,
I have a window that displays an image, I want the window to be
transparent so that only the image is displayed and not have the
white background that is present due to the window. I have tried sub-
classing NSWindow and making
Le 12 juin 08 à 19:21, Jeff LaMarche a écrit :
Lately, I've started to see accessors of the following sort:
- (NSString *)foo
{
return [[foo retain] autorelease];
}
rather than just
- (NSString *)foo
{
return foo;
}
What is the purpose or benefit of doing this? It seems to
Le 11 juin 08 à 09:01, John Engelhart a écrit :
On Jun 10, 2008, at 11:28 AM, Charles Srstka wrote:
I think the problem is that if NSArray has +[NSArray array]
returning an NSArray, then NSMutableArray has to return an NSArray
also, since it can't have a different method signature for
Le 9 juin 08 à 09:56, John Engelhart a écrit :
On Jun 8, 2008, at 11:48 PM, Chris Hanson wrote:
On Jun 8, 2008, at 5:39 PM, John Engelhart wrote:
On Jun 7, 2008, at 7:11 PM, Chris Hanson wrote:
This won't happen because each message expression -- just as with
function-call expressions
Le 8 juin 08 à 12:43, Michael Ash a écrit :
On Sun, Jun 8, 2008 at 1:48 AM, Peter Duniho [EMAIL PROTECTED] wrote:
So, when you write true proxying of method invocations, what does
that
mean, exactly?
Distributed Objects is probably the best example in terms of
real-world use of a
Le 8 juin 08 à 20:13, Brent Fulgham a écrit :
I've been enjoying the NSArray/NSMutableArray classes as I work with
various user interface features for a program I'm working on that
interacts with a legacy C++ library.
I've recently begun considering how to efficiently display the
Le 8 juin 08 à 20:51, Joan Lluch (casa) a écrit :
El 08/06/2008, a las 20:13, Brent Fulgham escribió:
I've been enjoying the NSArray/NSMutableArray classes as I work
with various user interface features for a program I'm working on
that interacts with a legacy C++ library.
I've
my
viewcontroller to viewcontroller.mm, it didn't work. I searched
google, ADC, and cocoadev.com, and really couldn't find an answer.
Cheers,
Tang
2008/6/6 Jean-Daniel Dupas [EMAIL PROTECTED]:
Le 6 juin 08 à 16:53, Tang Ke a écrit :
Hi,
I'm new to iphone os programming and my project
Le 4 juin 08 à 01:00, Scott Anguish a écrit :
On Jun 3, 2008, at 5:02 AM, Hamish Allan wrote:
I don't even know what the Cocoa interface to the Apple Remote is,
let
alone having used it, let alone being able to troubleshoot it, and I
don't imagine everyone here is an expert either...
Le 4 juin 08 à 04:13, Ken Thomases a écrit :
On Jun 3, 2008, at 8:49 PM, David Hoerl wrote:
ret = [manager createFileAtPath:@/tmp/binary.plist
contents:plist attributes:nil];
You can also do [plist writeToFile:...] to write the data object
out. There's nothing wrong with what you
Le 4 juin 08 à 16:10, colo a écrit :
Just curious if some frameworks have been thought of for Animation. In
the likes of Jquery or others. For example
window.show(fade_in, slow);
That way animations can be very clean and simple to write and test.
Isn't what CoreAnimation does ?
Why the replacement should be Cocoa ?
Actualy, the successor of KL Services are Text Input Source
Services.
http://developer.apple.com/documentation/TextFonts/Reference/TextInputSourcesReference/Reference/reference.html
Le 3 juin 08 à 05:49, Charles Jenkins a écrit :
Hi! I'm looking to
Note that you should never run a GUI application with elevated
provilege, particulary an application that uses AppKit, this is EVIL.
See man authopen(1). This is built-in an helper tool design to read
and write file using auth services. It handle all the authorization
part for you.
And
BezelServices is not used to control ALS but to display visual
notification like the one you see when you change the audio volume, or
when you press the eject key.
Le 3 juin 08 à 20:58, Gabriel ROUSSEAU a écrit :
Hi,
There is one thing that should be accessible from UserDefaults or by
Le 3 juin 08 à 21:24, David Hoerl a écrit :
I'm using [NSDictionary writeToFile:...] to save a fairly large
dictionary as a text plist file. I found a quick and dirty hack to
convert it into a binary formatted file:
strcpy(command, /usr/bin/plutil -convert binary1 );
strcat(command,
Le 31 mai 08 à 19:14, Torsten Curdt a écrit :
On May 31, 2008, at 18:55, Jens Alfke wrote:
On 31 May '08, at 8:07 AM, Torsten Curdt wrote:
I think you want to schedule the connection for the
NSModalPanelRunLoopMode runloop mode. This is the mode that is
used for modal windows.
You
Le 29 mai 08 à 06:58, Scott Anguish a écrit :
On May 28, 2008, at 11:31 PM, Kyle Sluder wrote:
Hi,
This is more a question for Tech Pubs or DTS than anyone, I guess,
but
are there/will there be developer release notes for 10.5.3? Can
anyone confirm any previous show-stoppers are fixed
Le 29 mai 08 à 20:25, Paul Archibald a écrit :
Comrades,
-- Newbie Alert --
This is my first posting to this list, and has to do with my first
foray into Cocoa + ObjC + Interface Builder. I am trying to
understand the relationships between resource elements in the NIB
and the ObjC code
Le 27 mai 08 à 20:17, Gorazd Krosl a écrit :
Greetings,
I am having trouble with something that should be pretty
basic..
What I would like to do is set the action for NSButton
programmatically where the selector is a variable.
I can't seem to find an example.
[aButton addTarget:self
Le 22 mai 08 à 12:57, Keith Duncan a écrit :
is there a way to tell if my executable was launched by/attached to
some other process?
You can use ptrace(2) with the PT_DENY_ATTACH request to prevent
anyone from attaching and will kill the process if it is already
being traced.
See
I think face-to-face is an important part to overcome the
obstacles. And this will become easier the more popular it gets.
Amen. I can't tell you how much I sometimes hate having moved away
from the SF Bay Area where there are many Cocoa Programmers, and
there are NSCoder nights, and
Be patient, the official discutable iPhone SDK is annonced for the
next month (probably a couple of weeks now).
The time your letter reaches Apple, it will no longer be under NDA.
Le 21 mai 08 à 18:18, Ilan Volow a écrit :
I keep thinking that all the energy spent on the list discussing the
It's an inline fonction, so code compiled using this function will
properly work on pre 10.5 versions of the OS.
Le 19 mai 08 à 08:34, Graham Cox a écrit :
Yes, it's not available pre 10.5
G.
On 19 May 2008, at 4:31 pm, Andrew Merenbach wrote:
Is there any reason to use the cast on
801 - 900 of 1035 matches
Mail list logo