On Mar 19, 2009, at 12:12 AM, Peter Zegelin wrote:
I have an NSTableView in a sheet window. It has one column and a
valid dataSource and delegate. There are 128 rows. If I populate the
view with Textcells, sliders or popup button cells the tableview
scrolls normally, but if I populate the
On Mar 19, 2009, at 1:26 AM, tmow...@talktalk.net wrote:
I want to store a list of Strings as an attribute of an entity in
Core Data but there doesn't appear to be a way to use NSArray (or
NSSet or NSDictionary either) as an attribute.?Please can someone
explain how you use an NSArray or
Have a look at the following ...
http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdNSAttributes.html#//apple_ref/doc/uid/TP40001919
-Mic
2009/3/19 Chris Hanson c...@me.com:
On Mar 19, 2009, at 1:26 AM, tmow...@talktalk.net wrote:
I want to store a list of Strings
You can do this quite easily ... just set the entity type as data, and
then leave the archiver as default. Then when you want to use the
array you just have to cast it into the correct type, and CoreData
will handle the unarchiving for you i.e
NSArray *myArray = [myManagedObject
Hi,
I've a NSSegmentedControl, 7 segments (labeled with weekdays), which
has selectedIndex bound through a value transformer (NO reverse
transformation) to NSDates.
Now, one of my awakeFromNib do this:
[sedutaDays setTarget:self];
[sedutaDays setAction:@selector(setWeekDay:)];
[sedutaDays
I went the route of setting the attributed title of all of the items.
It didn't seem to make much sense to have a duplicate of the same
thing when it was unnecessary.
So, to set the font attribute I used the following:
[NSFont menuFontOfSize:[NSFont smallSystemFontSize]]
Any reason why
Namaste!
Thank you for your answer.
I did some digging and found that the real issue is the call for
processPendingChanges that apparently is called via the executeFetch.
According to what I read this is standard behavior.
So, I'd have to say it isn't a bug in this case.
Relative to the
Namaste!
OK, I hit on a solution...
Again, thanks Sean for your reply, further digging following that route got
me what I needed.
I found this post:
http://www.cocoabuilder.com/archive/message/cocoa/2005/9/5/145766
This gave me the template I needed to implement this (abbreviated):
my datasource/tableview is copied from another project that does
exactly the same thing and it scrolls just fine. The console/
debugger etc. show nothing is amiss.
Ashley posted what is most likely the problem.
FWIW, to solve issues like this, use 'sample' and Shark. Include the
sample
Hey,
Check out http://www.cocoadev.com/index.pl?SideBarContent
On Wed, Mar 18, 2009 at 2:44 AM, Oleg Krupnov oleg.krup...@gmail.com wrote:
I wonder if there is a programmatic way in Cocoa to get the list of
Places from the left panel of Finder? (by default populated with
Documents, Desktop,
Below is the code for OutlineView (on your machine in
Developer/Examples/AppKit/OutlineView). It presents an expandable view of
everything on your machine from / (root).
How would I point this app to look at a specific folder (say Library)
located on the desktop?
I've experimented, but
Hi, I posted this on the quartz list yesterday but received no
response, it seems like such a simple thing...
When I add an animation to my layer, it animates, but then snaps back
to its previous position. Is this normal?
growAnimation = [[CABasicAnimation
On 3/18/09 4:01 PM, Rick Mann said:
bool success = [[NSWorkspace sharedWorkspace]
launchAppWithBundleIdentifier: @com.apple.itunes
options: NSWorkspaceLaunchAndHide
additionalEventParamDescriptor: nil
launchIdentifier: nil];
But NSWorkspaceLaunchAndHide does exactly that: it
Modify the rootItem method in FileSystemItem to be the root path that
you are interested in. That's the model object, which you need to
change. The code below is the controller object, and is simply
controlling the view.
.corbin
On Mar 18, 2009, at 4:19 AM, David Yamartino wrote:
Below
Your layer's transform.scale knows nothing of the toValue in the
animation. You have to explicitly set it in the layer in addition to
animating it. This also means that you need to add the animation using
the correct keypath otherwise it will use the default animation
instead of yours.
Hi Matt, thanks for the answer and yes you are right on both fronts:
- if I use fillMode and removeOnCompletion then it is visibly sticky,
BUT when I apply another animation (e.g. shrinkAnimation which scales
To:1, without setting a From value) then it snaps straight back to 1,
probably
Folks;
I have an 10.5 Intel development environment but I am deploying to
10.4 Universal using the 10.4 SDK.
I have a QTMovieView object from IB in a window.
When I run in Debug mode a message appears in the Console.
When I run in Release mode on either platform - no message appears (I
On Mar 19, 2009, at 10:26 AM, Steve Cronin wrote:
Everything works fine, Debug and Release; I would just like to know
what I am trying to be told!
Here's the gist of the message:
shlibs-removed,shlib-info=[num=103,name=AudioIPCPlugIn
one more related question - does anyone the mime-type for plists/binary
plists ? Currently I have setup the mime type for my plist files as
text/plain.
-- Sandeep
On Mon, Mar 16, 2009 at 10:05 PM, Sandeep Chayapathi csand...@gmail.comwrote:
spot on - thanks for the suggestion. I guess I have a
Hi,
I want to report a bug (will file an official bug at bugreporter.apple.com
in a second but wanted to share this with the list to see if any one else
saw this. I included a simple sample code to reproduce it, this sample
code also contains a fix.
Bug in short Terms: KVO or Bindings with a
Ok. You've just raised the bar! ;-) Seems that you would have to
specify the key path you're wanting for each animation which leads me
to think you won't be able to use grouping as you envision as
setAnimations on the CAAnimationGroup only takes an array rather than
a dictionary in which
Did you try using NSArray's -filterArrayUsingPredicate method on the
types array?
On Mar 18, 2009, at 4:39 PM, Jushin wrote:
When I construct types for images,
I just used CGImageSourceCopyTypeIdentifiers as follows for now:
BTW is there any way to construct a types array with selected
Hi Matt, yea it is a bit complex, but it seems to me that what I am
trying to do is actually quite simple:
- when I rollover a layer, it animates position, scale, rotation and
alpha.
- when I rollout, it animates back.
- if I rollover, then midanimation, rollout again, it should animate
On Mar 19, 2009, at 09:53, m...@sky4studios.be wrote:
Bug in short Terms: KVO or Bindings with a custom key like
targetPhoto
here in my example doesn't work properly when that keyPath contains an
extra element like targetPhoto.name and when the object is an
NSController or (subclass because I
Hi,
Need information on how to grok the trigger mounts of autofs on
leopard. is there any API Exists?
Thanks,
Sravanthi.E
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the
I am getting the warning : ERROR:Messages without a matching method
signature will be assumed to return 'id' and accept '...' as arguments while
building the following code. NSData *theResponseData = [NSURLConnection
sendSynchronousRequest:theRequest returningResponse:theResponse
error:theError];
Below is the code for OutlineView (on your machine in
Developer/Examples/AppKit/OutlineView). It presents an expandable view of
everything on your machine from / (root).
How would I point this app to look at a specific folder (say Library)
located on the desktop?
I've experimented, but can't
Hello,
I'm developing Cocoa application with ABPeoplePickerView, and I want
to remove a search field. How can I do it?
Thank you.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to
help
___
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'll address the issue with the animation ignoring your duration
first. Try placing your addAnimation call before the
setValue:forKeyPath. Let me know if that works. Also, you will *need*
to specify a fromValue in your animation. If you want the current
value (in the case where an
Hi,
Let's say I have an NSArrayController that contains Employee objects (Core Data
managed objects if you don't mind). Call this controller simply
'employeesArray'.
I want to create a custom view that displays (editable) text fields on the top
of each other, as many as it takes, that
Based on what you've posted, your source code looks rather messed up.
Presumably you have a NSArrayController subclass with a targetPhoto
property. What kind of property? Is it an array object?
Did you look at the code? The sample code is right there it will tell you
what class it is.
The
2009/3/19 Ulai Beekam ulaibee...@hotmail.com:
I want to create a custom view that displays (editable) text fields on the
top of each other, as many as it takes, that display the *first names* of the
currently selected items in employeesArray. So naturally, how many text
fields are displayed
On Mar 19, 2009, at 11:18, m...@sky4studios.be wrote:
Based on what you've posted, your source code looks rather messed up.
Presumably you have a NSArrayController subclass with a targetPhoto
property. What kind of property? Is it an array object?
Did you look at the code? The sample code is
I would like to implement a plug-in mechanism which will allow a Cocoa
document-based application to load plugins which will implement
subclasses of NSDocument for different file types. This would allow
custom extension of the application to support 3rd party file types,
and could have
On Mar 19, 2009, at 11:18, m...@sky4studios.be wrote:
Based on what you've posted, your source code looks rather messed up.
Presumably you have a NSArrayController subclass with a targetPhoto
property. What kind of property? Is it an array object?
Did you look at the code? The sample code
Hello.
Are there any instructions out there for creating new Xcode projects
in an existing SVN repository on Google Code from within Xcode? For
the only way i could find was to create an empty project in Xcode,
then commit it to the repository from a command line and then create a
new
Hi all,
I'm looking to use an NSPopUpButtonCell as the header cell of table
columns in my KSStaticTreeController inspector. Because I want to
maintain the header column titles, I configure the cell with
-setUsesItemFromMenu:NO, which means I have to provide a menu item
using -setMenuItem:. If I
2009/3/19 Тимофей Даньшин ok5.ad...@gmail.com:
Are there any instructions out there for creating new Xcode projects in an
existing SVN repository on Google Code from within Xcode? For the only way i
could find was to create an empty project in Xcode, then commit it to the
repository from a
On Thu, Mar 19, 2009 at 12:26 PM, Steve Cronin steve_cro...@mac.com wrote:
Here's the gist of the message:
shlibs-removed,shlib-info=[num=103,name=AudioIPCPlugIn
shlibs-removed,shlib-info=[num=104,name=AppleHDAHALPlugIn
This came up not too long ago. It's just GDB gunk. You can ignore it.
Hello.
I have got a method that is an IBAction, and it works quite all right,
it reaches its final curly bracket, but then the whole application
crushes for some reason. But the words [Session started... etc] in the
log appear about three lines before the phrase Finished adding to the
On Mar 19, 2009, at 12:03, m...@sky4studios.be wrote:
In this narrowed down code of the bug it will log this on
removeObserver
(please ignore the Terminating app due to uncaught exception
'NSInternalInconsistencyException', reason) because I just created
simple
main sample code to narrow
Could you, please, expand on that? Am I using too much memory? Am I
not releasing objects correctly? I am really at my wit's end...
On Mar 20, 2009, at 12:12 AM, mm w wrote:
memory
2009/3/19 Тимофей Даньшин ok5.ad...@gmail.com:
Hello.
I have got a method that is an IBAction, and it works
Your problem there is that plist is Apple's semi-proprietary format.
I'm pretty certain no standard MIME type exists. You could make up
your own in accordance with the MIME type rules though.
On 19 Mar 2009, at 16:48, Sandeep Chayapathi wrote:
one more related question - does anyone the
On Mar 19, 2009, at 12:03, m...@sky4studios.be wrote:
In this narrowed down code of the bug it will log this on
removeObserver
(please ignore the Terminating app due to uncaught exception
'NSInternalInconsistencyException', reason) because I just created
simple
main sample code to narrow
Hi Matt, thanks for lengthy reply. At this point, Ive only tried the
first part, and I cannot get it to use the time I'm supplying in the
animation, basically its just doing an implicit animation not
explicit. It doesn't matter whether I setValue before or after the
addAnimation.
2009/3/19 Тимофей Даньшин ok5.ad...@gmail.com:
2009-03-19 23:47:28.204 Untitled[16510:10b] The splitString is 'dra'
[Session started at 2009-03-19 23:47:28 +0300.]
2009-03-19 23:47:28.207 Untitled[16510:10b] The splitString is 'raw'
2009-03-19 23:47:28.211 Untitled[16510:10b] The splitString
Hello again.
Here is what is says in the debugger:
0 objc_msgSend
1 NSPopAutoReleasePool
2 -[NSApplication run]
3 NSApplicationMain
4 main
Here is the stacktrace with the 0th line selected.
0x91edd670 + mov0x8(%esp),%ecx
0x91edd674 +0004 mov0x4(%esp),%eax
0x91edd678 +0008
2009/3/19 Тимофей Даньшин ok5.ad...@gmail.com:
Hello again.
Here is what is says in the debugger:
0 objc_msgSend
1 NSPopAutoReleasePool
2 -[NSApplication run]
3 NSApplicationMain
4 main
Here is the stacktrace with the 0th line selected.
This is indicative of over releasing an object.
Hi, I've used jQuery, but I don't understand the relevance or what you
mean?
On 19 Mar 2009, at 22:30, mm w wrote:
you should really create a html page and play for instance with jQuery
to understand how those mechanisms/API have been designed, and when
you will
understand what you are
lol, thank you very much! you couldn't help with the problem directly,
but at least you put a smile on my face :)
On 19 Mar 2009, at 23:39, mm w wrote:
your design simply sucks, you don't understand the library
I cannot help you on this, I am not Jesus and I cannot save all
people who
Kyle:
Thanks for your reply.
I have done some playing around and I am now a bit closer to being able to do
this on my own.
One more question: If I set my custom view to be an observer for employeesArray
with the keyPath selectedObjects, my custom view indeed does get an
2009/3/19 Ulai Beekam ulaibee...@hotmail.com:
One more question: If I set my custom view to be an observer for
employeesArray with the keyPath selectedObjects, my custom view indeed does
get an observeValueForKeyPath: message whenever the employeesArray selection
changes. Observing
Thanks, Corbin.
Yes, I had misunderstood rootItem and that was the problem.
David
On Fri, Mar 20, 2009 at 1:29 AM, Corbin Dunn corb...@apple.com wrote:
Modify the rootItem method in FileSystemItem to be the root path that you
are interested in. That's the model object, which you need to
On 18 Mar 09, at 02:23, developers mac wrote:
I am getting the warning : ERROR:Messages without a matching method
signature will be assumed to return 'id' and accept '...' as
arguments while
building the following code. NSData *theResponseData =
[NSURLConnection
Hi all, this is an old message I know, but I run into the same issue,
the successive answers were wrong:
this is definitely a Debugger issue, this is only happens in a gdb
session, the debugguer doesn't forward sighandlers then the
StandardOutput is not restored, and if you run an another task
Hello,
I am still a Cocoa beginner and looking for some help. Based on Using a Table
Data Source in the Table View Programming Guide I have initiated my Table View
with 2 columns...one for filenames and one for checkboxes (NSButtonCell).
Everything is fine except this method:
-
I have a library that potentially creates and invalidates/destroys a
lot of NSTimers. Basically, users request operations to be completed
and they pass an optional timeout. If the operation completes in the
appropriate time, the timer is invalidated. Otherwise the timer
fires, and the
Hello, i'm learning Cocoa and objective-C , so far i'm loving it, Xcode is
great and usually the documentation is really good for my problems, but this
time i'm stumped...
as a learning project I decided to create a simple twitter client, i did
all was ok, but now im complicating it a bit
so
I'm building a viewer for event logs that needs to support a wide range
of scales (say from seconds/inch to nanoseconds/inch). I've got a
custom
subclass of NSView for displaying this information, which I want to
embed
in an NSScrollView. The problem that I'm faced with is that the
if this is xml plain/text
if this is bin application/octet-stream
On Thu, Mar 19, 2009 at 3:02 PM, Mike Abdullah
cocoa...@mikeabdullah.net wrote:
Your problem there is that plist is Apple's semi-proprietary format. I'm
pretty certain no standard MIME type exists. You could make up your own in
you should really create a html page and play for instance with jQuery
to understand how those mechanisms/API have been designed, and when you will
understand what you are doing you will welcome to come again
Cheers!
On Thu, Mar 19, 2009 at 3:26 PM, Memo Akten m...@memo.tv wrote:
Hi Matt,
There is no manual except a descent knoledge of assembly when you program
You are trying to write at freed address
On 3/19/09, Тимофей Даньшин ok5.ad...@gmail.com wrote:
Hello again.
Here is what is says in the debugger:
0 objc_msgSend
1 NSPopAutoReleasePool
2 -[NSApplication run]
3
your design simply sucks, you don't understand the library
I cannot help you on this, I am not Jesus and I cannot save all people who
are pretending to program, once again I did complex design with CA related API,
and I have never been stuck in this kind of issue, so I let you think,
nobody can
My guess would be that you either need to move the definition of
parsexmlFileData earlier in the file than where it is called. Or you
can put the signature of the method in the header file in the
interface section for the class.
On Wed, Mar 18, 2009 at 2:23 AM, developers mac
Interface Builder used to call bound properties by the Objective-C
property name. For example NSWindow had a bound property
representedFilename.
Now in Interface Builder the bound property is Represented Filename
(capitol R space capitol F). I seem to be constantly confused as to
why the
On Mar 19, 2009, at 7:37 PM, Richard Somers wrote:
Interface Builder used to call bound properties by the Objective-C
property name. For example NSWindow had a bound property
representedFilename.
Now in Interface Builder the bound property is Represented Filename
(capitol R space capitol
On Mar 18, 2009, at 1:28 PM, has wrote:
Oleg Krupnov wrote:
I wonder if there is a programmatic way in Cocoa to get the list of
Places from the left panel of Finder? (by default populated with
Documents, Desktop, Home, Application, but can be customized with
drag
and drop). Thanks!
Hello,
I want to draw angled gradients with multiple sharp transitions using
NSGradient. I am not getting very smooth transitions between the
colors. Please take a look at my attachment to see the problem. Are
there solutions without having to use NSShading?
Thanks,
Phi
code
- (void)
On Mar 19, 2009, at 1:51 PM, Robbie Hanson wrote:
However I'm not sure how safe it is to use the setFireDate method of
NSTimer. Consider the following code:
NSTimer *timer = [NSTimer scheduledTimerWithTimeInterval:0.2
target:self
seriously you should think to use a GLView,
you also have to think to lock your context...
2009/3/19 Phi Le iam...@gmail.com:
Hello,
I want to draw angled gradients with multiple sharp transitions using
NSGradient. I am not getting very smooth transitions between the
colors. Please take a
On Mar 19, 2009, at 9:05PM, Chris Hanson wrote:
Bindings in Cocoa are not the same thing as the properties that may
be used to implement their storage. For example, that an NSWindow's
Represented Filename binding may be implemented via its
representedFilename property could be considered
I have tried for a few weeks now to try and decipher this myself on
the web, the archives, etc... without success. The problem I have is
that I cannot reproduce this myself. But I've had a few customers who
have sent me their crash logs and they are all identical. About 500
lines of this:
On Mar 19, 2009, at 11:49 PM, Richard Somers wrote:
On Mar 19, 2009, at 9:05PM, Chris Hanson wrote:
Bindings in Cocoa are not the same thing as the properties that may
be used to implement their storage. [...]
The Cocoa Bindings Reference documentation lists all built-in
bindings that
74 matches
Mail list logo