Re: Mod (%) function in C/Objective-C?

2014-08-11 Thread koko
: r; > } > > My conclusion is (a % b) in C is a remainder operator and NOT modulo operator. > > All the Best > Dave > > > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not

Re: NSTextField Binding

2014-08-07 Thread koko
On Aug 7, 2014, at 2:55 PM, Ken Thomases wrote: > _How_ did you update the property? You must do it in a KVO-compliant manner, > which usually means calling the setter. I believe this is KVO-compliant … but I could be wrong ! @interface Controller : NSObject { int height; } @property

NSTextField Binding

2014-08-07 Thread koko
I have bound an NSTextField’s value binding to a property in class A I update the property in class A but the NSTextField does not reflect the update. There are no warnings or error messages. Where should I look to understand / resolve this? -koko

Modal Panel from Modal Window

2014-07-25 Thread koko
Case 1: I display a modal widow which has a button that displays a modal panel which s a custom control. Case 2: I use this same control in the main window of the app. In this case the control responds immediately to mouse movements. In Case 1 I must click the control in order to get mouse mov

Could not find image named

2014-07-08 Thread koko
Could not find image named '11491B1D-FC9E-4CE6-8006-51685727BAE6’. A project that I have been building and distributing for three years suddenly began emitting the above message when I run in debug from the Xcode IDE. Any guidance … please!

Re: Considering some of the questions recently…

2014-07-08 Thread koko
On Jul 8, 2014, at 4:00 PM, Jens Alfke wrote: > * Paw looks seriously awesome for exploring/testing HTTP APIs. Kind of like > the venerable HTTPClient app but way more powerful. Definitely going to try > it out. Just tried PAW … very nic

Re: How to check if file exists?

2014-05-10 Thread koko
Cordially, David Blanton dblan...@britonleap.com On May 10, 2014, at 2:27 PM, Charles Srstka wrote: > Sure there is; -[NSURL checkResourceIsReachableAndReturnError:]. From checkResourceIsReachableAndReturnError: "If your app must perform operations on the file, such as opening it or copyin

Re: Help with Help

2014-05-07 Thread koko
On May 7, 2014, at 12:00 PM, Kirk wrote: > I further note that Apple's own iWork apps use online help pages that open in > Safari. We use HTML and open Safari when user selects help. Great for our cross platform products. -koko ___

Re: Xcode 5 & Obj-C++

2014-01-29 Thread koko
o be one for ObjC++. All my projects are Obj-C and C++ mixed so rather than change any file extension I just set in the Language section of Build Setting Compile Sources As Objective-C++ -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: [MORE} startAccessingSecurityScopedResource

2014-01-22 Thread koko
ce is called access is granted to the resource until -stopAccessingSecurityScopedResource. So thanks for looking in … ! -koko On Jan 22, 2014, at 4:04 AM, Mike Abdullah wrote: > On 22 Jan 2014, at 02:46, koko wrote: > >> I believe I should use contentsOfDirectoryAtURL

[MORE} startAccessingSecurityScopedResource

2014-01-21 Thread koko
I believe I should use contentsOfDirectoryAtURL and then create a security-scoped bookmark for each file I am interested in and in this manner I will be able to read the files across launches of the app. Do I understand this correctly? -koko On Jan 21, 2014, at 7:26 PM, koko wrote: >

startAccessingSecurityScopedResource

2014-01-21 Thread koko
contentsOfDirectoryAtPath:[url path] error:&error]; [url stopAccessingSecurityScopedResource]; } -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Con

Re: NSTask and 10.9 [SOLVED]

2013-11-27 Thread koko
solved the 10.9 issue Thanks to all for the cycles. -koko On Nov 26, 2013, at 11:04 AM, Kyle Sluder wrote: > On Tue, Nov 26, 2013, at 09:37 AM, koko wrote: >> >> On Nov 26, 2013, at 10:26 AM, Kyle Sluder wrote: >> >>> Error 2 is ENOENT. The path you

