Hi All,
Can you tell me where can I get sample project with multiple nib files which
uses Sparkle for update.I am trying to integrate sparkle but my "Check for
Update" is always comes disabled.I have followed the documentation on the
Sparkle's url but not able to proceed much.
Thanks in advance
Arn
Matt,
Tried the IB trick, not sure what else to do to start it as now my
images do not show up at all.
My attract mode timer is still firing, calling setImageWithURL to
change the picture every couple seconds, just nothing visual happens.
Turn off IB fade, pictures show and change fine.
Hi everyone,
I've a small mystery on my hands. When displaying text in the Italic
Garamond font via an NSLayoutManager that has screen fonts disabled
the horizontal space allocated for a normal space (good old 0x20) is
too large.
Here's a screenshot with screen fonts are enabled: [layoutM
On Dec 2, 2008, at 12:34 AM, M Pulis wrote:
Folks,
In the code below, from
http://developer.apple.com/documentation/Carbon/Conceptual/ImageCaptureServicesProgrammingGuide/03HowtoWriteanImageCaptureApplication/chapter_3_section_1.html#/
/apple_ref/doc/uid/TP40005196-CH4-SW1
In the calls CF
Hi!
Does anybody know if there is a simple way to turn on/off the
characters displayed in a Secure text Field? I didn't find any melhod
in NSTextField or NSSecureTextField that does that.
I would like to show bullets by default in a password box, but I offer
a checkbox where the user can
Hello!
I submitted this question to the CocoaDev forums, but didn't really
get a good response:
I am having a rather frustrating problem with an NSTabView in my
preference pane. Basically, I have a simple NSWindow that contains an
NSTabView. This NSTabView contains 4 empty tabs. I managed to
conf
I have defined a color palette I want to access routinely as UIColor objects,
but I am not convinced I am taking the right approach, particularly in regard
to managing memory and minimizing memory used. I have defined a bunch of colors
as follows, and am wondering if there is a better way to do
Hey All-
I'm working on a Preference Pane for my app (System Preferences
plugin) and need to write an array of dictionaries pulled from my
NSTableView to defaults. I don't want to serialize it as data since I
would like it to be editable from the command line as well (for easy
network ad
My client is a NYC-based creative company that focuses on imagining and
making interactive things. They are looking for an iPhone Developer
skilled in Objective-C and Cocoa/Xcode for either a full time, salaried
position or contractual/hourly engagement. Salary / hourly depends on
experience. Ful
I am trying to draw on to a WebView.
For example, I want to draw a box around a DOMNode. I have the node,
but boundingBox seems to give very weird results, that are simply not
useable.
How do I best get the frame/bounds for a particular DOMNode, and then
draw a box around it?
If anyone
It's a little dated but check out the cocoacast video on sparkle:
http://www.cocoacast.com/?q=node/49
Steven Riggs
http://www.stevenriggs.com
On Dec 2, 2008, at 7:00 AM, Arnab Ganguly wrote:
Hi All,
Can you tell me where can I get sample project with multiple nib
files which
uses Sparkle f
Hi,
I am new to iPhone application development. Not sure where to post my
questions, hence mailing you.
I am writing an iPhone application thats parses data returned in XML format
by a server.
I saw the Seismic sample program in iPhone development program as reference.
I am not using multiple thre
Gerriet,
(This really belongs on the xcode-users mailing list rather than cocoa-
dev, I think.)
Following instructions I found on the web, I created the file "~/
Library/Preferences/com.apple.DownloadAssessment.plist" with the
following contents:
http://www.apple.com/DTDs/PropertyList-1.
On 02.12.2008, at 15:43, Jeff Johnson wrote:
Then I logged out and logged back in. This provides a permanent
solution to the dialog problem, not only for Xcode docs but in
general. If you want a more specific solution, try this:
sudo find /Developer/Documentation/DocSets -exec xattr -d
c
Namaste!
Im getting an ambiguous error in my log that I cant readily resolve.
The error is:
Cocoa bindings error: Error accessing bound property of object
: [ valueForUndefinedKey:]:
this class is not key-value coding compliant for the key value
Id like to know to which column (in human t
Here's an example of how to do it with no code...
http://www.stevenriggs.com/Site/Cocoa_Programming.html
Good luck,
Steven Riggs
On Dec 1, 2008, at 8:08 PM, [EMAIL PROTECTED] wrote:
Hey All-
I'm working on a Preference Pane for my app (System Preferences
plugin) and need to write an arr
NSTimeInterval someInterval = [NSDate timeIntervalSinceReferenceDate];
From the docs:
"NSTimeInterval is always specified in seconds; it yields sub-
millisecond precision over a range of 10,000 years."
HTH,
Dave
On Dec 2, 2008, at 12:08 AM, Daniel Luis dos Santos wrote:
Hello,
Not sure I
In my UI there's a spot where it's very useful for the user to be able to
change a window from modal to modeless for a little while. In Carbon, I used
SetWindowModality to do so. How can I do the same in Cocoa? It doesn't look
like I can reconfigure a run loop to do this. Thanks.
I’m getting an “ambiguous” error in my log that I can’t readily
resolve.
The error is:
Cocoa bindings error: Error accessing bound property of object
: [
valueForUndefinedKey:]:
this class is not key-value coding compliant for the key value
I’d like to know to which column (in human terms
Hi Gerriet
Somebody wrote a nice Xcode plugin at:
http://0xced.blogspot.com/2008/09/quietxcode.html
I never tried it myself, but thought it was a cool idea when I googled
for a similar problem.
Regards,
Patrick
On 02.12.2008, at 08:26, Gerriet M. Denkmann wrote:
Whenever Xcode is running
Gary,
I have to apologize here as the IB interface to transitions seemed
like a sure thing to me so I just replied without testing--something I
try to avoid. Anyhow, I've also tried to implement it in IB as well as
in code, but you're right, no dice. Can't make it work on my end either.
M
Hello,
I'm trying to implement a popup menu with a 8x9 grid of small rectangles
to choose from...
I'm trying to use Cocoa's pre-defined functionality as much as possible,
but it seems even from examples from Apple that doing grids in popups
just isn't very Cocoa-ish...
Seems the NSMenu is really
On Dec 1, 2008, at 6:45 PM, DKJ wrote:
I have a subclass of UIImageView, MySubView, which is instantiated
and added as a subview in the viewDidLoad method of a
UIViewController. MySubView displays a picture without difficulty
when its image property is set in its initWithFrame method. But i
Le Dec 1, 2008 à 5:32 PM, Nathan Vander Wilt a écrit :
My Leopard-only application needs to be able to import any image
supported by CGImageSource, so I create an NSOpenPanel and pass the
array obtained from CGImageSourceCopyTypeIdentifiers() to
runModalForTypes. This makes the "Media > Ph
Hi,
I use to get the currentDocument this way
[[NSDocumentController sharedDocumentController] currentDocument]
It works well but not in the following case
My apps opens automatically a document with
- (BOOL)readFromData:(NSData *)data ofType:(NSString *)typeName
error:(NSError **)outE
Yes. I tried that. But it doens't show the characters. It simply
toggles from showing nothing to showing bullets. I want to toggle from
showing characters to showing bullets (I want to reveal what's under
the bullets - it's a long passphrase and easy to mispell)
Helder.
On Dec 2, 2008, at
OK, I gave that a shot...got nada.
First, I got:
No symbol "id" in current context.
So, I took (id) out of the call.
Then I got:
Cannot access memory at address 0x0
I did try the call for the tableView, but got the same as "id" above.
Sorry, I'm a bit new to XCode...
Peace, Love,
On Dec 2, 2008, at 6:06 AM, Martin Wierschin wrote:
I don't expect this is something I'll be able to work around, but
even if I just wanted to report it to Apple, is this a problem with
the font itself or the layout system? Any thoughts?
Most likely this is a font issue, but go ahead and f
Many thanks again for your reply, much appreciated, and for your suggestions.
Actually, I think I might be able to improve things with a better use of
-menuHasKeyEquivalent..., if I understand correctly.
> It's not quite as bad as "all the menus are
> populated for every key combo." What is su
OK, I gave that a shot...got nada.
First, I got:
No symbol "id" in current context.
So, I took (id) out of the call.
Then I got:
Cannot access memory at address 0x0
I did try the call for the tableView, but got the same as "id" above.
Did you paste the lines exactly as they were, o
I used the then-current hex vals.
Peace, Love, and Light,
Jon C. Munson II
"And Jesus looking upon them saith, With men it is impossible, but not with
God: for with God all things are possible." [Mark 10:27; KJV]
I sign "Peace, Love, and Light" for at least two reasons. First, it is my
truest
Eric,
The pref pane window adjusts vertically, but has a static width. The
contents of your window are always centered horizontally in the system
preference pane window. (ie springs are not expected to work) The
width of the system preference pane changed between Tiger and Leopard.
It loo
Do you have an identifier set for each column? Verify by looking in
IB. Then repeat Ben's steps. (Also, I think the (id) is unnecessary).
corbin
Le Dec 2, 2008 à 8:57 AM, Jon C. Munson II a écrit :
I used the then-current hex vals.
Peace, Love, and Light,
Jon C. Munson II
"And Jesus look
I've been talking a lot lately about how NSOperationQueue is broken
(crashes) on Leopard. Rogue Amoeba, my employer, has decided to open
source our replacement, and I wanted to announce it to the list.
RAOperationQueue isn't a 100% replacement. It was written only to take
care of our particular us
On Dec 2, 2008, at 7:28 AM, Russ wrote:
In my UI there's a spot where it's very useful for the user to be
able to change a window from modal to modeless for a little while.
In Carbon, I used SetWindowModality to do so. How can I do the same
in Cocoa? It doesn't look like I can reconfigure
I created a tab-less NSTabView with seven tabs. Each tab is selected
programatically using selectTabViewItemWithIdentifier: (for testing purposes I
have also used selectTabViewItemAtIndex: and selectedTabViewItem:).
At first I noticed that the tabs weren't changing. It was stuck on the default
Basically I have an image preview window (that is simply bound to some
data in my controller)... the size and brightness/control/saturation
of the image can be changed with sliders... when a slider value is
changed, the image data is updated (this is the operation that takes
some time that
On 2008 Dec, 02, at 8:06, gMail.com wrote:
I really build my objects using the dictionary mDocDict. But at this
point
[[NSDocumentController sharedDocumentController] currentDocument]
returns nil..
How to fix this?
Looks like your document is not registered with the
sharedDocumentContr
I have a dialog that lets you experimentally make changes to the file based on
statistical measures. It is modal because when you're messing with it, it is
repeatedly undoing the prior changes then making new ones. It needs to keep a
fairly tight lock on the situation to avoid creating many lar
Yes, the tabview is connected with an IBOutlet. I just confirmed in the
debugger that the tab view's outlet address is valid and that the tab view
being passed into the delegate is the same as the outlet's. It all checks out
OK.
I'm thinking of binding the tab view to a variable instead. Maybe
On Dec 2, 2008, at 8:47 AM, Keith Blount wrote:
The trouble is - unless I'm doing something wrong, which is likely -
that -menuHasKeyEquivalent... doesn't seem to work like this; it
seems to be an all or nothing deal. I can return NO, in which case
none of the menus get populated. But if I
On Dec 2, 2008, at 9:06 AM, Martin Wierschin wrote:
Hi everyone,
I've a small mystery on my hands. When displaying text in the Italic
Garamond font via an NSLayoutManager that has screen fonts disabled
the horizontal space allocated for a normal space (good old 0x20) is
too large.
I f
Namaste!
By "identifier," I presume you mean a name other than the object ID? If so,
I gave the possible columns names.
I re-ran the app, paused, etc., retried Ben's steps. Same result (using the
now-current hex vals).
Sorry, don't mean to be pig-headed, still learning my way around this
envir
Le Dec 2, 2008 à 11:11 AM, Jon C. Munson II a écrit :
Namaste!
By "identifier," I presume you mean a name other than the object
ID? If so,
I gave the possible columns names.
No; the "Identifier" for the table column seen in the first IB
inspector. NOT the "Object ID" for the Interface
Thanks Steven-
That's a helpful example, but does not work in my example.
From my research of Apple's docs, NSUserDefaults, and the
SharedDefaultsController can only save defaults to ~/Library/
Preferences and for the app that is running it (in your example case
com.yourcompany.dictInDefaul
OK, got it. Useful info that...thanks...
Entering:
Po [ identifier]
Gave me the faulty column name. However, after looking at the bindings
(several times over), they aren't wrong.
Should I delete the array controllers, table, etc., and start from scratch,
or is there a better way to fi
OK, nevermind that last message...
I found it.
I undid the bindings for the table column and found a "rogue" "value"
binding at the bottom of the inspector...don't know where that came from...
Undoing that binding not only caused that item to completely disappear but
also fixed the problem.
Th
Thanks, Matt,
Your second effort is much appreciated. At least I can put this
problem away for the moment
I'll take a look at the swapping deal, but, it does seem a bit out of
the way when IB implies functionality and the API's look the way
they do. I'd hate to implement it just to have
Many thanks! Having a separate delegate for the large document-listing menus
sounds a reasonable solution. That will just be one extra delegate in the
MainMenu.nib to handle this and it should fix all my issues - so thank you! One
final question, I promise: does this apply to contextual menus, t
OK, figured out where the "rogue" value came from. Prior to my having
placed a popup in the cell I had a value binding for the base cell. Now I
know to remove those prior to dropping other cell types in, or, better, yet,
don't bind until I have to...:)
Peace, Love, and Light,
Jon C. Munson II
You could use a secure and plain text field bound to the same value
and hide/show one as needed.
Andre Masse
On Dec 2, 2008, at 11:26, Helder da Rocha wrote:
Yes. I tried that. But it doens't show the characters. It simply
toggles from showing nothing to showing bullets. I want to toggle
Context menus are not consulted when searching for key equivalents,
unless they're actually open at the time, so you should not see the
same problem.
Also, all user key equivalents (what users can set in SysPrefs) are
deliberately suppressed in context menus. This is because it would be
Hi Andre,
That's what I ended up doing, but I thought it was a clumsy solution.
It seems to me that to create two visual input objects with the same
dimensions in the same position to handle the same information is at
least unnecessary duplication. I was hoping there would be some
simpler
I am porting an iPhone app to the Mac, and the client desires the
exact same look-and-feel on the Mac as they have on the iPhone. So I
am doing some custom drawing to achieve that. It's mostly going OK,
but I've found myself wasting far too much time on this one little
detail, and it's ki
(This is linked to my last post on the list, however it's a completely
different topic so I posted it separately)
To sum it up, my app allows to do some basic modifications to an image
(brightness/contrast/saturation among others) those are applied
via CIFilters, the app also allows to re
On Dec 2, 2008, at 5:29 PM, Jean-Nicolas Jolivet wrote:
(This is linked to my last post on the list, however it's a
completely different topic so I posted it separately)
To sum it up, my app allows to do some basic modifications to an
image (brightness/contrast/saturation among others) t
Many thanks for both your informative answers and your patience. Your help has
solved both the slowdown and key equivalent issues my program was having with
menus, and I'm very grateful.
Thanks again and all the best,
Keith
--- On Tue, 12/2/08, Peter Ammon <[EMAIL PROTECTED]> wrote:
> From: Pet
I have some tiny images (4x3, etc) that I'm displaying in a large
NSImageView. I set the view with setImageScaling:NSScaleToFit. This
works, but instead of getting well-defined block 'pixels', I get sort
of a 'shower-door' gradient effect within each pixel block.
<>
<>
How can I set the
Hi all!
In my project I'm using instances of NSMutableArray containing various
objects. The arrays are used in the user interface through
NSArrayControllers with binding. In IB I'm thus accessing the objects
in the array through the controller.
In the code I have access to the array conte
Hi all,
I have a document-based app. Doc opening is working well.
Now my app also needs to be able to open .foo files. However, these are
not document files, and there is no NSDocument subclass related to
them. I want to treat .foo files specially (show a special window), and
let Cocoa handle
Well, right now I am using CoreImage (CIImage and CIImageFilters) to
do the brightness/contrast adjustment...
The problem is, I still have to put the result in my NSImageView after
that (which is, I assume, what takes up all this ram??)
On 2-Dec-08, at 6:38 PM, glenn andreas wrote:
On D
I'm creating an animation using NSAnimation. I have created a subclass of
NSAnimation that over loads setCurrentProgress. The delegate is a subclass
of NSImageView. When setCurrentProgress gets called I call my delegate
display method. My drawRect method in my subclass of NSImageView identifies
if
I;m trying to use SCNetworkReachabilityCreateWithName to test for
reachability on my app, but i cannot get it to link the project. The
linker complains about not finding the symbol. Obviously the directive
#import is on place. I
have been able to succefully compile a couple of Apple applic
On Dec 2, 2008, at 15:49, Sean McBride wrote:
1) Subclassing NSDocumentController and implementing
openDocumentWithContentsOfURL:display:error:. This almost works
perfectly. I can detect .foo files and do my special handling, but
when
I return nil, Cocoa 'helpfully' displays a generic error
You're using Helveitca 12.0 as your label font.
Use [NSFont systemFontOfSize:[NSFont systemFontSizeForControlSize:
[yourButton controlSize]]] instead.
Aki
On 2008/12/02, at 13:39, Randall Meadows wrote:
I am porting an iPhone app to the Mac, and the client desires the
exact same look-and-f
On 02 Dec 08, at 16:04, Ariel Rodriguez wrote:
I;m trying to use SCNetworkReachabilityCreateWithName to test for
reachability on my app, but i cannot get it to link the project. The
linker complains about not finding the symbol. Obviously the
directive #import is on
place. I have been abl
I am working on an app, and need to create a "bottom bar" for it.
I could not find any control or info on how to do this, but I noticed
that if I set the Appearance : Texture attribute to true in Interface
Builder (for the window), I seemed to get a bottom bar.
You can see a screenshot here:
htt
If you're targeting Leopard, you can put these 2 lines in your
controller's -awakeFromNib: method:
[[self window] setAutorecalculatesContentBorderThickness:YES
forEdge:NSMinYEdge];
[[self window] setContentBorderThickness: 32.0 forEdge: NSMinYEdge];
Cheers,
Andre Masse
On Dec 2, 2008, at
You'll want to subclass NSImageView and implement your own -drawRect:
method. Call super's implementation, but beforehand, do something like:
[[NSGraphicsContext currentContext] set setImageInterpolation:
NSImageInterpolationNone];
On 2 Dec 2008, at 23:45, Jonathon Kuo wrote:
I have some t
On Dec 2, 2008, at 5:31 PM, Aki Inoue wrote:
You're using Helveitca 12.0 as your label font.
Actually, it's:
(gdb) po labelFont
"ArialMT 12.00 pt. P [] (0x001c0e30) fobj=0x162670a0, spc=3.33"
Use [NSFont systemFontOfSize:[NSFont systemFontSizeForControlSize:
[yourButton controlSize]]] inste
Jean-Nicolas,
I haven't followed all of your previous post, so I may be proposing
something that you have dismissed already...
Is there a reason that you are using NSImageView to display the image
instead of drawing directly (in a custom view) from the CIImage that
is output from the last
You can use my BWToolkit plugin for Interface Builder to add a bottom
bar. The advantage to using the plugin rather than doing it
programmatically (as Andre suggested) is that you'll be able to see
the bottom bar in IB which makes it easy to position UI elements on or
above it.
Here's a l
Totally awesome!
Thank you!
On Dec 2, 2008, at 5:11 PM, Mike Abdullah wrote:
You'll want to subclass NSImageView and implement your own -
drawRect: method. Call super's implementation, but beforehand, do
something like:
[[NSGraphicsContext currentContext] set setImageInterpolation:
NSImag
Interesting... I thought about it but dismissed the idea (can't really
remember why)...
The thing is, though, that I am also doing some fancier stuff with the
pic ( i.e re-sizing and/or cropping, adding a border etc..).. I wrote
all these methods already without CIImage (basically Im using
This snippet:
url = [[[NSURL alloc] initWithString:@"http://
[2001:4860:0:2001::68]/"] autorelease];
NSLog(@"url host=\"[EMAIL PROTECTED]", absolute string=\"[EMAIL PROTECTED]"", [url host],
[url absoluteString]);
url = [[[NSURL alloc] initWithScheme:@"http"
host:@"2001:4860:0:
On 2 Dec 2008, at 22:53, Johnson <[EMAIL PROTECTED]>
wrote:
Gerriet,
(This really belongs on the xcode-users mailing list rather than
cocoa-
dev, I think.)
I do not think so. Viewing the documentation is an integral part of
programming in Cocoa. And I never use Xcode to read documentat
On 2 Dec 2008, at 17:36, Patrick Mau wrote:
Somebody wrote a nice Xcode plugin at:
http://0xced.blogspot.com/2008/09/quietxcode.html
I never tried it myself, but thought it was a cool idea when I
googled for a similar problem.
I just tried it: works perfectly. But it is (at least to me) s
Hi all,I have an external c++ static library and want to use it in my cocoa
project. I just drag the .a file into my project but seems my code didn't find
the methods in the library. I guess maybe I need to set some link path or so,
but I don't know how to set and which parameter, does anyone h
On Dec 2, 2008, at 9:19 PM, BirdSong wrote:
Hi all,I have an external c++ static library and want to use it in
my cocoa project. I just drag the .a file into my project but seems
my code didn't find the methods in the library. I guess maybe I need
to set some link path or so, but I don't k
On Dec 1, 2008, at 7:08 PM, [EMAIL PROTECTED] wrote:
// Notifies of change of data in table view. Make sure to reflect
changes in datasource.
- (void)tableView:(NSTableView *)aTableView setObjectValue:
(id)anObject forTableColumn:(NSTableColumn *)aTableColumn row:
(NSInteger)rowIndex
{
On Dec 2, 2008, at 5:48 PM, Mikael Wämundson wrote:
In my project I'm using instances of NSMutableArray containing
various objects. The arrays are used in the user interface through
NSArrayControllers with binding. In IB I'm thus accessing the
objects in the array through the controller.
On Tue, Dec 2, 2008 at 11:06 AM, gMail.com <[EMAIL PROTECTED]> wrote:
> Hi,
> I use to get the currentDocument this way
>[[NSDocumentController sharedDocumentController] currentDocument]
> It works well but not in the following case
>
> My apps opens automatically a document with
>- (BOOL)r
On Tue, Dec 2, 2008 at 4:10 PM, Helder da Rocha
<[EMAIL PROTECTED]> wrote:
> Hi Andre,
>
> That's what I ended up doing, but I thought it was a clumsy solution. It
> seems to me that to create two visual input objects with the same dimensions
> in the same position to handle the same information is
On Tue, Dec 2, 2008 at 10:59 PM, Larry Campbell
<[EMAIL PROTECTED]> wrote:
> The first line is the correct, desired result; the next two are totally
> borked. So is this just known to be broken? Or is there some way to get it
> to work?
Interestingly enough, the documentation only refers to RFC 18
On 03/12/2008, at 1:53 PM, Jean-Nicolas Jolivet wrote:
since I already have a bitmapImageRep I figured displaying its data
in an NSImaveView was probably not a big loss in terms of
performance... I wonder if drawing directly would be worth it in my
case... and most importantly, if it would
mmm thanks for the info, I'm trying right now to draw directly in a
custom view... unfortunately I still get the same result... on average
each time I regenerate the preview the memory usage in Activity
monitor goes up by approx. 10mb (real memory), and never comes down...
at this rate it c
hmmm while playing with Instruments and Activity Monitor I realized
two things...first, Activity Monitor (as I knew already) is not
really a good indication for finding leaks...
Also, It seems like the memory usage is climbing only when I make
usage of CIImage... if I only re-size/crop the
Hmm I just found an older post that mentions a big memory leak problem
when drawing CIImage offscreen I guess I'll have to do this
differently...
On 3-Dec-08, at 2:20 AM, Jean-Nicolas Jolivet wrote:
hmmm while playing with Instruments and Activity Monitor I realized
two things...first
On 3 Dec 2008, at 01:15:32, Randall Meadows wrote:
And I'm using that because that's what my client used on their
iPhone app, and they want the Mac app to have the exact same look
and feel.
Then why not use Helvetica?
___
Cocoa-dev mailing list
89 matches
Mail list logo