Hi Uli,
thanks for your answer.I want to do the former: when the user enables a mode in
the application, the cursor changes, exactly in the way you described (the
shape changes). The user should be able to use this custom cursor over a
PDFView, a UIScrollView, etc. However, I need the cursor
I have a collection view, with a custom layout, whose layout is changing when
one taps on a cell: the cell becomes bigger. The layout is not a sublass of
UIViewCollectionViewFlowLayout but directly of UICollectionViewLayout.
I update the layout with [self.collectionView performBatchUpdates:
Dear cocoa-dev,
When building a simple UIViewController, do I have to use
addChildViewController: if this VC owns other VCs?(By simple VC, I mean I am
not creating MyCustomNavigationController or something like that; just a plain
old VC)
Imagine for example that I build a view controller
Dear cocoa-dev,
I am facing the following bug with `UICollectionView` in the **horizontal
scrolling mode** (`iOS 8`, `iOS 7`, the only ones I have tested).
I would like to have your views on this bug and on how I could elegantly fix it
(and possibly fix it so that when Apple fixes it, my fix
Dear cocoa-dev,
Running on iPad simulator 6.1, I have a hazardous bug when using core data. The
bug occurs 1 time over 5 approximately when I try to fetch data. The problem
comes from my configuration of the core data stack with nested contexts.
Indeed, when I remove the parent context and
Hi and thanks for your answers.br/br/It was a problem with cocoapods. I
don't know why but even after reinstalling, the script add Pods resources was
not in the build phases.br/br/I added it manually, and now it works.
___
Cocoa-dev mailing list
Dear cocoa-dev,
I am would like to launch a binary as if I launched it via terminal. I tried
the following but it is not working.
NSTask * myTask = [[NSTask alloc] init];
NSArray * arguments = @[@-c, @-l, @'/usr/bin/pico
/Users/colas/myfile.txt'];
[myTask
OK.
But without the simple quotes, it also fails.
With the quotes, the error is
/bin/bash: pico /Users/colas/myfile.txt: No such file or directory
Without the quotes, the error is
Error opening terminal: unknown.
Thanks!
Le Lundi 14 avril 2014 16h19, Jerry Krinock je...@ieee.org a écrit :
Dear cocoa-dev,
I want to do with an `NSTask` what I am able to do in the terminal via
$ myprogram myfile.ext
I know that `myprogram` (I don't have any control on this program) launches
another program `myauxprogram`. Furthermore, the path to `myprogram` is `path1`
and the path to
Hi,
thanks for your answers !
Your idea sounds good. What can I do if I want both shells invoked from
programs and login shells to have the same initialization script? Shall I write
a new script that runs first ~/.login and then myprogram ? Or is there a
simplier way?
In my case, myprogram
I am not an unix-ey guy... br/br/I don't specify explicitly a bash when I
run my program (with NSTask) : I just give the path to the program. If I
discover the path to the shell being used, does it mean that what used to be
the path of my NSTask will become an argument?br/br/About path and
No, it is Mach-O 64-bit executable
___
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
Thanks for your help.br/I guess encountering such situations is part of the
job... And I'm still learning it ;-)br/br/Colasa
href=https://overview.mail.yahoo.com?.src=iOS;br/br/Envoyé depuis Yahoo
Mail pour iPad/a
___
Cocoa-dev mailing list
Thanks Mike for your answer.
I did more tests.
1) the wrappers are not nil
2) the problem occurs also when creating a file via the write method of
NSFileWrapper if I do the following
a) in my packaged file myFolder.myApp, I create a file file1
b) I ask the Finder to show
d) this time, if I check again the content of myFolder.myApp, I don't
see file2 (but file1 is still there)
What does “check again” mean? Did you close the window showing the contents of
myFolder.myApp, then open another one?
Yes, it is what I mean.
I don’t understand this.
, Colas B colasj...@yahoo.fr wrote:
So do you agree that it is strange that I can re-write a folder with
‘NSFileWrapperWritingAtomic’ but not without?
According to your earlier description, you seem to have been able to change a
folder’s contents either way, but you couldn’t see the changes
Dear cocoa-dev,
There is a problem when I try to remove a file from a folder via NSFileWrapper.
I don't know if this is an important info, but the folder is inside a package
(a folder with an extension).
I have a folder (...)/attached_files on my disk.
I create a NSFileWrapper with
Yes indeed, br/br/I'm using this method to manage additional data in a
document.br/Want you say Mike frightens me a little bit, I would not want all
my memory used my extra files when I save the document.br/br/Which options
should I use if I want the file wrapper to read/write as less as
What is the difference between writing a hard link and just ignore this
particular file that has not changed ? If the file is already there, where the
hard link will be created?a
href=https://overview.mail.yahoo.com?.src=iOS;br/br/Envoyé depuis Yahoo
Mail pour iPad/a
Hi, I am having troubles using NSFileWrapper. In order to have a better
understanding of it, I would like to ask you the following question.
Is there a difference between
NSURL *referenceURL, *destinationURL ;
[[[NSFileManager alloc] init] copyItemAtURL:referenceURL
is safer I think. I don't have to deal with the case where no nib is
loaded.
It works well.
Thanks to all for their help.
Colas
Le Mercredi 19 mars 2014 23h14, Colas B colasj...@yahoo.fr a écrit :
Thanks for this very complete answer.
If it can help, I can tell that I also tried to put
I agree with you that the best place for this is
NSDocumentController.br/br/I will try with 'withDelay:0' and will let you
know if it works. If you have a link for information on runloops (what is it,
how it works, etc.), I am interested.br/br/Thanks for your interest and
your
Thanks for this very complete answer.br/br/If it can help, I can tell that
I also tried to put the 'saveDocument:' in the 'didLoadNIb' (without the
'afterDelay') and it also create deadlock.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Hi (this is my first email on the Apple mailing list) ;-)
I would like to perform `saveDocument:` in the process of opening a document (I
call this method in `- (id)initWithContentsOfURL:ofType:error:`.
It does not work because of a deadlock.
I would like to know if you have any idea about
in Obj-C. Can
anyone point me in the direction of some relevant literature regarding usb
devices how to read them? Thank you very much.
ronald b. kopelman
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
the literature to no avail. What
am I missing?
ronald b. kopelman___
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
sharedApplication]
runPageLayout:sender];} but why should I have to do this? Are the menus not
responding because they are not part of my key window?? Also, on an unrelated
tangent, how does one go about soliciting beta testers? Thanks for any advice.
ronald b
hints or suggestions as to
this behavior?
ronald b. kopelman___
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
drive! Good luck.
ronald b. kopelman___
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
On Feb 23, 2011, at 6:41 AM, cocoa-dev-requ...@lists.apple.com wrote:
I need to write an application that will scan entire drives and compare files
between the 2 drives. I have already something working but in situations
where there are a lot of files (hundreds of thousands), the memory
]];
[infoView insertText:@\r\r];
}
@end
ronald b. kopelman___
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
including help, nice
graphics drop capability. Seems to work fast too.
ronald b. kopelman___
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
On Jun 24, 2010 Ron Aldrich wrote:
So, first - Given a file path (or URL, if needed), how do I reliably
determine if the path points to a package? And second, how do I reliably
determine if the path points to a hidden item?
Hidden item names begin with a . In your enumeration, check
Hello list ... three questions:
1. CocoaEcho has two main() functions. How come X-Code doesn't complain?
2. How can I create a daemon to run in the background which will
persist across machine boots?
3. How can I kill the daemon if I choose to do that?
--
B. Mitchell
the line:
[self registerForDraggedTypes: [NSArray arrayWithObject:
NSFilenamesPboardType]];
to
[self registerForDraggedTypes:[NSArray arrayWithObjects:NSFilenamesPboardType,
nil]];
might help.
ronald b. kopelman___
Cocoa-dev mailing list
Further to this, I have come up with appears to be a reasonable
solution, but I would like to solicit feedback about the approach:
Rather than insert a NSTextField directly, I am now inserting a NSView
subclass (call it BJJCoverView) as a subview of the content view of
the window. This
content view get the name
of the folder? Please point me in the right direction.
ronald b. kopelman___
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
Hi,
with
ps = ABPerson.alloc.initWithVCardRepresentation(data) # MacRuby syntax
;-)
the generated person is added automatically to the AdressBook database, in
opposite to:
ps = ABPerson.alloc.init # not added
ABAddressBook.sharedAddressBook.addRecord(ps) # now it is
...@codeweavers.com
wrote:
On Oct 9, 2009, at 5:08 PM, A B wrote:
Is there a way to bind an ivar to the currently selected object of a
list which is being represented in an NSTableView via bindings?
Unfortunately there does not seem to be a selectedObject key
(though there is one
Is there a way to bind an ivar to the currently selected object of a list which
is being represented in an NSTableView via bindings? Unfortunately there does
not seem to be a selectedObject key (though there is one for
selectedObjects). Binding to the controller's selection doesn't really
I have a situation in which I would like a column in a table that is bound to
an NSArrayController to display information that isn't actually in the objects
being represented, but is instead the result of an operation that involves a
bit of data in that row's object and a separate bit of data
On Friday, October 09, 2009, at 04:21PM, mmalc Crawford mmalc_li...@me.com
wrote:
On Oct 9, 2009, at 3:17 PM, A B wrote:
I have a situation in which I would like a column in a table that is bound
to an NSArrayController to display information that isn't actually in the
objects being
I have an NSView that is keeping track of a group of objects via an
NSMutableArray ivar (let's call it relatedObjects). Objects in this array are
represented in the view by subviews (i.e. when I add an object to the array, a
new subview appears, when I delete them, the associated subview is
Hi list.
I have a table view with the search bar in it. Search bar is working fine.
I would like to have the view disabled while entering text in the search
field.
I have tried this w/o any success:
//delegate
- (void)searchBarTextDidBeginEditing:(UISearchBar *)bar {
Hi list.
I need to create a rather complex view containing the following from top to
bottom:
A subview about 20p in height;
Two rows of buttons three in each row (both taking a third of a space)
A table view taking about a third of a space
An add banner
I am wondering how this is done. I need
,
Sean
On Tue, Aug 11, 2009 at 10:14 AM, Ronnie B ronny@gmail.com wrote:
Hi list.
I need to create a rather complex view containing the following from top
to
bottom:
A subview about 20p in height;
Two rows of buttons three in each row (both taking a third of a space)
A table view
OK, I'm feeling really REALLY stupid for asking this question, but I've managed
to stump myself so hard that I doubt I have the proper detachment to figure out
the answer for myself any more. My apologies in advance...
I have been playing around with bindings for a while now and LOVE them.
I've built a screensaver for Leopard which utilises core-animation. It
doesn't do anything overly complicated; uses a tree of CALayers and
CATextLayers to produce a table of data in the following
structure/levels:
- root
› maincontainer
› subcontainer
› row [multiple]
› cell
the
resize. Is this at all an avenue worth pursuing or even possible to
pursue? Anyone with pointers to documentation and/or sample code?
Kind Regards,
Geert B. Clemmensen
FrontBase, Inc.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
the window at
the same time that the resize code was resizing the window.
++ Falco
Resizing of my borderless window is now smooth.
Kind Regards,
Geert B. Clemmensen
FrontBase, Inc.
Begin forwarded message:
From: Geert B. Clemmensen gc...@frontbase.com
Date: 8. februar 2009 18.34.36 GMT+01
Hello the list,
The idea is to use an application who needs RTL ( e.g. arabic or
hebrew) and the question is : is there any mirroring in the UI ?
After searching a while, we found no mention of that in the Aqua
Human Interface Guideline.
Thanks in advance for any hint :-)
Eric Bachard
On Jan 15, 2009, at 9:35 AM, David Duncan wrote:
On Jan 15, 2009, at 9:32 AM, David Duncan wrote:
On Jan 14, 2009, at 9:10 PM, Michael B Johnson wrote:
So I have an application that has been bedeviled by a nasty, nasty
bug for years that manifests itself as an exception being thrown
];
NSData* tiffData = [image
TIFFRepresentationUsingCompression:NSTIFFCompressionLZW factor:1.0];
[tiffData writeToFile:imgPath atomically:YES];
[pool drain];
}
}
Thanks for any insight.
-- Michael B. Johnson, PhD
-- http://homepage.mac.com
?
Not acceptable.
-- Michael B. Johnson, PhD
-- http://homepage.mac.com/drwave (personal)
-- http://xenia.media.mit.edu/~wave (alum)
-- MPG Lead
-- Pixar Animation Studios
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
Hi All.
I have a modal dialog that I want to resize dynamically in case if a
validation on an input field fails and I display a validation text bellow
the field. I would like to 'push' the rest of the dialog down, leaving the
rest if the elements proportionally as they were.
Anyone can suggest
, as I need this App working till the end of
the week...
So *any* suggestions are more than welcome!
Regards,
Diez B. Roggisch
//
// WebKitTestAppDelegate.m
// WebKitTest
//
// Created by Diez Roggisch on 12.01.09.
// Copyright 2009 __MyCompanyName__. All rights reserved.
//
#import
{
QTTrackingTimeRangeDirectionForward,
QTTrackingTimeRangeDirectionBackward,
QTTrackingTimeRangeDirectionUnknown
};
typedef NSUInteger QTTrackingTimeRangeDirection;
-- Michael B. Johnson, PhD
-- http://homepage.mac.com/drwave (personal)
-- http://xenia.media.mit.edu/~wave (alum)
-- MPG
? But you see what I'm trying to do? Is there
some other pattern here I'm missing?
Thanks in advance for any help.
-- Michael B. Johnson, PhD
-- http://homepage.mac.com/drwave (personal)
-- http://xenia.media.mit.edu/~wave (alum)
-- MPG Lead
-- Pixar Animation Studios
On Jan 8, 2009, at 3:28 PM, j o a r wrote:
On Jan 8, 2009, at 2:59 PM, Michael B Johnson wrote:
This Sequence has a delegate, that would like to express interest
in the following:
(1) when the current time moves forward into the beginning of an
Element or Marker.
(2) when the current
On Jan 8, 2009, at 3:31 PM, Greg Titus wrote:
On Jan 8, 2009, at 3:28 PM, j o a r wrote:
On Jan 8, 2009, at 2:59 PM, Michael B Johnson wrote:
This Sequence has a delegate, that would like to express interest
in the following:
(1) when the current time moves forward into the beginning
Hi All and Happy New Year ,
I am trying to do something not usual with the modal sheet. I have a field
and a submit button on a sheet, and I want to implement some validation
behavior.
Two things I am trying to achieve are:
1. If the field's data fails my validation, I want to have the colored
forward to getting my
third Core Data under my belt so my intuition for this stuff widens...
-- Michael B. Johnson, PhD
-- http://homepage.mac.com/drwave (personal)
-- http://xenia.media.mit.edu/~wave (alum)
-- MPG Lead
-- Pixar Animation Studios
On Dec 18, 2008, at 11:04 AM, mmalc Crawford wrote:
On Dec 18, 2008, at 10:47 AM, Michael B Johnson wrote:
I have an entity (let's called it MyThing) that has an optional
parentThing relationship. I'm interested in MyThings that either
don't have their parent set, (parentThing == NIL
Thanks for all the insight. A few questions:
On Sep 30, 2008, at 3:08 AM, Ben Trumbull wrote:
So I have a CoreData app (10.5.5, 64 bit only) that has a
NSManagedObject that has an NSColor* that is part of its data model.
Because this color is actually a computed value that we want to
something obvious...
Thanks.
-- Michael B. Johnson, PhD
-- http://homepage.mac.com/drwave (personal)
-- http://xenia.media.mit.edu/~wave (alum)
-- MPG Lead
-- Pixar Animation Studios
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
Hi All.
I have a login dialog with a text field for password and OK and Cancel
buttons. But, unless I hit Enter key, the text field value does not get
submitted. What can I do to have it working only with the OK buttons,
Thanks,
R.
___
Cocoa-dev
for the text field or the login dialog itself, in that method you can
either:
a) call [theTextField commitEditing]; on the text field or
b) call [loginWindow makeFirstResponder:nil];
The second way will take first responder status away from any currently
uncommitted text field editor (ie
Hi All!
I am implementing a login panel. I would like to have 'Ok' button disabled
as long as the password field is empty. Any advise?
R.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
Thanks Randall. It worked.
On Thu, Sep 4, 2008 at 3:42 PM, Randall Meadows [EMAIL PROTECTED] wrote:
On Sep 4, 2008, at 1:33 PM, Ronnie B wrote:
Hi All!
I am implementing a login panel. I would like to have 'Ok' button
disabled
as long as the password field is empty. Any advise
Hello,
Is there an easy way to convert a decimal number to hexadecimal.
NSNumberFormatter does not have an api for that. Any advice.
Thanks,
R.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
That was it. Thanks Gregory.
On Tue, Sep 2, 2008 at 2:08 PM, Gregory Weston [EMAIL PROTECTED] wrote:
On Sep 2, 2008, at 2:04 PM, Ronnie B wrote:
Ok. In my code I have this:
NSString *str = [NSString stringWithFormat:@%x, [NSNumber
numberWithInt:12345]];
NSLog(@ --- hex
Thanks Ben. This was all great information.
The doc link was the key - after I posted, and kept sampling my app, I
figured out a number of these myself, but the doc made me more
confident that I wasn't missing something in Core Data.
On a tangential note, how can I get Instruments to
quick question:
Let's say I have 100,000 ManagedObjects of type A. Each has a one-to-
one relationship to a ManagedObject of type B, which has a reciprocal
one-to-many relationship with all the As.
Assuming I have all 100,000 As around (I've just created them in the
ManagedStore
What would be recommended to do in order to display a tabular data w/o it
being editable or sortable. I would like to have something like the Table
View.
Thanks.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
Seems like I overlooked some properties in Inspector. Thanks for the hint.
On Mon, Jul 21, 2008 at 5:13 PM, Randall Meadows [EMAIL PROTECTED]
wrote:
On Jul 21, 2008, at 2:51 PM, Ronnie B wrote:
What would be recommended to do in order to display a tabular data w/o it
being editable
awakeFromNib was my first guess. Thanks for the pointers.
On Mon, Jul 14, 2008 at 4:07 PM, Scott Ribe [EMAIL PROTECTED]
wrote:
Thats correct. The main window is not covered up. The second window is
not
modal I agree. In the second window I just need to collect some
additional
info
Hi.
I am seeking an advise. I have an app that after loading a MainMenu.nib, it
checks the defaults for some data and if data is not there, the app will
request it via the other NIB (modal window). The Main window shall not be
blocked. What would be a proper way of doing things like that?
Thats correct. The main window is not covered up. The second window is not
modal I agree. In the second window I just need to collect some additional
info that will go the the second's window controller. There will be OK and
Cancel buttons on that window to close it. The main window will not
I am trying to implement a login UI for a small app. The idea is that after
the MainWindow nib is loaded, in case if no credentials were entered, a
modal window asking for name and password will show up. The app will be
blocked unless the modal window is closed either with Submit or Cancel
example is by a good margin better that anything I've found on
Apple's site. Thx. Mike.
Kind Regards,
Geert B. Clemmensen
Begin forwarded message:
From: Geert B. Clemmensen [EMAIL PROTECTED]
Date: 15. februar 2008 10.52.25 GMT+01:00
To: Cocoa Developers cocoa-dev@lists.apple.com
Subject: Front
a
window (without a normal title bar)?
Kind Regards,
Geert B. Clemmensen
FrontBase, Inc.
___
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
81 matches
Mail list logo