Re: NSTask and 10.9

2013-11-26 Thread koko
On Nov 26, 2013, at 8:56 AM, Pax <45rpmli...@googlemail.com> wrote: > hy would you delete files in this manner? Need to wildcard the file names. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator com

NSTask and 10.9

2013-11-26 Thread koko
ine up to and including 10.8.5 BUT throws an exception at [task launch] on 10.9 Google reveals nothing about this … at first I thought that sh was not available but in Terminal on 10.9 entering !#/bin/sh puts you into sh any help is much appreciated … ! -koko __

file url to string path

2013-11-20 Thread koko
How does one turn this: file://localhost/Volumes/Macintosh%20HD/Included%20Free%20Designs/Aibnb18(colorized).pes into this: /Volumes/Macintosh HD/Included Free Designs/Aibnb18(colorized).pes -koko ___ Cocoa-dev mailing list (Cocoa-dev

Re: C++ Function Call from Obj-C

2013-10-04 Thread koko
… -koko On Oct 4, 2013, at 11:20 AM, Fritz Anderson wrote: > On 4 Oct 2013, at 11:27 AM, koko wrote: > >> I have a stack variable in an Obj-C Interface which is a C++ Class. I call >> a function of this class. If I run the app from XCode it works as expected, >> i.e

C++ Function Call from Obj-C

2013-10-04 Thread koko
this be?" -koko ___ 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 Subscript

Re: Get file from server with iPad App

2013-08-12 Thread koko
On Aug 12, 2013, at 9:21 PM, Kyle Sluder wrote: > Have you not come across NSURLConnection in your assuredly exhaustive Google > search? Yep, right after I posted … ! -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Get file from server with iPad App

2013-08-12 Thread koko
I want to get a file from a server into my iPad App. If I do http://... it launches Safari. I just want the file … what is the proper way to do this? -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: Connect to Server on LAN over WiFI

2013-07-31 Thread koko
On Jul 31, 2013, at 11:56 AM, Alex Zavatone wrote: > URL Loading System Programming Guide Just what I was looking for … thanks! -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments

Connect to Server on LAN over WiFI

2013-07-31 Thread koko
I just need some direction here. Given a server on a LAN how do I connect to the server, i.e what iOS API do I use? -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list

Re: Threads

2013-07-20 Thread koko
On Jul 19, 2013, at 6:57 PM, Graham Cox wrote: > Doing this isn't hard, and it's usually worthwhile to keep your UI responsive > if it has to load and decode images from disk or network. That is the goal. > > The actual display of the cell must be done on the main thread. > > There are seve

Re: Threads

2013-07-19 Thread koko
alls made by Cocoa to display the view will be done a separate thread? -koko ___ 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.

Threads

2013-07-19 Thread koko
are custom drawn. In -drawInteriorWithFrame I calculate if the cell is visible and if so generate its image. The question: How can, or can, the -setNeedsDispay:YES be run on a separate thread? -koko ___ Cocoa-dev mailing list (Cocoa-dev

Re: LATIN SMALL LETTER U WITH DIAERESIS

2013-07-18 Thread koko
my model file name object 2. convert to utf8 to file system representation 3. use it -koko On Jul 17, 2013, at 4:54 PM, Tom Davie wrote: > A workaround would be to use +[NSFileHandle fileHandleForWritingAtURL: > error:] and -[NSFileHandle fileDescriptor] to get you a FD to use in

LATIN SMALL LETTER U WITH DIAERESIS

2013-07-17 Thread koko
defaultManager] fileSystemRepresentationWithPath:filepath]; Then in my low level I/O: FILE* f = NULL; f = fopen(path, mode); f is NULL i.e. path (the cFilePath from above) cannot open a file file writing. How should I get around this? -koko ___ Cocoa-dev

Re: To 'Pinch' or 'Rotate'

