This is a great news! I hope is not because Apple got too scared of Android :D
chr
On Wed, Oct 1, 2008 at 4:45 PM, Marc Stibane <[EMAIL PROTECTED]> wrote:
> http://developer.apple.com/iphone/program/
>
> Will there be an iPhone list or can we post questions here?
>
>
> --
>
> In a world without
That's bad, I need also to call super mouseDown:, to manage selection of the
object (visually and into the controller bounded to core data). I also
worked a lot on this and it would be a pity to just drop it because I can't
use drag and drop (that is fundamental in my app). :(
The problem is that N
On 1 Oct 2008, at 18:25, Shawn Protsman wrote:
I finally decided to take a dive into Objective-C with Xcode. I'm
looking at the iPing example in Hillegass' latest book, Cocoa
Programming. iPing works fine as coded in the book. Next, I decided
to replace `ping` with a binary I wrote called `
On Wed, Oct 1, 2008 at 12:25 PM, Shawn Protsman <[EMAIL PROTECTED]> wrote:
> 'Build and Go' compiles clean but upon entering a number, like 1 in
> hostField, and then clicking 'Start' results in the 'Debugger Console' going
> to gdb. With the above modification, I can return setLaunchPath to
> /sbi
How about using a NSSlider?
On 02-Oct-08, at 7:43 AM, James Walker wrote:
Is it possible to use a scroller without a scroll view? The first
problem is that IB won't let me create an NSScroller that is not
embedded in an NSScrollView. I guess I could shrink down the
NSScrollView so that y
Thanks for the help..
On Fri, Sep 19, 2008 at 2:15 AM, Bob Clark <[EMAIL PROTECTED]> wrote:
> I found this page to be helpful:
>
> http://developer.apple.com/qa/qa2001/qa1133.html
>
> It's about the currently-logged in user, but the MyNotificationProc
> callback is called for a lot of changes, in
>Yes, I see what you mean there. It looks suspicious without the rest
>of the code. Here is the entire method (without the logging)
>
>- (BOOL)scanUpToAndThenLeapOverString:(NSString*)stopString
>intoString:(NSString**)stringValue {
> [self scanUpToString:stopStr
On Oct 1, 2008, at 1:25 PM, Shawn Protsman wrote:
Here is the project code for the startStopPing method (the relevant
part that I think I should change) of iPing:
task = [[NSTask alloc] init];
[task setLaunchPath:@"/sbin/ping"];
NSArray *args = [NSArray arrayWithObj
Hi Daniel, thanks for answering,
I guess my question was unclear, so I'm going to sum it up: How do I (with
Core Data) implement Copying and pasting within my application ?
Your message made me realise that I assumed I had to use the system
Pasteboard. But as long as data remains within my appl
On Thu, Oct 2, 2008 at 9:20 AM, Joe Keenan <[EMAIL PROTECTED]> wrote:
>
> On Oct 1, 2008, at 1:25 PM, Shawn Protsman wrote:
>
> NSArray *args = [NSArray arrayWithObject:[hostField stringValue]];
>>
>
> You forgot the nil argument at the end of the array.
-arrayWithObject: doesn't need on
On Oct 2, 2008, at 10:01 AM, Sherm Pendley wrote:
On Thu, Oct 2, 2008 at 9:20 AM, Joe Keenan <[EMAIL PROTECTED]>
wrote:
On Oct 1, 2008, at 1:25 PM, Shawn Protsman wrote:
NSArray *args = [NSArray arrayWithObject:[hostField
stringValue]];
You forgot the nil argument at the end of t
could it be that [hostField stringValue] is not an object ? isn't
"stringValue" just a value ?
On Oct 2, 2008, at Thu-10 /02 /08-10:06 AM, Joe Keenan wrote:
On Oct 2, 2008, at 10:01 AM, Sherm Pendley wrote:
On Thu, Oct 2, 2008 at 9:20 AM, Joe Keenan <[EMAIL PROTECTED]>
wrote:
On Oct 1,
On Wed, Oct 1, 2008 at 10:13 PM, James Walker <[EMAIL PROTECTED]> wrote:
> Is it possible to use a scroller without a scroll view? The first problem
> is that IB won't let me create an NSScroller that is not embedded in an
> NSScrollView. I guess I could shrink down the NSScrollView so that you o
On Oct 2, 2008, at 8:12 AM, Jack Carbaugh wrote:
could it be that [hostField stringValue] is not an object ? isn't
"stringValue" just a value ?
That doesn't seem likely. In all likelihood the "hostField" variable
points to a NSTextField, in which case "stringValue" returns an
instance o
Hi
I'd like to programmatically mov to trash a file from an afp mounted
volume. I have been using NSWorkspace with
NSWorkspaceRecycleOperation but it fails (tag returned is -1).
Is there a way to get a more exact description of the error?
I tried to move to FSPathMoveObjectToTrashSync and
On Oct 2, 2008, at 11:13 AM, Michael Ash wrote:
On Wed, Oct 1, 2008 at 10:13 PM, James Walker
<[EMAIL PROTECTED]> wrote:
Is it possible to use a scroller without a scroll view? The first
problem
is that IB won't let me create an NSScroller that is not embedded
in an
NSScrollView. I guess
Hey there,Is there a way to figure out what username was used to log on to a
mounted volume by knowing the volume name?
Thanks,
mark
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the li
On Oct 2, 2008, at 8:13 AM, Michael Ash wrote:
On Wed, Oct 1, 2008 at 10:13 PM, James Walker
<[EMAIL PROTECTED]> wrote:
I suppose someone is sure to ask why I can't use NSScrollView. I'm
doing a
kind of scrolling that isn't just shifting a view around. Some
members are
arranged in two r
On Oct 1, 2008, at 8:53 PM, Clark Cox wrote:
On Wed, Oct 1, 2008 at 7:13 PM, James Walker
<[EMAIL PROTECTED]> wrote:
Is it possible to use a scroller without a scroll view? The first
problem
is that IB won't let me create an NSScroller that is not embedded
in an
NSScrollView.
Just inst
On Oct 2, 2008, at 6:30 PM, Mark McCray wrote:
Hey there,Is there a way to figure out what username was used to log
on to a
mounted volume by knowing the volume name
Yes.
With statfs:
uid_t f_owner;/* user that mounted the file system */
you then just need to transform the uid to a
Folks,
Disclaimer: I have no idea what I am talking about.
I have been asked to increase the "security level" of our WebView-based
browser windows. I guess that on a pc/IE, you can somehow set the security
level to prevent things like injection attacks and stuff like that? Again,
I have no idea
On Sep 29, 2008, at 5:36 PM, Corbin Dunn wrote:
On Sep 29, 2008, at 10:55 AM, Jonathan Oddie wrote:
Hi all,
I'm new on this list -- teaching myself Cocoa programming by
writing a small utility as a Core Data document-based application.
Mostly I have everything working well, but there is
whoops.. should reply to all.. sorry Joe.
anyway, i asked, and this may be a silly inquiry, but have you checked
the execute permissions of the executable?
On Oct 2, 2008, at 10:06 AM, Joe Keenan wrote:
On Oct 2, 2008, at 10:01 AM, Sherm Pendley wrote:
On Thu, Oct 2, 2008 at 9:20 AM, Joe
On Oct 1, 2008, at 5:35 AM, Oleg Krupnov wrote:
In my application, I create a (single) background thread, for creating
thumbnail images. I use NSRunLoop and - [NSObject
performSelector:onThread:withObject:waitUntilDone:] to communicate
between the main and the background threads.
I am experienci
On Oct 1, 2008, at 9:17 AM, Ashley Clark wrote:
As for your crashes I think I can offer some advice. If you're not
doing
any mallocs then most likely you're passing objects back to your main
thread through some shared space, possibly via contextInfo:
Yes -- this can be a problem. If the con
Thanks for the advice Corbin. Below is a long backtrace, but I am
not sure it sheds much light on the problem. I will keep working at
it but since I am moving house this week I may not get much done for
a while...
Jonathan
This is an interesting backtrace. What image do you have set o
On Oct 2, 2008, at 10:58 AM, David Springer wrote:
I have been asked to increase the "security level" of our WebView-
based
browser windows. I guess that on a pc/IE, you can somehow set the
security
level to prevent things like injection attacks and stuff like that?
Again,
I have no idea
I have a single nsview that draws the main content area for my application
and a bottom statusbar. This was done instead of using two different views
so the user can move objects from the statusbar to the main content area,
all with core animation effects. The view is not opaque. The problem I'm
ha
On Oct 2, 2008, at 12:28 PM, Bill Bumgarner wrote:
On Oct 1, 2008, at 9:17 AM, Ashley Clark wrote:
As for your crashes I think I can offer some advice. If you're not
doing
any mallocs then most likely you're passing objects back to your main
thread through some shared space, possibly via cont
On Oct 2, 2008, at 8:41 AM, Laurent Cerveau wrote:
Hi
I'd like to programmatically mov to trash a file from an afp mounted
volume. I have been using NSWorkspace with
NSWorkspaceRecycleOperation but it fails (tag returned is -1).
Is there a way to get a more exact description of the error?
WebViews don't have a "security level" in the sense of IE; if the
client (your app) wishes to apply certain security measures, it can do
so by using setting the WebPreferences object of the web view to allow/
disallow javascript, java, allow/disallow plugins (all or nothing),
and the client
Hi List,
What is the best way to re-insert a deleted object back in to the
managed object context?
At present i'm trying to this:
if ([objectToReinstate validateForInsert:&error])
[[self managedObjectContext] insertObject:objectToReinstate];
But i am having problems with objects having relat
I'm working through the XSViewController example project from KATIDev
and I came across this line:
[(ColorView*)[self view] setBackgroundColor:[[NSColor greenColor]
colorWithAlphaComponent:.5]];
and realized I don't understand (ColorView*). It looks like it's
declaring a pointer to an o
On Oct 2, 2008, at 2:43 PM, Brad Gibbs wrote:
I'm working through the XSViewController example project from
KATIDev and I came across this line:
[(ColorView*)[self view] setBackgroundColor:[[NSColor greenColor]
colorWithAlphaComponent:.5]];
and realized I don't understand (ColorView*). I
On Oct 2, 2008, at 3:43 PM, Brad Gibbs wrote:
I'm working through the XSViewController example project from
KATIDev and I came across this line:
[(ColorView*)[self view] setBackgroundColor:[[NSColor greenColor]
colorWithAlphaComponent:.5]];
and realized I don't understand (ColorView*).
At 12:03 -0700 02/10/08, [EMAIL PROTECTED] wrote:
>From: "Daniel Weber" <[EMAIL PROTECTED]>
>Date: Thu, 2 Oct 2008 11:15:40 -0700
>Message-ID: <[EMAIL PROTECTED]>
>
>I have a single nsview that draws the main content area for my application
>and a bottom statusbar. This was done instead of using tw
On Thu, Oct 2, 2008 at 2:10 AM, chaitanya pandit <[EMAIL PROTECTED]> wrote:
> How about using a NSSlider?
NSSlider is the wrong control for this job. A slider is for adjusting
a single numerical value, not for scrolling through a list of data.
>
> On 02-Oct-08, at 7:43 AM, James Walker wrote:
>
>
On 03-Oct-08, at 3:23 AM, Harry Jordan wrote:
If deleting the objects was the last action that you did, you could
simply call -undo on the managedObjectContext. There may well be
reasons why this wouldn't be appropriate, but it's worth a look.
Actually thats the first thing that came to my
On Oct 2, 2008, at 11:46 AM, Ashley Clark wrote:
Looking at your other email to the list about this I think my issue
was that I was passing the objects to a delegate method using an
NSInvocation object and then in that delegate method sending them on
to the main thread through a contextInfo
On 02-Oct-08, at 10:09 PM, James W. Walker wrote:
On Oct 1, 2008, at 8:53 PM, Clark Cox wrote:
On Wed, Oct 1, 2008 at 7:13 PM, James Walker
<[EMAIL PROTECTED]> wrote:
Is it possible to use a scroller without a scroll view? The first
problem
is that IB won't let me create an NSScroller th
On 2008 Oct, 02, at 4:54, Karan, Cem (Civ, ARL/CISD) wrote:
I'm coming into this late, but are you positive you never
accidentally pass in NULL like so:?
[blah scanUpToAndThenLeapOverString:@"someString" intoString:NULL];
Well, Cem actually I am passing it NULL, which then gets pas
Mr. Gecko wrote:
Ok I now read everything in the programming guide for Scripting Bridge
and it is really cool, Now I can't seem to find out how to play a
playlist from a name id or anything.
If you know how to write an application command in AppleScript, e.g.:
tell application "iTune
Michael Ash wrote:
On Wed, Oct 1, 2008 at 10:16 PM, Mr. Gecko <[EMAIL PROTECTED]>
wrote:
I think I would just use this AppleScript call
[[[NSAppleScript alloc] initWithSource:[NSString
stringWithFormat:@"tell
application \"iTunes\" to play playlist \"[EMAIL PROTECTED]"", [self
replace:@"\"
Hello I am making a simple table view in a window that pops up when
someone presses a key and I am needing to have keyboard and click
control with it. When someone clicks a row and when someone presses
return I want it to call my code which will close that window and do
something with that
I think I'll stick with AppleScript
On Oct 2, 2008, at 5:35 PM, has wrote:
Michael Ash wrote:
On Wed, Oct 1, 2008 at 10:16 PM, Mr. Gecko <[EMAIL PROTECTED]>
wrote:
I think I would just use this AppleScript call
[[[NSAppleScript alloc] initWithSource:[NSString
stringWithFormat:@"tell
appli
On Thu, Oct 2, 2008 at 6:45 PM, Mr. Gecko <[EMAIL PROTECTED]> wrote:
> I think I'll stick with AppleScript
If you do, you're dependent on the AppleScript parser, which is an
awfully hefty dependency when you know precisely what Apple Events you
want to send. Your software quality will be much imp
On Thu, Oct 2, 2008 at 6:40 PM, Mr. Gecko <[EMAIL PROTECTED]> wrote:
> Hello I am making a simple table view in a window that pops up when someone
> presses a key and I am needing to have keyboard and click control with it.
> When someone clicks a row and when someone presses return I want it to c
On Oct 2, 2008, at 11:55 AM, Corbin Dunn wrote:
Thanks for the advice Corbin. Below is a long backtrace, but I am
not sure it sheds much light on the problem. I will keep working at
it but since I am moving house this week I may not get much done
for a while...
Jonathan
This is an
Hello,
I have an application that needs to be able to write to a protected
directory (either Library/Application Support/ or Applications/
depending on the case). I've separated out all writing operations to
a separate application, which currently is run using NSTask.
I've read the "Perf
I'm having difficulty synchronously launching an application, as
documented at the bottom of http://developer.apple.com/documentation/Carbon/Conceptual/LaunchServicesConcepts/LSCConcepts/chapter_2_section_6.html
. I've attempted using both -[NSWorkspace
launchAppWithBundleIdentifier:options:ad
I'm using CoreData for some internal state management that sometimes
requires an undo boundary in a specific place. In other words, I need
something along these lines to work:
NSManagedObject *object = [self getObjectFromSomewhere];
NSManagedObjectContext *context = [object managedObjectCont
On Oct 2, 2008, at 1:30 PM, Kelly Graus wrote:
Is the only way to allow a user to write to a protected location use
the AuthorizationExecuteWithPrivileges function?
Yes. AEWP() is most certainly not deprecated.
If so, is there a way to tell when the application has quit, and get
the exit
Hi Mr. Gecko,
For clicking (and just clicking), do your code in the -action. For
return, override -keyDown: and look for the appropriate code.
corbin
On Oct 2, 2008, at 3:40 PM, Mr. Gecko wrote:
Hello I am making a simple table view in a window that pops up when
someone presses a key and
On Oct 2, 2008, at 12:30 PM, Kelly Graus wrote:
Is the only way to allow a user to write to a protected location use
the AuthorizationExecuteWithPrivileges function?
If so, is there a way to tell when the application has quit, and get
the exit code?
If not, how would I go about getting suffici
I know but I can't find out the AppleEvent for Play Playlist.
Is there some sort of a program that will parse the AppleScript and
make an cocoa AppleEvent code.
On Oct 2, 2008, at 6:09 PM, Kyle Sluder wrote:
On Thu, Oct 2, 2008 at 6:45 PM, Mr. Gecko <[EMAIL PROTECTED]> wrote:
I think I'll s
That worked perfectly.
Thanks,
Mr. Gecko
On Oct 2, 2008, at 8:00 PM, Corbin Dunn wrote:
Hi Mr. Gecko,
For clicking (and just clicking), do your code in the -action. For
return, override -keyDown: and look for the appropriate code.
corbin
On Oct 2, 2008, at 3:40 PM, Mr. Gecko wrote:
Hell
On Thu, Oct 2, 2008 at 12:34 PM, James W. Walker <[EMAIL PROTECTED]> wrote:
>
> On Oct 2, 2008, at 8:13 AM, Michael Ash wrote:
>
>> On Wed, Oct 1, 2008 at 10:13 PM, James Walker <[EMAIL PROTECTED]>
>> wrote:
>>>
>>> I suppose someone is sure to ask why I can't use NSScrollView. I'm doing
>>> a
>>>
On Thu, Oct 2, 2008 at 6:24 PM, Jerry Krinock <[EMAIL PROTECTED]> wrote:
> Well, Cem actually I am passing it NULL, which then gets passed as the
> second argument to -[NSScanner scanUpToString:intoString], but according to
> the documentation NULL is OK there, and I've been doing it for years.
In
Peter,
I'm using CoreData for some internal state management that sometimes
requires an undo boundary in a specific place. In other words, I need
something along these lines to work:
NSManagedObject *object = [self getObjectFromSomewhere];
NSManagedObjectContext *context = [object managedObjec
On Thu, Oct 2, 2008 at 6:35 PM, has <[EMAIL PROTECTED]> wrote:
> Michael Ash wrote:
>
>> On Wed, Oct 1, 2008 at 10:16 PM, Mr. Gecko <[EMAIL PROTECTED]> wrote:
>>>
>>> I think I would just use this AppleScript call
>>> [[[NSAppleScript alloc] initWithSource:[NSString stringWithFormat:@"tell
>>> appl
On Thu, Oct 2, 2008 at 9:52 PM, Mr. Gecko <[EMAIL PROTECTED]> wrote:
> I know but I can't find out the AppleEvent for Play Playlist.
> Is there some sort of a program that will parse the AppleScript and make an
> cocoa AppleEvent code.
Not quite, but you can get pretty close. Go to the section tit
On Oct 2, 2008, at 21:20 , Bill Bumgarner wrote:
On Oct 2, 2008, at 12:30 PM, Kelly Graus wrote:
Is the only way to allow a user to write to a protected location
use the AuthorizationExecuteWithPrivileges function?
If so, is there a way to tell when the application has quit, and
get the exi
On Oct 2, 2008, at 8:20 PM, Jason Coco wrote:
On Oct 2, 2008, at 21:20 , Bill Bumgarner wrote:
On Oct 2, 2008, at 12:30 PM, Kelly Graus wrote:
Is the only way to allow a user to write to a protected location
use the AuthorizationExecuteWithPrivileges function?
If so, is there a way to tell whe
On Thu, Oct 2, 2008 at 2:50 PM, Randall Meadows <[EMAIL PROTECTED]> wrote:
> On Oct 2, 2008, at 3:43 PM, Brad Gibbs wrote:
>
>> I'm working through the XSViewController example project from KATIDev and
>> I came across this line:
>>
>>[(ColorView*)[self view] setBackgroundColor:[[NSColor gr
Hi Bill,
Thanks for the response!
This is the intended functionality. We are allowing a user to install
system-wide content to our application. We also have the ability for
users to install content for a single user with admin privileges.
Kelly
On Oct 2, 2008, at 7:20 PM, Bill Bumgarner
Greetings, Kelly!
For this particular purpose, would it be possible to use a package
(.pkg) installer? You can allow the user to choose between
destinations, and such installers handle the authorization for you.
If you intend to allow the content to be installed for the application
from
No I won't be able to use EyeTunes I looked, I had to add some of my
own functions into it to make it do what I wanted with volumes. so I
may add the play playlist function to it when I find out how I can do
it with AppleEvent.
___
Cocoa-dev maili
On Oct 2, 2008, at 6:23 PM, Nick Zitzmann wrote:
On Oct 2, 2008, at 1:30 PM, Kelly Graus wrote:
Is the only way to allow a user to write to a protected location
use the AuthorizationExecuteWithPrivileges function?
Yes. AEWP() is most certainly not deprecated.
Ok, I will look into using
Hi
I need to create an interface with collapsible views (much like those
in InterfaceBuilder's "inspector" palette) and am having a hard time
figuring out what exactly to use as the base in IB 3.0. In older
versions of IB, there was a "panel" view which allowed for this stuff,
but that ap
On Oct 2, 2008, at 9:30 PM, Kelly Graus wrote:
Hi Bill,
Thanks for the response!
This is the intended functionality. We are allowing a user to
install system-wide content to our application. We also have the
ability for users to install content for a single user with admin
privileges.
On 03/10/2008, at 2:52 PM, Ken Tozier wrote:
Hi
I need to create an interface with collapsible views (much like
those in InterfaceBuilder's "inspector" palette) and am having a
hard time figuring out what exactly to use as the base in IB 3.0. In
older versions of IB, there was a "panel"
Thanks for that, All i'll have to do now is find out how it puts
together the AppleEvent and than I can add it to EyeTunes as an
function.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comment
On 03/10/2008, at 7:43 AM, Brad Gibbs wrote:
and realized I don't understand (ColorView*). It looks like it's
declaring a pointer to an object, but it's followed by a method.
Could somebody tell me the name of the function (ColorView*) is
performing so I can look it up and figure it out?
73 matches
Mail list logo