Thanks for the reference. I does include it. However, this reference
says that if you omit the extensions it will look for the icon file
name with the extension. Like when you want to assign the logo for
your app, it is enough to write 'Logo' in the Info.plist file, because
Cocoa knows that it shou
I have done that, and yet my application registers no changes. It
still saves the data with the plain white icon.
I nocticed that the UTI table is empty. My data can be saved either in
binary, SQL, or XML format. Does it matter if this field is empty? I
noticed that in TextEdit source code that th
On Nov 4, 2010, at 9:21 AM, PJBorges wrote:
> I have done that, and yet my application registers no changes. It
> still saves the data with the plain white icon.
Is it possible that you have multiple copies of the app lying around (different
build types, copies for testing, etc) and Finder uses
On Thu, Nov 4, 2010 at 4:59 AM, Markus Spoettl
wrote:
> On Nov 4, 2010, at 9:21 AM, PJBorges wrote:
>> I have done that, and yet my application registers no changes. It
>> still saves the data with the plain white icon.
>
> Is it possible that you have multiple copies of the app lying around
> (d
Apologies for a very basic question, but unfortunately one that I don't really
know what keywords to search for an answer about.
Suppose I have two separate classes with init methods that have the same name,
but which take different types. MyClassA has:
-(id)initForCamera:(QICamera*)cam
and MyCl
On 4 Nov 2010, at 7:23 AM, Jonny Taylor wrote:
> If instead I write:
> [(MyClassA*)[MyClassA alloc] initForCamera:cam];
> then I do not get a warning. This leads me to believe that what I am writing
> is not actually doing anything wrong, and the compiler warning is associated
> with the fact th
On Thu, Nov 4, 2010 at 8:23 AM, Jonny Taylor wrote:
>
> This leads me to believe that what I am writing is not actually doing
> anything wrong, and the compiler warning is associated with the fact that
> [MyClassA alloc] returns a plain id leaving the compiler to do some deducing
> about what t
>> One workaround is to include explicit casts like I have shown. However this
>> leaves me wondering whether it goes against convention and/or
>> recommendations to have two init methods with the same name but different
>> parameter types, even for two unrelated different classes (hard to enfor
Apple's documentation indicates that a NSToolbar with selectable items
can be used for navigation in a preference panel. This is often used
in conjunction with an NSTabView that is configured to have no visible
tabs.
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/
T
On Nov 3, 2010, at 11:36 AM, Субач Павел Витальевич wrote:
> Need some help, i want call from choose cell in my table with phone number:
>
> - (void)tableView:(UITableView *)tableView
> didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
> NSString *phoneString = [NSString stringWithFormat:
On Thu, Nov 4, 2010 at 6:54 AM, Richard Somers
wrote:
> Apple's documentation indicates that a NSToolbar with selectable items can
> be used for navigation in a preference panel. This is often used in
> conjunction with an NSTabView that is configured to have no visible tabs.
>
> http://developer.
On Nov 4, 2010, at 7:54 AM, Richard Somers wrote:
> Apple's documentation indicates that a NSToolbar with selectable items can be
> used for navigation in a preference panel. This is often used in conjunction
> with an NSTabView that is configured to have no visible tabs.
>
> http://developer.a
For some reason, on tiger, when you make your own protocol using NSURLProtocol
and respond with
URLProtocol:wasRedirectedToRequest:redirectResponse:redirectResponse to a
WebView, it just doesn't redirect at all. Is this a known bug? Do I have to
write a web server to redirect someone to somewhe
On Nov 2, 2010, at 8:13 PM, Leon Qiao wrote:
> I got some problems on showing a frame-by-frame animations. I use some png
> files in quite a big size(1024* 768). The frame rate I required is near
> 1/24.
Consider that at the framerate you desire, this will require 1024*768*4*24=72MB
of memory pe
On 2010 Nov 04, at 08:31, Keary Suska wrote:
> You have to do all the resizing yourself via code, and watch out for
> overlapping view gotchas.
Indeed. For example, if the size is increasing, you'll want to resize first,
then draw. But if the size is decreasing, you'll want to draw first, th
In the start loading method, this is what I'm doing if it helps some. I found
that I cannot do a web server with this as it doesn't forward the post data
which is important in this application.
- (void)startLoading {
NSURLResponse *response = [[NSURLResponse alloc] initWithURL:[[self
re
On Thu, Nov 4, 2010 at 9:12 AM, Jonny Taylor wrote:
>>> One workaround is to include explicit casts like I have shown. However this
>>> leaves me wondering whether it goes against convention and/or
>>> recommendations to have two init methods with the same name but different
>>> parameter types
On Thu, Nov 4, 2010 at 9:17 AM, Sherm Pendley wrote:
> - (id)initForCamera:(id)cam {
> [self release];
I remember there being a bit of contention on this, but Greg Parker's
wisdom seems to be to call [super dealloc], not [self release]:
http://lists.apple.com/archives/objc-language/2008/Sep/ms
Hello,
could anybody explain what is this method:
/*!
@method setOverlay:forType:
@abstract Sets an overlay (Core Animation layer) for the image or the image
background.
*/
- (void)setOverlay: (CALayer *)layer forType: (NSString *)layerType;
I tried to use it in IKIMageViewDemo this way:
On Thu, Nov 4, 2010 at 12:43 PM, Kyle Sluder wrote:
> On Thu, Nov 4, 2010 at 9:17 AM, Sherm Pendley wrote:
>> - (id)initForCamera:(id)cam {
>> [self release];
>
> I remember there being a bit of contention on this, but Greg Parker's
> wisdom seems to be to call [super dealloc], not [self relea
Thanks for your help, Markus and Sherm.
I had a few builds, debug/release, so I've deleted the build directory
and build anew - no change
Copied it to /Applications - no change
I tried cleaning the targets, no change. And the icon is in the
Resources folder, it is copied there.
Does it matter wh
On Nov 2, 2010, at 11:51 AM, k...@highrolls.net wrote:
> I would like to get a menu item in main mneu nib pointed to a outlet
> reference in another NIB.
No.
> Is there a preferred pattern/method to do so
Read the documentation on the "responder chain" to learn what you should be
doing.
-
NSResponder has nothing to do with IBOutlets as far as I can tell.
I did this to get the NSMenuItem I was interested in:
NSMenuItem *theItem = NSApp mainMenu] itemWithTitle:@"Menu"]
submenu] itemWithTitle:@"Title"];
Works just fine.
-koko
On Nov 4, 2010, at 12:18 PM, Seth Willits w
On Thu, Nov 4, 2010 at 1:39 PM, PJBorges wrote:
>
> Does it matter where you put the key CFBundleTypeIconFile in the
> info.plist file?
To some extent, yes - the overall structure of the .plist must be
right. That is, the CFBundleDocumentTypes key must have an array of
dictionaries, and the CFBun
On Thu, Nov 4, 2010 at 2:32 PM, Sherm Pendley wrote:
> On Thu, Nov 4, 2010 at 1:39 PM, PJBorges wrote:
>>
>> Does it matter where you put the key CFBundleTypeIconFile in the
>> info.plist file?
>
> To some extent, yes - the overall structure of the .plist must be
> right. That is, the CFBundleDoc
Launch Services is what the Finder uses to associate icons with documents and
documents with applications. It doesn't always pick up icon changes immediately.
This was the first of many Google hits for "reset Launch Services":
http://www.thexlab.com/faqs/resetlaunchservices.html
but it looks li
On Thu, Nov 4, 2010 at 11:30 AM, wrote:
> NSResponder has nothing to do with IBOutlets as far as I can tell.
No, but it does have everything to do with the pattern you *should* be using.
--Kyle Sluder
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple
[SOLVED] I finally got it to work. Sherm gave me a last hint that the
extension should be changed.
A standard document-based application enables you to save in 3
formats: binary, SQLite, XML. E.g., if you save in binary format the
extension is automatically set to .binary. This gives a plain white
Hi to all,
I would like to put a NSColorWell into a column of a NSTableView. If what I
have dug out on the net is not wrong, I can infer there are two main ways to
achieve this:
1. Subclass a NSImageCell, draw a custom rectangle inside and handle actions in
order to mimic a NSColorWell;
2. Wri
Environment: iOS SDK 4.2+
Xcode 3.2.5
Desired design:
1) Multiple NSThreads (via NSOperation?) running NSObjects in parallel:
processing the same C-functions (with different data) in real time till
conclusion (or cancelled).
2) These C-functions are located in a common *.c file (or two); c
On Wed, 3 Nov 2010 22:00:43 -0700, Jerry Krinock said:
>So, I do this:
>
>• Read and remember the file's modification date (NSFileManager)
>• Set the desired metadata
>• Set the file's modification date back to the remembered value
>(NSFileManager)
>• Invoke -saveDocument:
>
>Voila - no more stupi
On 2010 Nov 04, at 15:37, Sean McBride wrote:
> It's probably a bug.
Absent any other responses, I agree. Now filed as Apple Bug ID# 8633547.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comm
On Nov 4, 2010, at 8:27 AM, Keary Suska wrote:
> On Nov 3, 2010, at 11:36 AM, Субач Павел Витальевич wrote:
>
>> Need some help, i want call from choose cell in my table with phone number:
>>
>> - (void)tableView:(UITableView *)tableView
>> didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
>>
I have an app that needs to always be running in the background.
Most of the time it is just a faceless daemon, but for some
complicated reasons, sometimes it needs to display various windows,
and I can't easily factor out these UI elements so that the UI part
is handled by a regular app (and I
>
> On Nov 2, 2010, at 8:13 PM, Leon Qiao wrote:
> > I got some problems on showing a frame-by-frame animations. I use some
> png
> files in quite a big size(1024* 768). The frame rate I required is near
> 1/24.
> Consider that at the framerate you desire, this will require
> 1024*768*4*24=72
Dear David,
Thanks a lot for your feedback!
I need to put the animation on the other views with alpha info. So I don't
know if I can use the movie.
And the second method, would you please tell more details?
Now I'm trying to use the last solution and see if it is acceptable.
Thanks again.
Leon
2
Hmm, I should have taken the time for a grammar check. My apologies.
-GT
On Thu, Nov 4, 2010 at 3:25 PM, George Toledo wrote:
> On Nov 2, 2010, at 8:13 PM, Leon Qiao wrote:
>
>
>> > I got some problems on showing a frame-by-frame animations. I use some
>> png
>
> > files in quite a big size(102
On Nov 4, 2010, at 7:46 PM, Jim Wintermyre wrote:
> TransformProcessType() looked promising, but it only goes in one direction.
There is no going back. The transformation is unidirectional. There is no
"secret" technique. What you've already found is it.
Regards,
Ken
__
I've been staring at this error message for the past hour.
When trying to compile the code ...
-
#import
@interface TWInterpreterController : NSWindowController
...
@end
--
the compiler issues the error:
"Cannot find pro
The NSPersistentStoreCoordinator class method works directly with the file at
the specified URL and so writes the metadata to the the file immediately. To
modify the metadata on the store without saving automatically you need to use
the store instance's setMetadata: method. You can access the
Le 5 nov. 2010 à 05:48, Thomas Wetmore a écrit :
> I've been staring at this error message for the past hour.
>
> When trying to compile the code ...
>
> -
> #import
>
> @interface TWInterpreterController : NSWindowController
> ...
> @end
> ---
Le 5 nov. 2010 à 01:46, Jim Wintermyre a écrit :
> I have an app that needs to always be running in the background. Most of the
> time it is just a faceless daemon, but for some complicated reasons,
> sometimes it needs to display various windows, and I can't easily factor out
> these UI eleme
I had a similar stupid error with a project I hadn't worked on for some time. I
couldn't for the life of me find why the compiler was barking at the same
thing. I then changed the "Base SDK for all configurations" to the new setting
"Latest Mac OS X (currently set to Mac OS X 10.6) and that fixe
43 matches
Mail list logo