2013-07-14 Thread koko
On Jul 14, 2013, at 4:19 PM, Michael Crawford wrote: > gestures are hard to roll yourself Hmm, I am not rolling my own … I drag them to the view in IB and them make outlets and actions. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Pleas

To 'Pinch' or 'Rotate'

2013-07-14 Thread koko
and Rotate to rotate it. -koko ___ 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 Su

mobile_house_arrest

2013-07-10 Thread koko
My iPad App starts up and I get this message in the Console numerous times: mobile_house_arrest[6942] : Max open files: 78 But, I have opened no files. So is this a valid message or some errant iOS thing? -koko ___ Cocoa-dev mailing list (Cocoa-dev

Re: UIPageViewController

2013-06-17 Thread koko
alloc] initWithRootViewController:self.detailViewController]; [nc pushViewController:pageViewController animated:YES]; andI get no display … what fundamental am I missing? -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

UIPageViewController

2013-06-17 Thread koko
full screen. I need some direction here … thanks. -koko ___ 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

Re: iOS Visual Element [link fixed]

2013-06-13 Thread koko
Here is a picture from the docs .. http://highrolls.net/UIActionSheet.png On Jun 13, 2013, at 4:29 PM, koko wrote: > It is UIActionSheet .. > UIActionSheet Class Reference > > On Jun 13, 2013, at 4:03 PM, "Julius Oklamcak" wrote: > >> http://stackoverflow.c

Re: iOS Visual Element [link fixed]

2013-06-13 Thread koko
ounces+juliuso=icodemonks@lists.apple.com > [mailto:cocoa-dev-bounces+juliuso=icodemonks@lists.apple.com] On Behalf > Of Alex Zavatone > Sent: Thursday, June 13, 2013 5:58 PM > To: koko > Cc: Cocoa Dev > Subject: Re: iOS Visual Element [link fixed] > > One really easy way

Re: iOS Visual Element [fuggedaboutit]

2013-06-13 Thread koko
On Jun 13, 2013, at 1:40 PM, koko wrote: > > http://highrolls.net/view.png > > > > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the lis

Re: iOS Visual Element [link fixed]

2013-06-13 Thread koko
http://highrolls.net/view.png ___ 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 Sub

iOS Visual Element

2013-06-13 Thread koko
Besides a UIPopoverController, how is the content view of the UIPopoverController constructed: view.png 291×204 pixels I see it a lot in iPad apps and need to use it. -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

UICollectionView

2013-05-08 Thread koko
it is created? I want the user to see that something is happening. -koko ___ 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

Re: Double tap inside a UICollectionViewCell

2013-05-02 Thread koko
the other gestures that must be tracked. In addition, because the collection view has access to your data source and your layout object, you still have access to all the information you need to manipulate cells and views appropriately. I aint toopid and I kin reed …

Double tap inside a UICollectionViewCell

2013-05-01 Thread koko
(handleTapGesture:) is called if the double tap occurs outside a UICollectionViewCell. The question is how to get a double tap inside a UICollectionViewCell. -koko UITapGestureRecognizer *tapGesture = [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(handleTapGesture

Re: Built-in Activity Types

2013-05-01 Thread koko
I should also note that I want to add my custom activities as well and understand I need to subclass UIActivity but some details would be helpful. On May 1, 2013, at 12:39 PM, koko wrote: > How does one specify which of the built-in Activity Types should be displayed >

Built-in Activity Types

2013-05-01 Thread koko
ivityItems applicationActivities:nil]; I get Mail, Message and Copy activities but would like to customize this list to be Mail, Print,FaceBook. I am stumped! -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin r

Re: UICollectionViewCell

2013-04-11 Thread koko
On Apr 11, 2013, at 8:48 PM, koko wrote: >> Yep, you want to use registerNib:forCellWithReuseIdentifier: > Pilot Error … I had the UIImage view connected to the Files owner not the Cell … all works now Sorry for the noise! -koko ___

Re: UICollectionViewCell

2013-04-11 Thread koko
ib *cellNib = [UINib nibWithNibName:@"NibCell" bundle:nil]; -koko ___ 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)

