but that didn't appear to make any
difference.
If I don't launch the window using runModalForWindow: and simply use
makeKeyAndOrderFront:, everything works as expected.
Has anyone run into this before?
Kevin
___
Cocoa-dev mailing list
nsient property gets called
during faulting.
Kevin
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscr
Does the window have any content?
Kevin
On Nov 10, 2009, at 11:09 PM, kentoz...@comcast.net wrote:
Hi
I'm writing a custom borderless window class and am finding that the
shadow doesn't appear. Here's a bare bones implementation that shows
the problem.
- (id) initW
ear to make any difference.
If I don't launch the window using runModalForWindow: and simply use
makeKeyAndOrderFront:, everything works as expected.
- Kevin
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin r
have confirmed that undo/redo is getting called on the temporary
MOC's undo manager as I can have changes in the main window, none of
which are affected if I undo/redo in the modal window.
Kevin
On Nov 16, 2009, at 12:40 PM, Keary Suska wrote:
On Nov 16, 2009, at 10:34 AM, Kevin wrote:
On Nov 16, 2009, at 1:12 PM, Kyle Sluder wrote:
On Mon, Nov 16, 2009 at 10:50 AM, Kevin
wrote:
I have confirmed that undo/redo is getting called on the temporary
MOC's
undo manager as I can have changes in the main window, none of
which are
affected if I undo/redo in the modal w
. I'm perplexed as to why the undo
manager behaves this way. I've read the docs over and over again and
aside from setRunLoopModes: method, which I'm calling with
NSModalPanelRunLoopMode, there's no mention of any special
considerations when using it with modal window
userInfo:nil
repeats:NO];
[inactivityTimer retain];
}
- (void)stopTimer
{
if ( inactivityTimer == nil )
return;
[inactivityTimer invalidate];
[inactivityTimer release], inactivityTimer = nil;
}
- Kevin
___
Cocoa-dev mailing
f the placeholder view in the window. None of it helps.
I kind of feel like the view/window needs to be nudged/kicked in some way to
achieve the same result that I get when resizing the window using the mouse,
but I'm currently at a loss.
Thoughts, help please.
Kevin
I sent the following just before Christmas and haven't had any response.
Hopefully now it is a New Year there will be more people around and someone can
help.
Kevin
Hi,
I am having trouble with the edit text bounding box for both a NSTextFieldCell
and a ImageAndTextCell. The cells are
t and collecting data to stay running even if the app
displaying the results dies. When the user restarts the application it connects
to the still running service.
Kevin
Sent from my iPad
> On 16 Sep 2015, at 22:28, Jean Suisse wrote:
>
>
>> But I agree that this all (meaning th
I believe the CoreText attributes should work.
The attribute key of kCTFontTraitsAttribute with a value of TraitCondensed
might do the trick.
Kevin
> On 8 Oct 2015, at 00:01, David Hoerl wrote:
>
> I'd like to do is get a condensed - or better yet - a bold (semi-bold)
> con
. But that might be
slower than just recreating the CIContext each time.
Kevin
> On 27 Nov 2015, at 13:39, thatsanicehatyouh...@me.com wrote:
>
> Hi,
>
> I have an NSImageView with a custom drawing routine. It works as expected
> most of the time, but sometimes the image is not
This may be relevant, though it does talk about issues with pref panes as well.
http://mjtsai.com/blog/2016/03/31/gatekeeper-bug-in-mac-os-x-10-11-4/
> On 7 Apr 2016, at 15:13, Trygve Inda wrote:
>
> My app is built on 10.11.3. It is a prefPane with one command line tool and
> three app bundles
NSSavePanelDelegate is probably the approach you want to take, with
-[NSDocument prepareSavePanel:] being the most convenient means of inserting
your delegate.
> On Feb 10, 2017, at 9:41 AM, Quincey Morris
> wrote:
>
> On Feb 10, 2017, at 08:12 , Trygve Inda wrote:
>>
>> I would like to dis
I think you might need objc_getMetaClass.
See https://github.com/nst/RuntimeBrowser/blob/master/model/ClassDisplay.m
For how it is used.
Kevin
On 26 Aug 2014, at 15:06, Alex Zavatone wrote:
> I've been using the obj runtime to dump class methods, protocols, Ivars and
> pro
NSUserDirectory refers to the “Users” directory, which exists only in the
“System” domain (“/Users"). The “User” domain is the home directory (“~”). The
combination of NSUserDirectory and NSUserDomainMask results in a nonsensical
and nonexistent path (“~/Users”) so it returns nil/empty instead.
associated
objects/references. I'm not comfortable with this solution, it feels too much
like a hack so I'm asking a couple of questions before going ahead.
Is there an alternative less hacky solution I've missed?
Am I being too cautious about
as a name and a filter attribute. This
way I get the behaviour I need and it works for both iOS and OS X. Nothing
clever about it but it's nice having a common solution for both.
Kevin
On 7 Oct 2014, at 16:00, Jens Alfke wrote:
>
>> On Oct 7, 2014, at 1:09 AM, Kevin Meaney wrote
optimizing to keep the system and their
application responsive whilst getting stuff done with as little overhead as
possible which implies fewer concurrent operations not more. Also you don't
always know when a operation you spawn might start some task that then spawns
more concurrent operations.
On 10 Oct 2014, at 17:40, Scott Ribe wrote:
> On Oct 10, 2014, at 10:20 AM, Kevin Meaney wrote:
>
>> Now I've been optimizing to maximize throughput for processing image files...
>
> Things depend VERY much on what exactly you're doing. I've optimized for
ostly a description of my experiments
and their results to determining when objects end up in the autorelease pool so
that they are kept alive when you think you have no more strong links to them.
http://blog.yvs.eu.com/2013/05/experimental-arc/
I hope you find these helpful.
Kevin
On 15 Oct
a long way off. There's an extra () in there and an extra !? at the
end that I really don't know how to interpret. Also I don't know how to convert
the result of CGImageSourceCreateImageAtIndex to a Unmanaged as a
return value.
I've been through var
Thanks Roland.
On 17 Oct 2014, at 00:20, Roland King wrote:
>
>> On 17 Oct 2014, at 6:13 am, Kevin Meaney wrote:
>>
>> Hi,
>>
>> I'm beginning to feel this above my pay grade as I can't seem to work it out.
>>
>> I have a framework i
ol no longer compiles.
Like you I've tried the use of the optional and playing around with casting but
I've not actually got the code to compile this way.
Kevin
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admi
geFunction:(CGImageRef (^)(NSDictionary
*))createImageFunction
And when calling it from the swift code I call it like so:
imageProvider.applyMyCreateImageFunction?(makeImage)
The question mark was necessary to evaluate whether the optional protocol
method had been implemented or not.
Ke
my test target to access resources needed by the tests I do:
let testBundle = NSBundle(forClass: MovingImagesFrameworkiOSSwift.self)
Where MovingImagesFrameworkiOSSwift is the Swift class.
Kevin
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Ple
Your not creating a static C++ object anywhere are you? One that creates the
dictionary before main gets called by any chance?
Kevin
Sent from my iPhone
> On 22 Oct 2014, at 22:45, Beinan Li wrote:
>
> Note, the initial crashing function is merely translating a C++ enum to the
>
you can create static
C++ objects that results in objective-c being called it is an easy way to make
difficult to track crashes.
I'd like confirmation from an apple engineer that my understanding is correct.
My quick perusal of the docs didn't find the info I was after.
Kevin
> Than
Personally I'd try and not call any objective-c code from a C++ static object.
If it did look the appropriate solution then I'd make sure I was comfortable
with my knowledge of the objective-c runtime and the order in which things are
called before main is called.
Kevin
On 23 Oct 2
Document stays the same.
Strangely, if I quit then open the App again there is the reverted document.
Does anyone know what I’m missing? other than my sanity.
cheers
Kevin
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
I've got the following code snippet which is part of code that creates a
CGImage. The CGImage is created but the last line of this code snippet triggers
the output of an error message to the console. The self._movieAsset is an
AVURLAsset created from a local file on disk. I've tried some variati
as 0
and 1 are valid values for a number.
cheers
Kevin
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubs
Thanks Jens,
You’re fantastic!
Have a great holiday season to all, and thanks for all the help over the years!
On 16/12/2014, at 11:28 am, Jens Alfke wrote:
>
>> On Dec 15, 2014, at 2:10 PM, Kevin Bracey wrote:
>>
>> How can I tell if the Value is a Boolean or Numbe
ommend his book learning avfoundation.
Kevin
Sent from my iPad
> On 15 Dec 2014, at 02:57, Graham Cox wrote:
>
> Just an update on this, since I've made some useful progress, but I'm a bit
> stuck again.
>
>
> I am able to download the video streams and write
lection.
In desperation I looked at things using Activity Monitor's memory section and
turned on the columns Real Mem, Shared Mem, and Purgeable Mem. In my case what
I was seeing as a leak matched with the memory marked as purgeable.
Exactly what is meant by purgeable I don't know
leaks, not bugs.
Kevin
On 13 Jan 2015, at 10:21, Kevin Meaney wrote:
> On 13 Jan 2015, at 02:51, Graham Cox wrote:
>>
>>> On 13 Jan 2015, at 12:21 pm, Roland King wrote:
>>>
>>> Did you read the devforums thread I pointed you at a couple of weeks ago
t the CGBitmapContext and CVPixelBuffer
view the pixel data in the same way from a color matching perspective?
Kevin
Sent from my iPad
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Co
color property keys above) I'm creating from individual frames? It
would be ideal if I could keep everything using the same profile color space in
my processing pipeline.
Kevin
On 19 Jan 2015, at 01:56, Quincey Morris
wrote:
> On Jan 18, 2015, at 17:22 , Kevin Meaney wrote:
&g
On 19 Jan 2015, at 17:53, Quincey Morris
wrote:
> On Jan 19, 2015, at 04:02 , Kevin Meaney wrote:
>>
>> What I'd like to be able to do is to compare profiles obtained this way with
>> what I think must be AVFoundation's equivalent e.g.:
>>
&g
that led me to
the Wikipedia pages.
Kevin
Sent from my iPad
> On 19 Jan 2015, at 17:53, Quincey Morris
> wrote:
>
>> On Jan 19, 2015, at 04:02 , Kevin Meaney wrote:
>>
>> What I'd like to be able to do is to compare profiles obtained this way with
&
And what I wrote is here:
https://github.com/SheffieldKevin/attributesforpreset/blob/master/attributesforpreset/output.txt
Sent from my iPad
> On 20 Jan 2015, at 01:39, Kevin Meaney wrote:
>
> Forgot to mention. I wrote a little something a few days ago that iterates
> throug
What are you using for memory management then? Manual, GC?
Sent from my iPad
On 25 Jan 2015, at 22:57, Trygve Inda wrote:
>>> On Jan 25, 2015, at 12:33 , Trygve Inda wrote:
>>>
>>> It does seem like if I remove a call to
>>>
>>> NSData* imageData = [[self myImageRep]
>>> representationUsingT
The answer to this question on devforums suggests you might be out of luck.
https://devforums.apple.com/message/1092608#1092608
Sent from my iPad
> On 13 Feb 2015, at 21:05, Andrew Keller wrote:
>
> Hello all,
>
> I’m not sure if this is the correct list, but I figure I’ll start somewhere.
>
Apologies. Having just reread that forum post rather than working from what I
remembered it is about the relationship between the processes rather than
process names.
You might still we'll be in luck.
Kevin
Sent from my iPad
> On 13 Feb 2015, at 21:05, Andrew Keller wrote:
>
rvices for example if you have one all encompassing sandboxed App which
contains multiple XPC services that do different tasks.
You might find the WWDC session 308 from 2012 useful.
I’ve an example project on github for a launch agent that uses XPC. I’m sorry I
haven’t up
ence
does win out. I wish I could be more certain in my replies but 20 months is
long enough for certain details to be forgotten.
Kevin
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comment
gt;> <https://devforums.apple.com/community/mac/coreos/xpc> because if you get an
>> answer there it is more likely to be well informed.
>
> Thanks Kevin, I’ll take a look at the XPC forum.
>
>> I am a little confused by your terminology. I’d call an Application a
&g
Sent from my iPad
> On 21 Mar 2015, at 23:41, Jens Alfke wrote:
>
>
>> On Mar 21, 2015, at 2:13 PM, Quincey Morris
>> wrote:
>>
>> Well, “String” is not “NSString”.
>
> Sure, but it’s bridged with NSString. The “Using Swift With Cocoa” book says:
> “Swift automatically bridges between th
Hi Daryle,
-replaceItemAtURL:… relies on the atomicity of the POSIX rename() function in
order to safely do its operation. Since rename() doesn’t work across volumes
(returning EXDEV), the two URLs must be on the same volume.
If you’re using a temporary directory with replaceItemAtURL:…, you wa
> On Mar 30, 2015, at 5:17 PM, Daryle Walker wrote:
>
>> On Mar 30, 2015, at 7:59 PM, Kevin Perry > <mailto:kpe...@apple.com>> wrote:
>>
>> -replaceItemAtURL:… relies on the atomicity of the POSIX rename() function
>> in order to safely do its ope
the value
from the position so that the relationship between position and value just
requires the evaluation of the equation.
Kevin
> On 10 May 2015, at 05:38, Steve Mills wrote:
>
> On May 9, 2015, at 23:20:08, Graham Cox wrote:
>>
>> Me too, which is why it does
framework
path to @rpath and switch to loading it using @loader_path.
It works now, but does seem fragile.
Kevin
Sent from my iPad
> On 12 May 2015, at 07:43, Graham Cox wrote:
>
> I’m exploring the use of the new IB_DESIGNABLE macro to preview a custom view
> live in IB.
&
’t find it now and
> neither can google.
Correct, the custom control does not have to be in a framework. I should
clarify from my previous e-mail that my custom control is not in a Framework,
but it does call into a framework to do the drawing which is unrelated to any
IB_DESIGNABLE requirements.
Hi Seth,
Thanks for this. It is a great resource. I just tried to embed a link to a
search for all the CoreVideo error codes into a tweet, but twitter doesn’t like
the tick mark as a character in a url. Can you change that?
Kevin
> On 31 May 2015, at 05:46, Michael David Crawford wr
iOS) && arch(x86_64))
to exclude.
Kevin
>> And now I know what Kyle looks like too!
>
> What’s the video?
>
>
>
> ___
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> Please do not post admin
You crop it using the CICrop filter.
> On 19 Jun 2015, at 22:56, Carl Hoefs wrote:
>
> I'm using CoreImage in a Cocoa app and I’m trying to obtain the outputImage
> (CIImage) of a CICircleSplashDistortion CIFilter. I know that there are
> certain filters whose output is unbounded, such as this
Also the nifty new defer statement works well along with multiple guards if you
need to do any cleanup when exiting the scope. The combination is great.
Kevin
> On 29 Jun 2015, at 23:43, Rick Mann wrote:
>
>
>> On Jun 29, 2015, at 15:35 , Jens Alfke wrote:
>>
>&g
eed by
setting Runpath Search Path to loader_path/../Frameworks. Once your have
changed the installation directory when building the framework you will also
need to change the Runpath Search Path when linking your application.
I hope that helps.
Kevin
> On 2 Jul 2015, at 20:12, Juanjo Conti wrote:
You need to set the Runpath Search paths in your ScreensaverNinja target to
@loader_path/../Frameworks not the target Saver which I’m assuming is building
your framework.
I’m assuming here your ScreenSaver is built from the ScreensaverNinja target
(the one with the application icon).
Kevin
ath/../Frameworks as well.
Kevin
> On 3 Jul 2015, at 08:51, Juanjo Conti wrote:
>
> I think ScreensaverNinja target does not affect Saver target.
>
> The Saver target builds a screen saver (a plugin in terms of XCode)
> I'm trying to use the Paddle framework in both, a deskto
Ah, You might need to talk to the makers of the framework then.
Kevin
> On 3 Jul 2015, at 09:27, Juanjo Conti wrote:
>
> Paddle.framework is not one of my targets, it's built by a third party, so I
> can't change it. It's this
> https://github.com/PaddleHQ/Ma
framework and
be clear in release notes that the Runpath Search paths will need to be updated
in their customers applications.
Kevin
> On 3 Jul 2015, at 09:44, Juanjo Conti wrote:
>
> I can do that. What do I ask, to change installation directory to @rpath?
> Would that break th
stion will be the screen saver process
that loads Juanjo’s screensaver plugin.
There is possibly one solution. Modify the name using install_name_tool to
/Library/Frameworks and install the Framework to /Library/Frameworks.
I still think going to the developers of the framework is t
First result is the mike ash article I included in my first e-mail to this
thread.
Kevin
> On 3 Jul 2015, at 10:48, Roland King wrote:
>
> www.google.com <http://www.google.com/>
>
> "mike ash install_name_tool”
>
>
>> On 3 Jul 2015, at 17:45, Juanjo C
ke Ash article. But if I do otool -D on the
framework then I see @executable_path … etc. Making me conclude the rpath
information was stored separately in the binary to the install name so my
thinking was that modifying the install name wouldn’t help.
Kevin
__
http://blog.yvs.eu.com/2013/07/cocoa-interprocess-communication-with-xpc/
<http://blog.yvs.eu.com/2013/07/cocoa-interprocess-communication-with-xpc/>
But I think you will still get value from watching the video.
Kevin
Kevin Meaney
Zukini Ltd
Sheffield S2 3LN
Company no: 9491832
> On 18 Jul 2015, at 1
might not annotate private methods, but I think a
blanket ruling does not make sense.
Kevin
> On 16 Aug 2015, at 18:47, Quincey Morris
> wrote:
>
> On Aug 16, 2015, at 09:10 , Seth Willits wrote:
>>
>> Really? This list has no opinions? That's hard to imagine :-)
mpile down to identical code. I'd stick with the old values
to simplify building for/on Leopard.
-Kevin Elliott
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact th
this one piece doesn't...
Kevin
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Upda
On Sep 1, 2009, at 6:11 PM, Ken Thomases wrote:
On Sep 1, 2009, at 7:14 PM, Kevin Brock wrote:
We've got an app that is using keyValueForPath: and
observeValueForKeyPath:ofObject:change:context: to keep a status
window up-to-date.
On 10.5 it works fine. On 10.6 keyValueForPat
for this? It'd be nice to give the
authorization dialog a "type" so it can display a different message
based on the context. I realize this is a "security feature" for not
allowing the text to be changed, but it's fairly important to l
now-leopard/
>.
Note that both versions require running a daemon in the background in order
to inject your code.
-Kevin Ballard
On Thu, Sep 3, 2009 at 9:54 PM, Gerriet M. Denkmann wrote:
> I heard some rumors that Input Managers do no longer work on Snow Leopard.
>
> So I asked Xcode
CAAnimation has a delegate you can use to be notified when an
animation is complete:
http://developer.apple.com/mac/library/documentation/GraphicsImaging/Reference/CAAnimation_class/Introduction/Introduction.html#jumpTo_14
For more, see previous posts on the mailing list.
Kevin
ass, so it does not make sense to put it in the Classes tab.
In Cocoa, First Responder really acts like an instance. The actions
for First Responder are attributes for it, and that is why they live
in the Attributes inspector for First Responder.
I hope that clears some of that up…
Kevin
n the dark as to how/what classes to consider.
Any ideas on how to accomplish what I'm after?
-Kevin
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderator
s.html#//apple_ref/doc/uid/TP40005344-CH3-SW10
> When I run the application, the IBOutlet comes up zero
When are you querying this? The outlet will be nil until after awakeFromNib is
called on your controller.
Kevin
___
Cocoa-dev mailing list (
ing wrong or another way
to listen for an afp to mount?
Cheers
Kevin B
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists
ocalizedNameKey = SetupScripts;
NSWorkspaceVolumeURLKey = afp://;AUTH=No 2456753768ser-0x1.3a953bfffe668p-671uth...@10.0.1.251
/SetupScripts;
}}
NSDevicePath has changed
and I was checking for NSDevicePath = "/Volumes/SetupScripts", my bad.
Thanks again:)
Kevin
__
nst in your Xcode project.
Kevin
On 13 Oct 2009, at 07:55, Jeff Johnson wrote:
> Hi Mark.
>
> I had the same problem with NSWindow subclasses. Although Interface Builder 3
> is supposed to automatically sync with header files in your project, it seems
> to have trouble with hea
on Snow Leopard it said that I had a
retain count of +1. Am I leaking?
Any advice on this?
Cheers
Kevin
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderato
of my code?
-Kevin
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
I would recommend everyone read the Interface Builder 3.2 Release Notes. These
highlight the new features in Interface Builder 3.2 on Snow Leopard, as well
some of the issues we've addressed.
I think these might clear up many of the confusions I've seen cropping up on
the mailing lists.
http:/
erScriptsPopup];
}
}
cheers
Kevin
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
He
Hi,
I have been working on a somewhat game engine (not really, but acts
like one) and currently involved in porting this to different
platforms. The engine works perfectly fine on Linux, FreeBSD and
Windows so far.
It is comprised of following parts:
1. Entry point (e.g. main or WinMain)
2. It th
that I'm not aware of.
Anyone know of anything that would make this simpler?
Kevin
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admin
Kyle Sluder wrote:
On Mon, Nov 9, 2009 at 9:10 AM, Kevin Brock wrote:
I'm pretty sure that I could just do it programmatically, creating and
laying things out on the fly, but I'm hoping there's a simpler way. Most of
the application is standard windows in a nib file.
leasePool *pool;
pool = [NSAutoreleasePool new];
NSArray *files;
files = [NSArray arrayWithObjects: @"/Users/kevin/Desktop/foo.txt",
@"/Users/kevin/Desktop/bar.png", @"/Users/kevin/Desktop/baz.txt", nil];
NSString *filestring = [files componentsJoinedByString:@&
ected. The same
data that is dragged comes out intact on the clipboard. However, file
paths are inexplicably converted to file URL's, so that instead of
"/Users/kevin/Desktop/foo.txt," I get
"file://localhost/Users/kevin/Desktop/foo.txt." I want to retain the
path string
type solved the
problem.
Given that file paths are a requirement for my project and URL's are a
"nice-to-have," I'll have to move forward without NSURL. Too bad.
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
On 11/23/09 7:14 PM, Jens Alfke wrote:
On Nov 23, 2009, at 3:51 PM, Kevin Walzer wrote:
Given that file paths are a requirement for my project and URL's are a
"nice-to-have," I'll have to move forward without NSURL. Too bad.
Why? To get the filesystem path just
o support strings and file paths at a minimum. NSURL,
unfortunately, complicates this design more than I would like.
--Kevin
--
Kevin Walzer
Code by Kevin
http://www.codebykevin.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
Hey Dave,
I think this may be what you want:
http://homepage.mac.com/kenferry/software.html#KFAppleScript
Kevin
On Mar 12, 2010, at 8:56 AM, David Alter wrote:
> I need the ability to call an AppleScript from a Cocoa Application. I have
> done this in the past using NSAppleScript and it
You could write a Cocoa wrapper around an existing C/C++ library. For example
http://ndevilla.free.fr/iniparser/
On Mar 12, 2010, at 10:34 AM, Fritz Anderson wrote:
> It should be easy to write an Objective-C class that reads and writes .ini
> files, but I'd prefer to use existing art if any e
Subclass and override mouseDown: - however if you're trying to intercept right
before the color panel is shown, or a drag starts, that may be trickier.
What are you trying to do generally?
On Mar 12, 2010, at 1:30 PM, Jonathon Kuo wrote:
> How can I intercept or get notified when a user clicks
Not necessarily true. While you are free to specify a delegate as NSObject
, it is not standard convention. The convention for delegates is:
id.
Kevin
On 13 Mar 2010, at 07:39, Alexander Spohr wrote:
>
> Am 13.03.2010 um 16:25 schrieb Joanna Carter:
>
>> My reason for using
These two methods worked for me:
NSString *path = @"/FOLDER/FILENAME.txt";
NSLog(@"displayNameAtPath: %@", [[NSFileManager defaultManager]
displayNameAtPath:path]);
FSRef ref;
HFSUniStr255 name255;
if (!FSPathMakeRef((const UInt8 *)[path fileSystemRepresentation], &ref, NULL)
&&
!FSGet
text field shows up where it's
supposed to in the top level window.
But the text isn't set.
The .xib file shows that File's Owner is the correct subclass of
NSViewController, and that the NSTextField control is connected to the
textField outlet.
Any ideas?
Kevin
_
indowDidLoad; instead you are expected to
> override -loadView, call super's implementation, and then perform your
> setup. That is the approach I would recommend.
Thanks. This fixed my problems!
Kevin
___
Cocoa-dev mailing list (Cocoa-dev@l
I've seen this crash plenty of times as well. Hopefully it'll be fixed in
10.6.3.
On Mar 21, 2010, at 4:40 PM, Kyle Sluder wrote:
> On Sun, Mar 21, 2010 at 3:37 PM, Graham Cox wrote:
>> I got this crash report from a user. It seems to be an isolated incident but
>> it would be good to know wh
1 - 100 of 579 matches
Mail list logo