hey
as part of an application i am working on, i have made a chat client in the
style of ichat with pics and bubbles and such. i am currently doing this
using an NSTableView bound to an NSArrayController in entity mode, with a
custom NSCell in the tableview to draw the pictures, speech bubbles and
It seems like I did a mistake in Interface Builder setting my image as
button image, not as background. Because of that showsTouchWhenHighlighted
effect must not have worked. Now its adding some nice effect without any
hard work
Sorry :(
___
Cocoa-dev ma
I have a very simple object model that contains, along with 4 or 5 others, an
abstract entity.
The app uses NSPersistentDocument.
I have created a new model version that changes a transient property to a
modelled property in an entity derived from the above abstract entity.
I have created my map
Hi,
I managed to customize the NSSlider, similarly is there anyway with which I
can customize the tableview's scrollbar?
Any pointers highly appreciable.
Regards
Mustafa
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
Under 10.5.6 there were acknowledged issues with the magic combination of Core
Data, Garbage Collection and NSPersistentDocument SQL Store.
See http://lists.apple.com/archives/Cocoa-dev/2009/Feb/msg00176.html
I cannot see a ref for this in the release notes for 10.6.
Was the issue resolved in 10
I don't think this is possible publicly, and non-public methods
shouldn't be discussed here.
Luke
Sent from my iPhone.
On Nov 21, 2009, at 10:25 PM, Chunk 1978 wrote:
textfields in the iPhone SDK default to a blue color. i would like to
change this color to white. i've checked the docs,
On Nov 22, 2009, at 2:06 AM, Richard wrote:
> as part of an application i am working on, i have made a chat client in the
> style of ichat with pics and bubbles and such. i am currently doing this
> using an NSTableView
This works, but you'll find it difficult to handle multi-line messages.
NST
jonat...@mugginsoft.com (jonat...@mugginsoft.com) on 2009-11-22 9:08 AM said:
>Under 10.5.6 there were acknowledged issues with the magic combination
>of Core Data, Garbage Collection and NSPersistentDocument SQL Store.
>See http://lists.apple.com/archives/Cocoa-dev/2009/Feb/msg00176.html
>
>I can
Hi folks!
I really need your help to make up my mind:
For the last year I develop a hobby solution, which consists of a stand-alone
application, a QuickLook and a Spotlight plugin. While the app is shareware,
the plugin can be used for free. Currently I distribute all of them as three
single f
Shane wrote:
Yeah, I've already done that. But I'm still seeing that self has two
different addresses when I print it out in either createDictionary, or
numberOfRowsInTableView. So the problem hasn't gone away.
There are two self's, I.e. two different instances. The name 'self'
isn't a sin
On 22.11.2009, at 01:50, Jens Alfke wrote:
> Sure, you can do that. As I said, there's no particular trick for deleting
> the uninstaller. The filesystem won't stop you from deleting your own binary
> (or moving it to the trash.)
>
> I've seen uninstallers in the form of AppleScripts. They're ea
On 22.11.2009, at 19:26, Matthias Arndt wrote:
> For the last year I develop a hobby solution, which consists of a stand-alone
> application, a QuickLook and a Spotlight plugin. While the app is shareware,
> the plugin can be used for free. Currently I distribute all of them as three
> single fi
Hi Uli,
am 22.11.2009 um 19:53 schrieb Uli Kusterer:
> You can put your Quicklook and Spotlight plugins inside your application
> package, IIRC. Something like MyApp.app/Contents/Library/Spotlight/ or
> something like that. The OS will automatically pick up the plugins from there
> (check the
On 22.11.2009, at 20:27, Matthias Arndt wrote:
> Thanks, yes, I do remember this ... So I could just distribute the app (with
> included plugins), but a post-flight script would be necessary to index all
> already existing files with the Spotlight plugin. Which would require user
> interaction o
On Nov 22, 2009, at 10:44 AM, Uli Kusterer wrote:
> Well, you may want to quit your app before you delete it, though (and refuse
> to uninstall until the user has quit it). Files may only actually get deleted
> when they're closed, but all the resources in your file package will
> generally on
On Nov 22, 2009, at 11:27 AM, Matthias Arndt wrote:
> a post-flight script would be necessary to index all already existing files
> with the Spotlight plugin. Which would require user interaction or an
> installer, so I'm back at my problem: installer or (more or less) complicated
> installat
Tool tips associated with the contents of views that are dynamically added to
and moved within a window's content view are improperly displayed, or not
displayed at all, when the window is eventually displayed in Mac OS X 10.6.x.
That is, similar to cursor rects, tool tip regions are supposed t
For anyone interested, here's my workaround.
Problem: NSWindow's
setCollectionBehavior:NSWindowCollectionBehaviorMoveToActiveSpace
doesn't work.
Fix: Subclass NSWindow, override makeKeyAndOrderFront: (and/or
orderFront:, orderBack:, depending on your needs).
- (void) makeKeyAndOrderFront:(id)sen
On Nov 22, 2009, at 03:39, jonat...@mugginsoft.com wrote:
> I have a very simple object model that contains, along with 4 or 5 others, an
> abstract entity.
> The app uses NSPersistentDocument.
>
> I have created a new model version that changes a transient property to a
> modelled property in
Hi,
I have a separate XIB in which there is an NSPanel containing an image
view to set an image. When I call a method, it creates a new instance
of the controller for the nib, loads the nib, and then sets the image
of the image view via the controller object. Like this:
- (IBAction)newIma
On 23/11/2009, at 9:06 AM, PCWiz wrote:
> @interface ImagePanelController : NSObject {
I don't know what the problem is with your code, but why not make
ImagePanelController a subclass of NSWindowController? That way you get a) a
cleaner, simpler API for loading the nib, and b) an already deb
On 22-Nov-09, at 5:06 PM, PCWiz wrote:
I have a separate XIB in which there is an NSPanel containing an
image view to set an image. When I call a method, it creates a new
instance of the controller for the nib, loads the nib, and then sets
the image of the image view via the controller obje
Good to know that I'm not the only one experiencing this. The easiest
solution I guess is to keep an array of the controller objects, which
I will try. Is this how you mean:
NSMutableArray *controllerObjects = [[NSMutableArray alloc] init];
ImagePanelController *newController = [[[ImagePanelC
On 23/11/2009, at 8:32 AM, Ben Haller wrote:
> This same thing has been biting me. The problem is, I am guessing, that
> nothing in your code keeps a strong reference to your controller. Making a
> window with a controller creates an isolated group of objects that are not
> referenced from t
On 23/11/2009, at 8:49 AM, PCWiz wrote:
> Good to know that I'm not the only one experiencing this. The easiest
> solution I guess is to keep an array of the controller objects, which I will
> try. Is this how you mean:
>
> NSMutableArray *controllerObjects = [[NSMutableArray alloc] init];
> I
On 22.11.2009, at 20:52, Jens Alfke wrote:
> On Nov 22, 2009, at 10:44 AM, Uli Kusterer wrote:
>> Well, you may want to quit your app before you delete it, though (and refuse
>> to uninstall until the user has quit it). Files may only actually get
>> deleted when they're closed, but all the resou
Thanks for everyone's help, what I'll probably end up doing is
creating a panel manager class to keep strong references to the panels.
On 2009-11-22, at 3:58 PM, Rob Keniger wrote:
On 23/11/2009, at 8:49 AM, PCWiz wrote:
Good to know that I'm not the only one experiencing this. The
easies
Hi
I was trying to create a square thumbnail from a picked image from
UIImagePickerController. To create thumbnail I first crop the image a square
and then resizing it to get a thumbnail. Following link having my code
segment doing so
http://cl1p.net/ip/
But still it does not seem like nice squa
Ok, I have fixed this problem. Here is the solution:
First of all, you would need to keep a reference to the controller
object inside the panel itself. I'm not sure if there is a cleaner way
to do it, but I found that subclassing your panel and then adding a
property to keep a reference to
On 23/11/2009, at 11:42 AM, PCWiz wrote:
> First of all, you would need to keep a reference to the controller object
> inside the panel itself. I'm not sure if there is a cleaner way to do it, but
> I found that subclassing your panel and then adding a property to keep a
> reference to the con
Hi All,
I am having trouble binding an NSTreeController's content array to an
NSMutableArray through interface builder.
In the bindings inspector of Interface Builder I bind to file's owner - which
in my case is a subclass of NSWindowController, and set the model key path the
the name of the N
Has anyone else encountered this error?
Printing normally works. Printing to Preview or printing and saving to PDF
fails with this error message.
I checked the Core Printing reference and -108 is not one of the listed error
codes.
The same user can print to PDF on other applications, and can s
On Nov 22, 2009, at 7:32 PM, Gideon King wrote:
> I checked the Core Printing reference and -108 is not one of the listed error
> codes.
It's a generic Carbon error code found in MacErrors.h — memFullErr. (I haven't
seen it since the days of OS 9 but I still know the number by heart :)
—Jens_
On 23/11/2009, at 1:20 PM, Mazen M. Abdel-Rahman wrote:
> In the bindings inspector of Interface Builder I bind to file's owner - which
> in my case is a subclass of NSWindowController, and set the model key path
> the the name of the NSMutableArray I want to bind to. This does not seem to
>
I made the same mistake again, of not posting to the list but to my respondent.
Fritz, I am sorry.
Just to let you know, this was exactly what I required, I managed to get it
working and there was absolutely no additional code required to get it to
restore!
Not that I needed it, but further p
If I have versions of my model, A, B and C, do I only need a mapping model from
A->B and B->C, and if someone wants to upgrade A->C is core data smart enough
to do the two migrations, or do I need a separate mapping model from A->C ?
I wonder if anybody else has seen this particular end case.
I googled for anything remotely like this problem and found nothing really
relevant, and CocoBuilder is down right now.
In a group learning situation last week, one of the people stumbled over a
problem defining and then trying to un-defi
On Nov 20, 2009, at 12:22 PM, Jens Alfke wrote:
>
> On Nov 20, 2009, at 12:09 PM, Michael de Haan wrote:
>
>> Does the, in your opinion, "optional" addition pretty much replace
>> categories as a whole, or is there still a role for them?
>
> It replaces informal protocols. There are many othe
I am using the mysql c library in my application, and have wrapped the C calls
in an objective-C class (source available if needed).
I have added the linking references as per instructions I have found on the web
and when I run my application in debug mode everything works just fine,
however, w
I think your dylib file has been compiled under debug only. When you compile
your app under release, the compiler complains that dylib is compiled under
debug. Recompile your dylib under release then compile your app under
release. Better yet you should add you dylib project (drag and drop) to your
On 23 Nov 2009, at 16:19, Michael Davey wrote:
> I am using the mysql c library in my application, and have wrapped the C
> calls in an objective-C class (source available if needed).
>
> I have added the linking references as per instructions I have found on the
> web and when I run my applic
The dylib is the one that comes from the OS X build of mySQL - I did not build
it myself :o(
On 23 Nov 2009, at 16:50, Karolis Ramanauskas wrote:
> I think your dylib file has been compiled under debug only. When you compile
> your app under release, the compiler complains that dylib is compile
I made a little mistake. It's not a debug/release issue, although that would
give you similar problems. The dylib you have was compiled under different
configuration! Is your project 64 bit or 32 bit? Try changing that.
On Sun, Nov 22, 2009 at 11:52 PM, Michael Davey wrote:
> The dylib is the on
I guess you found the answer as I was typing my correction. Do you have the
source to dylib you are using?
On Sun, Nov 22, 2009 at 11:54 PM, Karolis Ramanauskas wrote:
> I made a little mistake. It's not a debug/release issue, although that
> would give you similar problems. The dylib you have wa
Hi All,
Thanks to Jerry for the feedback.
What I thought was a framework question (why -init was being called instead of
-initWithType:error: in my NSPersistentDocument subclass) turned out to instead
be a tools question. I had placed a breakpoint in -initWithType:error: and
execution did not
I'm trying to join an array of file paths into a single string delimited
by tabs, and I'm getting strange output from NSLog. Here's my code:
// gcc -o stringtest test.m -framework Foundation
// ./stringtest
#import
int main (int argc, const char * argv[]) {
NSAutoreleasePool *pool;
po
NSLog(@"%s", filestring);
filestring is an NSString, you need @"%@" to log it.
___
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
On 22 nov 2009, at 19.28, Kevin Walzer wrote:
> NSString *filestring = [files componentsJoinedByString:@"\t"];
> NSLog(@"%s", filestring);
You're not using the correct formatting character for objects. Change it to:
NSLog(@"%@", filestring);
j o a r
_
Dear list,
I'm having some trouble when I have an NSTableView in an NSSplitView. I have
the table set in IB to resize with the view it's in (all struts clicked). The
table does not fill the full view. I have additionally a button below the
table. Both the table and the button are in the top vie
Well, it may not have been the most elegant of solutions, but it works...
Basically I downloaded the binary tarballs for each of the relevant
architectures from the mySQL download page, and then used lipo to stitch the
client libraries into the universal binary that I needed. As an aside I have
50 matches
Mail list logo