Re: UICollectionViewCell

2013-04-11 Thread koko
On Apr 11, 2013, at 8:23 PM, Luke the Hiesterman wrote: > How are you registering the reuseIdentifier? Do you use registerClass or > registerNib? [self.collectionView registerClass:[CVCell class] forCellWithReuseIdentifier:@"cvCell"]; ___ Coco

UICollectionViewCell

2013-04-11 Thread koko
(nonatomic, strong) UIImage *sampleImage; and initialized by self.sampleImage = [UIImage imageWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"earth" ofType:@"png"]]; My problem : The image is not displayed in the Cel

Re: NSUbiquityIdentityDidChangeNotification

2013-03-29 Thread koko
lity. In your app’s launch sequence, add an app object as an observer of the NSUbiquityIdentityDidChangeNotification notification, using code such as that shown in Listing 1-3. Is this documentation incorrect? -koko On Mar 29, 2013, at 10:01 PM, Roland King wrote: > That's

NSUbiquityIdentityDidChangeNotification

2013-03-29 Thread koko
and change the iCloud settings, turn off Documents and Data, I do not get notified. Is there something else to be done to receive the notification? -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Master - Detail

2013-03-25 Thread koko
The Master - Detail template for an iOS app is a good place to start but, …. … how does one size the split view to proportions dictated by the new app being developed? I.e. I want the Master to be smaller and the Detail to be larger in the horizontal. -koko

UINavigagtionController

2013-03-25 Thread koko
Given a stack of UINavigationControllers should each be a separate .xib or all in one .xib? -koko ___ 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

Design Guidance

2013-03-23 Thread koko
… or maybe Divine Guidance. I have an iPad project that requires a collection view and since UICollectionView et al is iOS 6 … 1. Use UICollectionView and abandon iOS 5 users 2. Use som iOS 5 collection view (what might that be?) -koko ___ Cocoa

UIPopoverController

