On Tue, Mar 30, 2010 at 11:06 PM, Gideon King wrote:
> Any suggestions on how I could get this to work?
Why does it need to be a subview of the scroll view? If you're
targeting 10.6 it sounds like you could just make it a peer of the
scroll view and size it appropriately. Just make sure that you
Hi all
I have a scrollview, and I want to add a fixed position subview on top of it so
it always displays at the same place relative to the top left of the
scrollview, no matter whether the user scrolls the document or resizes etc.
I have tried the following methods, but none of them have left
Hi Nick...
On Sun, Mar 28, 2010 at 12:49 PM, Nick Zitzmann wrote:
>> Is it possible I could create it in a xib file and keep it invisible,
>> and handle closing programmatically so it's not a waste of memory?
>
> Yes.
>
Okay... how? I can uncheck "visible at launch," then how do I control
the vi
I'm still struggling with this. Does anyone know how I can either:
1. Use custom comparators in an NSPredicateEditorRowTemplate or
2. Have two templates with the same left expression and operator, but
different right expression types?
Thanks,
Dave
On Mar 12, 2010, at 7:29 PM, Dave DeLong wr
On Tue, Mar 30, 2010 at 8:35 PM, Tony Romano wrote:
> One obvious method(albeit brute force) is to rebuild the tree controller list
> and redisplay it. For what I want to do, this is way too expensive of an
> operation. In addition, the user can toggle back and forth the preference.
> There
Based on a user preference, I want to be able to selectively show/not show
items contained in the tree controller by an outline view. For example, suppose
the tree controller has these items: A,B,C,D,D,E,F,G,H. The outline view will
normally display all of the items. Now suppose the user sets
On Mar 30, 2010, at 4:01 PM, McLaughlin, Michael P. wrote:
> I have a Cocoa app (Leopard) which launches several Foundation Tool subtasks
> (since threads are not sufficient in this case). Currently, I terminate
> these subtasks via the app-delegate method
>
> -(NSApplicationTerminateReply)appl
I have a UITableViewCell with a custom backgroundView (for custom cell
drawing). To make it look proper with my cell, I need to move both the delete
disclosure indicator (the red circle with a white line through it) and the
Delete button itself over a few pixels. How do I change the position?
T
Thanks for the reply,
I see now what I did wrong, I changed the architectures for the project, not
the target.
Regards,
Marcel
On 30 mrt 2010, at 22:57, David Duncan wrote:
> On Mar 30, 2010, at 1:54 PM, Marcel Borsten wrote:
>
>> I'm using a static lib that is compiled for intel 32/64 bit o
On Mar 30, 2010, at 1:54 PM, Marcel Borsten wrote:
> I'm using a static lib that is compiled for intel 32/64 bit only. I've
> removed all my ppc options from Valid Architectures, but when I'm trying to
> build a Release version I still get the following error: 'missing required
> architecture
Hi All,
I'm using a static lib that is compiled for intel 32/64 bit only. I've removed
all my ppc options from Valid Architectures, but when I'm trying to build a
Release version I still get the following error: 'missing required
architecture ppc in file' for the static libs I'm using. How can
On Mar 30, 2010, at 2:37 PM, John Nairn wrote:
> My application now saves jpeg thumbnail data from an NSImage of a bit map by
> using
>
> [NSBitmapImageRep representationUsingType:properties]
>
> selector and it works fine in Snow Leopard development. When I run the app in
> Tiger, howev
Hi,
I have a simple JNI-based code for embedding WebKit into Swing GUI (I
can post sources if needed). It works fine while in regular Swing JFrame
but it fails to work when added to modal JDialog - events are blocked
apparently. WebKit view shows properly, but if I request a page to be
loaded into
Hi John,
This would mean that you're assuming that a particular NSImageRep retrieved
from an NSImage is an NSBitmapImageRep, and it isn't.
-Ken
On Tue, Mar 30, 2010 at 1:37 PM, John Nairn wrote:
> My application now saves jpeg thumbnail data from an NSImage of a bit map
> by using
>
> [NS
My application now saves jpeg thumbnail data from an NSImage of a bit
map by using
[NSBitmapImageRep representationUsingType:properties]
selector and it works fine in Snow Leopard development. When I run the
app in Tiger, however, the code fails with following selector problem
in the
On Mar 30, 2010, at 4:01 PM, McLaughlin, Michael P. wrote:
> I have a Cocoa app (Leopard) which launches several Foundation Tool subtasks
> (since threads are not sufficient in this case). Currently, I terminate
> these subtasks via the app-delegate method
>
> -(NSApplicationTerminateReply)appl
On Mar 30, 2010, at 2:54 PM, Michael Ash wrote:
>> I see, I really wasn't enough clear. Lets say, I have a method
>>
>> - someMethodWithArgument:(struct *)anArgument
>> andSomeOtherArgument:(id)anotherArgument
>> {
>>// Here I want to create an NSInvocation, capturing the call of this
>>
On Mar 30, 2010, at 1:01 PM, McLaughlin, Michael P. wrote:
> I have a Cocoa app (Leopard) which launches several Foundation Tool subtasks
> (since threads are not sufficient in this case). Currently, I terminate
> these subtasks via the app-delegate method
>
> -(NSApplicationTerminateReply)applic
Hi Mike.
How about having the main app periodically post a notification via
NSDistributedNotificationCenter? The subtasks can observe the notification and
terminate themselves if they don't receive one for some period of time.
-Jeff
On Mar 30, 2010, at 3:01 PM, McLaughlin, Michael P. wrote:
I have a Cocoa app (Leopard) which launches several Foundation Tool subtasks
(since threads are not sufficient in this case). Currently, I terminate
these subtasks via the app-delegate method
-(NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication
*)sender
This works provided one
On 3/30/2010 12:36 PM, Lee Ann Rucker wrote:
NSIsNilTransformerName is the name of the variable defining the
transformer name.
NSLog(@"NSIsNilTransformerName = %@", NSIsNilTransformerName);
NSIsNilTransformerName = NSIsNil
Ah, that makes sense, and it works, thanks!
I'm surprised NSIsNil
NSIsNilTransformerName is the name of the variable defining the
transformer name.
NSLog(@"NSIsNilTransformerName = %@", NSIsNilTransformerName);
NSIsNilTransformerName = NSIsNil
I'm surprised NSIsNil didn't show up in the binding's popup list.
On Mar 30, 2010, at 12:11 PM, James Walker wrote
ANY {Name,Age,Gender} LIKE[cd] "Mar*"
returns Mary, Martin, etc.
ANY {Name,Age,Gender} IN[cd] {"Mary","Martin"}
also works fine, but doesn't take wildcards, as all array operators uses
direct object comparisons. How can I match an array of partial strings, e.g.
{"Mar*", "Li*"}, against the first
Greetings,
CocoaHeads is an international Mac programmer's group. Meetings are free and
open to the public. We specialize in Cocoa, but everything Mac programming
related is welcome.
Austria
Graz - Monday, April 19, 2010 19:00
Wien - Thursday, April 8, 2010 19:00
Canada
Toronto, Ontario - Tues
I'm trying to make a button be disabled if an array controller is being
filtered. So in IB I bound the enabled state of the button to the array
controller, with controller key "filterPredicate" and value transformer
"NSIsNilTransformerName". At run time, an exception is thrown, and the
log ha
Answering my own question here, if anyone has a similar problem, make sure you
don't mess with any outlets BEFORE your awakeFromNib method :P Yeah it's basic
stuff but somehow I didn't noticed that a method I was calling in my
controller's init was resetting a slider to its default position... m
On Mon, Mar 29, 2010 at 2:15 PM, Philip Mötteli
wrote:
> Hi,
>
>
> Am 29.03.2010 um 18:52 schrieb A.M.:
>>
>> On Mar 29, 2010, at 11:07 AM, Philip Mötteli wrote:
>>
>>> I need to temporary save the invocation of a method. For that, I just need
>>> to put the stack frame into an NSInvocation. Unfo
I'm having a very frustrating issue that I can't seem to be able to pinpoint...
When I run my app, I randomly get a crash on startup with the following
message(s) in the console:
==
2010-03-30 13:57:52.59
On Mar 30, 2010, at 6:27 AM, Sven Andersson wrote:
> Anyone that can point me in the right direction, where to look and
> what I should be looking for?
I don’t know, but cocoa-dev isn’t the right list. Check the full list of
mailing lists at http://lists.apple.com to see if there’s one for vide
On Mar 30, 2010, at 2:39 AM, stevejo...@ovi.com wrote:
> I have an application where in I need to list the local shared folders only
> if "File Sharing" is enabled and smb check box ischecked.Is there any way I
> can know if "File sharing" is checked and "Share files and folders using SMB"
>
On Mar 30, 2010, at 2:23 AM, stevejo...@ovi.com wrote:
> OS puts up proper error message, any idea how this is done. Is there any
> Cocoa APIs to mount a remote volume. or at least check if the remote volume
> is reachable.
You’re talking about filesystem mounting APIs, not Cocoa. The darwin-u
On Sat, 27 Mar 2010 16:59:35 -0700, Bruce Sharpe
said:
>I want to add a DOCTYPE declaration to my NSXMLDocument, but can't seem to
>find the right incantation. The thing that comes closest to working is:
>
>NSString *myXMLString = [NSString stringWithFormat:@"encoding=\"UTF-8\"?>"];
>NSXMLDocumen
Hi!
I am looking for a solution to create a "virtual" webcam device under
OS X (that acts just as a normal hardware webcam, but the application
has full control over what to output). I'm fairly experienced with
C++, but not so much with Objective-C and OSX/Cocoa programming.
I have looked into "I
Hi All,
I have an application where in I need to list the local shared folders only if
"File Sharing" is enabled and smb check box is checked.Is there any way I can
know if "File sharing" is checked and "Share files and folders using SMB" is
also checked for the shared folder.
Currently I ha
Hi All
I am newbie to cocoa. I need to mount a volume from my custom browser. I have
used FSMountServerVolumeSync to mount the volume and it works fine for success
cases. But I need to show the error message if it fails. Looks like
FSMountServerVolumeSync won't return proper error codes. ex: if
I have a CALayer that is larger than the window and I move that layer around to
view various sections of it. The layer is also masked by another CALayer. The
problem I have is if I move half of the layer out of view the mask stops
working right. As if the mask is transparent so none of the vi
I fixed the crash.
I had to use GuardMalloc.
Thanks all for the suggestions.
-Arun
On Sat, Mar 27, 2010 at 5:40 PM, Ken Thomases wrote:
> On Mar 27, 2010, at 7:00 AM, Ken Thomases wrote:
>
> > On Mar 27, 2010, at 6:29 AM, Arun wrote:
> >
> >> My application is crashing sometimes with the follo
On 30/03/2010, at 8:32 PM, simon Scylla wrote:
> i need to port some code to iphone and now i find that i can not call system
> interface of objc. i can rename my files from 888.c to ***.m and it works.
> but i do not wanna rename my files.
> what should i do?i think there must be some choice in
On 30/03/2010, at 8:32 PM, simon Scylla wrote:
> i need to port some code to iphone and now i find that i can not call system
> interface of objc. i can rename my files from 888.c to ***.m and it works.
> but i do not wanna rename my files.
> what should i do?i think there must be some choice in
i need to port some code to iphone and now i find that i can not call system
interface of objc. i can rename my files from 888.c to ***.m and it works.
but i do not wanna rename my files.
what should i do?i think there must be some choice in xcode.but i don't
konw..[?]
<<33C.gif>>_
IT WORKS AHHH SUCH A RELIEF!
Thans a lot, guys, you made me see the problem I was having, so I set up the
Set Content binding of the ItemXInvoice Array controller to be
_newInvoice.toItemsXInvoice properly set the relation in the add and
addPredifiened methods, and it did work!.
OMG
41 matches
Mail list logo