Hi All!
Could I use deprecated methods in my application?
I have to support OS X 10.4+ and for example need to obtain file
modification date,
so could I use [NSFileManager fileAttributesAtPath:traverseLink:] which
is deprecated in 10.5?
___
Cocoa-d
Don't forget about @:
#define MY_FUNNY_STR @"Ha-ha-ha!"
09-Aug-11 13:47, Devraj Mukherjee пишет:
Hi all,
I am writing an API client for a REST service, parts of the REST API
returns fixed String values. E.g. status of an order.
I want to represents these fixed responses as constants. I have
http://msdn.microsoft.com/en-us/goglobal/bb964651
15-Aug-11 11:07, John Joyce пишет:
Does anybody know a programmatic way or a reference resource to get graphical
keyboard map or layout for the currently active keyboard?
Are these documented anywhere anymore?
I would like to provide an on-scree
http://scripts.sil.org/cms/scripts/page.php?item_id=inputtoollinks#dc9009da
?
http://scripts.sil.org/cms/scripts/page.php?site_id=nrsi&id=Ukelele
15-Aug-11 11:47, John Joyce пишет:
Thanks Vyacheslav, but I am a little more interested in Mac keyboards...
_
http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/MenuList/Articles/EnablingMenuItems.html#//apple_ref/doc/uid/2261-BAJBFGED
15-Aug-11 16:08, McLaughlin, Michael P. пишет:
I have a Cocoa document app targeting Snow Leopard. It is, in most respects, a
standard document
Cast window to the type id:
if ([window respondsToSelector:@selector(setRestorationClass:)])
{
[(id)window setRestorationClass:someClass];
}
06-Sep-11 13:33, Oleg Krupnov пишет:
if ([window respondsToSelector:@selector(setRestorationClass:)])
{
[window setRestorationClass:someClass];
}
Hi!
Have you tried [NSWorkspace
getFileSystemInfoForPath:isRemovable:isWritable:isUnmountable:description:type:]
?
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/ApplicationKit/Classes/NSWorkspace_Class/Reference/Reference.html#//apple_ref/occ/instm/NSWorkspace/getFile
Hi!
You need to remove file from the project tree in XCode.
09.02.2012 9:20, Alexander Reichstadt пишет:
Hi,
I am loosing my mind here.
I have a project. It was under git control. When I tried to compile it failed.
I noticed there was a wrong file added for iOS, the project was Xcode. I
rem
Hi All!
I'm writing IB 3.2 plug-in for NSTabView descendant.
After adding new tab
CLTabViewItem * item = [[CLTabViewItem alloc] init];
[item setLabel: @"new Item"];
[tabView addTabViewItem: item];
I'm trying to select it and edit is properties. But IB crashe
21-Mar-11 16:08, Vyacheslav Karamov пишет:
Hi All!
I'm writing IB 3.2 plug-in for NSTabView descendant.
After adding new tab
CLTabViewItem * item = [[CLTabViewItem alloc] init];
[item setLabel: @"new Item"];
[tabView addTabViewItem: item];
26-Mar-11 00:16, Kyle Sluder пишет:
On Fri, Mar 25, 2011 at 2:48 PM, WT wrote:
I'm downloading 4.0.1 at this very moment so I didn't know that IB plugins are
officially deprecated. That really indeed sucks.
File bugs at http://bugreport.apple.com. If you don't, the developers
won't know that
Hi All!
I'm pretty new to Cocoa and I (alone) have to support large Cocoa-based
project which uses NIBs with
custom controls. I've rewritten IB 3x plug-in, but IB crashes while
opening some of the NIBs.
How to convert these NIBs to dynamically created controls?
08-Apr-11 15:53, Mr. Gecko пишет:
I need help with the Installation Directory for a framework that will be shared between a
application and 2 daemons within side it. I think I may be able to do it if I were to
have the 2 daemons executables in the MacOS path or another folder such as one named
Is it required that my application has Drag'n'Drop support?
11-Apr-11 02:54, Tom Hohensee пишет:
Yes
I second what Todd has said. I am currently working on receipt
validation for my third app store app. I did not do it for my first
two apps, too many other thinks to worry about. The documentat
I have $99 account, so I'll try to find the doc.
11-Apr-11 15:24, Graham Cox пишет:
On 11/04/2011, at 10:17 PM, Vyacheslav Karamov wrote:
Is it required that my application has Drag'n'Drop support?
No.
Why don't you just download the requirements document? The requireme
15-Apr-11 00:34, Luc Van Bogaert пишет:
Hi,
I know how to subclass NSView to create a custom view, and add it to a window
as a subview using interface builder. But when I want to control my custom
view with a viewcontroller object, both contained in a seperate nib file, I'm
getting a bit con
Hi All!
I need to save main window size and position to user defaults:
NSValue * rect = [NSValue valueWithRect: [[NSApp mainWindow] frame]];
[[NSUserDefaults standardUserDefaults] setObject:rect
forKey:@"MainWndFrame"];
but console output is:
2011-04-28 11:45:00.139 UserDefaults[32801:a0f]
RectFromString() to convert to/from a string to
store in the defaults. However, it might be easier to set frameAutosaveName and
let the window save and restore the frame itself. Just enter the key in the
autosave attribute in Interface Builder and it should work.
Aaron
On Apr 28, 2011, at 4:50 AM,
8 Apr 2011, at 11:32, Vyacheslav Karamov wrote:
I can't use Interface builder, because it crashes while opening NIB file. I'm
currently using XCode 3.2.6, but NIB file was created with IB 2.x using plug-in.
So, where is it better to save main window frame? I've tried to do do it in
Hi All!
I need to make custom view in the form of letter L.
How to do it?
Thank you in advance,
Vyacheslav.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the modera
rectangle.
On May 4, 2011, at 6:41 AM, Vyacheslav Karamov wrote:
I need to make custom view in the form of letter L. How to do it?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to
Yes, I need to write virtual keyboard.
05-May-11 21:11, Kyle Sluder пишет:
On Thu, May 5, 2011 at 10:59 AM, Shawn Bakhtiar wrote:
What? It does too work! Once the window is setup correctly.
This is how a do all my transparent windows, and for any naysayers out there
here is the code:
http://w
Hi All!
I have to support pretty large project which has all windows in a single
NIB.
I tried to create another NIB and then moved some windows from Main.NIB
to it.
But application fails to load.
I suggest that app couldn't load one of the panels at start, but I have
no idea which steps I ne
loadNibNamed saved me :)
12-May-11 15:14, Vyacheslav Karamov пишет:
Hi All!
I have to support pretty large project which has all windows in a
single NIB.
I tried to create another NIB and then moved some windows from
Main.NIB to it.
But application fails to load.
I suggest that app
Hi all!
How to disable menu or menu item programmatically?
___
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/
Hi All!
How to remove pop-up menu from WebView instance?
___
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/
OS X 10.4+
23-May-11 12:36, Mike Abdullah пишет:
Mac or iOS? It's hard to tell from your question.
On 23 May 2011, at 10:28, Vyacheslav Karamov wrote:
Hi All!
How to remove pop-up menu from WebView instance?
___
Cocoa-dev mailing list (
Hi All!
I need to extract zip-archive content to ~/Library/Application
Support/My Program/Shared at the first launch.
What the best way to do it?
I tried to
NSString * listsPath = STR_ADDPATH([[NSBundle mainBundle]
resourcePath], @"lists.zip");
if (0 == folderSize &&
FileTools::DoesFi
I agree with you, but I guess he missed semicolon just before an array
declaration because he got *compiler* error, not linker!
Correct declaration could be of two forms:
1) In header file
static int a[2] = {1,2};
or
static int a[] = {1,2};
2) In header file
extern int a[2];
In *.m file:
int a
Hi All!
I need to install some fonts to ~/Library/Fonts at the first run of my
Application,
but how to obtain list of fonts already installed to copy missing fonts
only?
Thanks you in advance,
Vyacheslav.
___
Cocoa-dev mailing list (Cocoa-dev@lists
Oops, I forgot to mention that target platform is OS X 10.4+
08-Jun-11 15:13, Ken Thomases пишет:
On Jun 8, 2011, at 6:56 AM, Vyacheslav Karamov wrote:
I need to install some fonts to ~/Library/Fonts at the first run of my
Application,
Why? Are you aware that you can have fonts bundled
I couldn't find these keys in the list of available keys in App property
list.
I'm using XCode 3.2.6
08-Jun-11 15:23, Ken Thomases пишет:
On Jun 8, 2011, at 7:18 AM, Vyacheslav Karamov wrote:
08-Jun-11 15:13, Ken Thomases пишет:
On Jun 8, 2011, at 6:56 AM, Vyacheslav Karamov wrote
I'm currently support project which use custom NSSlider.
16-Jun-11 04:18, Nick пишет:
Hello
I am wondering if there are any free custom NSSlider controles available
with changed knob and trackbar images?
The ones similar to QuickTime Player and iTunes (for a player application).
Does everyone i
Look towards BWToolkit.
But note: you should better use XCode 3.2.6, not 4.0.2, cause XCode 4.x
lack of plug-ins support.
16-Jun-11 11:20, Nick пишет:
Basically I was looking for some freely available fancy controls, that
are suitable for players. Like AlphaControls for Delphi (for Windows)
o
Hi!
XCode 2x works pretty good with Panther. We have old PPC mac-mini with
10.3.9 and XCode 2x (I' don't remember exact version) installed.
21.03.2012 18:11, Nick Zitzmann пишет:
On Mar 19, 2012, at 5:52 PM, Bill Meng wrote:
I've downloaded Xcode 1.0 from Apple to run on OS 10.4. After inst
Hello All!
I need to implement NSTextView descendant similar to one used in Mac iMessages
App.
I have implemented live resizing, but how to set resizable image as its custom
shape?
Thanks.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Pleas
No, I have already implemented bubbles. It is just NSTableView descendant.
14.02.2013 19:13, Kyle Sluder пишет:
On Feb 14, 2013, at 3:11 AM, Vyacheslav Karamov wrote:
Hello All!
I need to implement NSTextView descendant similar to one used in Mac iMessages
App.
I have implemented live
ause my
widget grow in height while user is typing, custom image should also
grow and vertical scrollbar appears if needed.
Anyway, thank you for the quick response!
Good luck,
Vyacheslav.
14.02.2013 18:56, Keary Suska пишет:
On Feb 14, 2013, at 4:11 AM, Vyacheslav Karamov wrote:
I need to
12:00 PM, Vyacheslav Karamov wrote:
I know how to implement custom text layout. Good example of this I have
found in "Cocoa Programming Developer's Handbook" by David Chisnall.
This book gives an example how to implement custo text layout, but I
don't understand how to
I need to implement Grid view for iOS 7 and newer.
The users should have ability to scroll its contents both horizontally
and vertically.
They also should have ability to mark the very first row and column as
fixed i.e. non-scrollable.
How to do this in a right way?
Thanks,
Vacheslav.
__
Thank you Kyle. But could you be more specific?
15.10.2013 21:18, Kyle Sluder wrote:
On Oct 15, 2013, at 11:05 AM, Vyacheslav Karamov wrote:
I need to implement Grid view for iOS 7 and newer.
The users should have ability to scroll its contents both horizontally and
vertically.
They also
Thanks Quincey!
How to implement scrolling?
15.10.2013 21:43, Quincey Morris wrote:
On Oct 15, 2013, at 11:05 , Vyacheslav Karamov <mailto:ubuntul...@yandex.ru>> wrote:
How to do this in a right way?
I think UICollectionView may be what you want:
https://developer.apple.com/li
Thanks for help!
I came to the same conclusion after making a set of experiments.
09.01.2014 18:59, Fritz Anderson wrote:
On 9 Jan 2014, at 8:49 AM, Viacheslav Karamov wrote:
I'm using a UISplitViewController in my iPad app and I don't really like the
way the popover view slides in and cove
Thanks! Good point, but I forgot to say I need the possibility to
hide/show sidebar by tapping nav bar item.
This might be ok for some cases, but I need detail view to be shrunk.
09.01.2014 19:34, Kyle Sluder wrote:
On Jan 9, 2014, at 8:59 AM, Fritz Anderson wrote:
In other words, you’d like
44 matches
Mail list logo