2013-03-13 Thread koko
I have seen some popovers that have a wider frame with text information. I cannot find how to specify this style and text an am asking for a pointer to the documentation for this feature. -koko ___ Cocoa-dev mailing list (Cocoa-dev

Re: iOS Document Interaction Technology

2013-02-15 Thread koko
regardless. So, which is it … if anyone can answer. BTW the UTExportedTypeDeclarations malformation was that the array of dictionaries was in an array. Removing the outer array tags made it all good. -koko On Feb 14, 2013, at 12:33 PM, David E Blanton wrote: > > On Feb 14, 2013, at 12

Re: iOS Document Interaction Technology

2013-02-14 Thread koko
On Feb 13, 2013, at 6:30 PM, Jerry Krinock wrote: > But I'm only writing as an iPad user. FYI: "Document Interaction Programming Topics for iOS" Registering the File Types Your App Supports If your app is capable of opening specific types of files, you should register that support with the

iOS Document Interaction Technology

2013-02-13 Thread koko
can handle the file type. This does not happen. Am I overlooking something? -koko ___ 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

Re: NSLayoutConstraints

2013-02-11 Thread koko
Thanks for life saver ! -koko On Feb 11, 2013, at 11:53 AM, Kyle Sluder wrote: > On Mon, Feb 11, 2013, at 10:37 AM, koko wrote: >> Just go bit by not understanding NSLayoutConstraints. >> >> I added a Window to an existing app that deploys on 10.5. Well this new >>

NSLayoutConstraints - 2

2013-02-11 Thread koko
Furthermore, where is the warning that I am building with the 10.8 SDK, deploying 10.5 and that Layout Manager is not available … It is not like I am using an API in my code … this is all IB determined. Hmmm … -koko ___ Cocoa-dev mailing list

NSLayoutConstraints

2013-02-11 Thread koko
Just go bit by not understanding NSLayoutConstraints. I added a Window to an existing app that deploys on 10.5. Well this new Window has constraints so my app now cannot use the new window on pre 10.7 systems. What should I do? -koko ___ Cocoa-dev

Re: CFBundleDocumentTypes [SOLVED]

2013-01-31 Thread koko
I had not launched the Ap from Finder … of course upon doing so Launch Services registered all my new types. Apologies the noise. -koko On Jan 30, 2013, at 8:14 PM, koko wrote: > For a few years now I have defined CFBundleDocumentTypes in my apps > info.plist. The LSItemConten

CFBundleDocumentTypes

2013-01-30 Thread koko
application:openFile is called. I added a 27th entry with a 2 chc ext as com.company.bx I built and installed the app on my machine. I cannot drop or double-click files of extension .bx on my app. What might I be doing wrong? -koko NOTE: I know UTExportedTypeDeclarations in the.plist are for types my app

Sandbox Clarification

2013-01-30 Thread koko
the user for files via the open panel, rather than just browsing for them, my app can use them ? -koko ___ 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

New iTunes UI

2013-01-23 Thread Koko
In the album view if you select and begin to drag a view slides out from the right with drop destinations. The question: Is this sliding view an animated split view or some other form of view animation? -koko Sent from my iPad ___ Cocoa-dev mailing

Re: NSTabviewItem View

2013-01-12 Thread koko
abViewItemView / NSScrollView / -koko ___ 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 Subsc

NSTabviewItem View

2013-01-10 Thread Koko
Is it possible to set the view of a tab view item to scroll view? It does not appear so but I am looking for confirmation one way or the other. In IB if you set the class to scroll view the attributes tab does not show the scroll view attributes. -koko

Re: NSSplitView -drawDividerInRect

2013-01-05 Thread koko
nks Graham. -koko On Jan 4, 2013, at 5:09 PM, Graham Cox wrote: > > On 05/01/2013, at 12:16 AM, koko wrote: > >> I am currently drawing a custom divider via -drawDividerInRect but want to >> improve this and am not sure of the proper approach. >> >> I woul

NSSplitView -drawDividerInRect

2013-01-04 Thread koko
interesting in that with the cursor over the divider and not a button it is the pane splitter and cursor and over a button it is the arrow. How is this divider created and drawn … ? -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Re: scroll bars and visible rect

2013-01-03 Thread koko
and later. Related Sample Code ImageBrowserViewAppearance ImageKitDemo Declared In CAScrollLayer.h On Jan 3, 2013, at 11:07 AM, Kyle Sluder wrote: > On Jan 3, 2013, at 9:54 AM, koko wrote: > >> visibleRect >> >> Returns the visible region of the receiver, in

Re: scroll bars and visible rect

2013-01-03 Thread koko
is not clipped by the containing scroll layer I assume the scroll bars are inside the visible rect; -koko On Jan 3, 2013, at 3:02 AM, Mike Abdullah wrote: > You need to be more specific. What precisely do you mean by "the visible > rect"? > > On 2 Jan 2013, at 22:53,

scroll bars and visible rect

2013-01-02 Thread koko
Are scroll bars inside the visible rect or additive to the visible rect? I ask because we use the visible rect to set the size of a bitmap to display and we are getting some strange behavior from some users and thought they may have scroll bars set to display when scrolling. -koko

Re: Finder Source List Icons

2012-12-30 Thread koko
Thanks to all … and Happy New Year ! -koko On Dec 29, 2012, at 11:36 PM, Charles Srstka wrote: > On Dec 29, 2012, at 10:46 PM, koko wrote: > >> Are the icons in the Finders Source List available to developer apps or does >> the developer have to capture and photoshop th

Finder Source List Icons

2012-12-29 Thread koko
Are the icons in the Finders Source List available to developer apps or does the developer have to capture and photoshop them? -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the

Document Types, imported and exported uti's

2012-12-04 Thread Koko
The iOS programming guide says to use the items in the subject line to tell iOS the docs your app can open. I haven done this and installed my app in an iPad. I have DropBox on the iPad and expected to have DropBox recognize my app for opening a file in the box of my type. But it does not recog

Looking for Direction

2012-11-19 Thread koko
email but no attachment) I am just looking for some direction so I do not spin my wheels needlessly. Thanks! -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the

Re: Parsing XML Files Consisting of a Sequence of Top Level Elements

2012-10-22 Thread koko
e/Update your Subscription: > https://lists.apple.com/mailman/options/cocoa-dev/koko%40highrolls.net > > This email sent to k...@highrolls.net > ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or mo

Re: Static Cocoa Library

2012-10-06 Thread koko
On Oct 6, 2012, at 11:01 AM, Seth Willits wrote: > use a framework to keep the images bundled with the library Does the Framework Bundle behave as an App Bundle, i.e. is Bundle a Bundle no matter what? -koko ___ Cocoa-dev mailing list (Cocoa-

Re: NSViewController

2012-10-06 Thread koko
On Oct 6, 2012, at 2:14 AM, BlueBoy wrote: > Why the cast? Without the cast you get a warning but I guess the biggest faux pas is that I should be calling Alloc on SNPreferencesController no NSViewController as Fritz and Ben pointed out. -k

NSViewController

2012-10-05 Thread koko
ller alloc] initWithNibName:@"SNPreferencesViewController" bundle:nil]; and stepping over I get a value in m_SNPreferencesViewController but its initWithNibName:bundle: is not called. How can this be? -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.a

Static Cocoa Library

2012-10-05 Thread koko
stored? -koko ___ 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: https

Re: Sandboxing not so bad

2012-09-15 Thread koko
Yes, a piece of cake for a piece of cake app. Try doing something like iterating the file system so you can present to the user all files of unique types you understand that can be anywhere on the system. The sandbox is like a cat box … to be avoided at all costs. -koko On Sep 15, 2012, at

Just wondering about Modal Panels

2012-09-12 Thread koko
... maybe zoom the view behind the modal panel ... Or and I doing it up a rope? -koko ___ 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

Re: Code Comments

2012-09-09 Thread koko
On Sep 9, 2012, at 7:35 AM, Mike Abdullah wrote: > NSXMLParser supports NSInputStream directly these days; consider moving to > that That is excellent but for now I must run on 10.5.8 … ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please

Code Comments

2012-09-08 Thread koko
} m_state = NEWMESSAGE; } -koko ___ 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 Subsc

Cocoa - racoon - IPSec

2012-08-31 Thread koko
Any Cocoa samples using raccoon to do IPsec tunneling that you can point me to? -koko ___ 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

Re: Finder Info

2012-08-24 Thread koko
A nice tutorial … thanks! -koko On Aug 24, 2012, at 9:59 PM, koko wrote: > Excellent … much easier than > > make a FSRef > >if(m_FSRef) free((void*)m_FSRef); >m_FSRef = malloc(sizeof(FSRef)); >memset(m_FSRef,0x00,sizeof(FSRef)); >con

Re: Finder Info

2012-08-24 Thread koko
r = FSSetCatalogInfo (m_FSRef,kFSCatInfoFinderInfo,m_FSCatalogInfo); if(osErr != noErr) // handle error } On Aug 24, 2012, at 4:54 PM, Greg Guerin wrote: > koko wrote: > >> I forgot to add that the deployment target is 10.4 … which is why I asked … > &g

Re: Finder Info

2012-08-24 Thread koko
On Aug 24, 2012, at 4:03 PM, Kyle Sluder wrote: > FSSetCatalogInfo JUst did a cursory inspection of FSSetCatalogInfo … looks like the ticket. Thanks Kyle, I'll post my results for others and verification. -koko ___ Cocoa-dev mailing lis

Re: Finder Info

2012-08-24 Thread koko
On Aug 24, 2012, at 2:02 PM, Kyle Sluder wrote: > You want -[NSFileManager setAttributes:ofItemAtPath:error:] in > combination with NSFileHFSTypeCode. I forgot to add that the deployment target is 10.4 … which is why I asked … -koko ___ Coc

Finder Info

2012-08-24 Thread koko
I need to set a file's TYPE in the ancient FinderInfo to TEXT as an older program needs to use the file and it OS8 Open filters on TYPE. I have looked at a number of FSSpec and FSRef but have had no success. If anyone has done this successfully I would sure like to hear about it.

Re: Sandboxing die.die.die

2012-08-22 Thread koko
Apps out of the MAS for know. I am anxiously awaiting Grahams's solution. -koko ___ 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-admi

iOS IB Object

2012-08-21 Thread koko
ahead I moved the action into a UIView and presto no more crash. I do this for OSX, use the blue object cube, assign custom class, connect actions and outlets and all works feel. So, what doI not know about iOS and a similar process? It is like the custom class object does not exist. -koko

UIPickerView

2012-08-15 Thread koko
If I spin wheel of a UIPicker viewand need to pick up my finger to spin some more the item under the selection indicator is chosen. Now I have to go back the the UIPickerView to scroll to my desired selection. How can I make it not 'auto-select' and only select with a ta

Re: NSSegmentedControl in ToolBar [ANSWER]

2012-08-13 Thread koko
So it must be that the KVO of a tool bar item to its underlying control is out of whack. Select the toolbar item and adjust its width. -koko On Aug 13, 2012, at 12:41 PM, koko wrote: > Add a Toolbar to a window in IB > > Add a Segmented Control as a Toolbar Item > >

NSSegmentedControl in ToolBar

2012-08-13 Thread koko
he control Run the program The label is center under segment 1 How does one get the label centered under the control? -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments t

Re: 32-bit on 10.8

2012-08-11 Thread koko
Is 64-bit the end or will there be 128-bit? -koko On Aug 11, 2012, at 7:25 PM, Graham Cox wrote: > > On 12/08/2012, at 11:16 AM, Jayson Adams wrote: > >> Poor reading skills are keeping this thread alive. > > > Well, indeed. I quote Greg Parker: > >>

containerURLForSecurityApplicationGroupIdentifier

2012-08-09 Thread koko
When I call: containerURLForSecurityApplicationGroupIdentifier on NSURL I get unknown selector yet the docs say this is how to get the path to the app group container. Is this is bug ? -koko ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com

Re: 32-bit on 10.8

2012-08-02 Thread koko
On Aug 2, 2012, at 1:29 PM, Charles Srstka wrote: > I'd probably recommend moving toward 64-bit now, for the sake of future > compatibility. Yes, I agree. We just don't want to miss 10.8 customers as we move our libs to 64-bit. -koko __

Re: 32-bit on 10.8

2012-08-02 Thread koko
castigation for being the 32-bit app on 10.8 … LOL -koko On Aug 2, 2012, at 12:43 PM, Marcus Karlsson wrote: > > On Aug 2, 2012, at 8:11 PM, koko wrote: > >> I have a number of BSD Static Libraries that support my application. These >> are 'iffy' on 64-bit c

32-bit on 10.8

2012-08-02 Thread koko
I have a number of BSD Static Libraries that support my application. These are 'iffy' on 64-bit compatibility due to the effort required to get them there. If I build a 32-bit app to run on 10.8 does this present any problems/resource issues to the users machi

Re: Icon Overlay on Mac OSX

2012-07-23 Thread koko
On Jul 22, 2012, at 11:02 PM, Alfian Busyro wrote: >> So essentially you'd be building a (very limited and much simpler) >> mini-Finder that only does what is needed for your application. We do this with our apps and it is a good

Re: Open Recent Menu

2012-07-09 Thread koko
The problem was the menu, Open Recent. This is not a NSDocument app and as such had no such menu. I created my own but not didi not get items. So, I added a new File menu from IB, dragged its OPen recent entry to my File menu, deleted the File menu just added. And now it all works. -koko

  1   2   3   4   5   >