X Deployment Target to Mac OS X 10.4.
> (under Deployment)
>
> You'll want to set it for all your configurations: (Debug, Release, etc)
>
> On Sat, Jun 21, 2008 at 12:51 PM, Jacob Bandes-Storch
> <[EMAIL PROTECTED]> wrote:
> > I'm working on a project (with an
;
> I don't know offhand. A quick search on CocoaBuilder for "NSTextView
> flipped" turns up this suggestion to flip the superview:
>
> <http://www.cocoabuilder.com/archive/message/cocoa/2004/6/20/110164>
>
> But I haven't read it closely.
>
> --And
to give us something standard, so everyone's not
> rolling slightly different HUD panels, we should have at least /some/
> standard HUD controls.
>
> Please, please file an enhancement request.
>
>
> --
> m-s
>
>
> On 12 Apr, 2008, at 22:01, Jacob Bandes-Storch
Hey everyone,
I'm new to this mailing list and also new to objective-c/cocoa
programming. I've gone through a book I picked up and I wanted to try
to make a simple, run in the background application. To get to the
point, I was looking through the documentation was looking for some
class t
Yeah, monitor without menu bar will work great, thank you and thanks
to Graham,
-Jake
On Sep 21, 2009, at 11:55 AM, Scott Ribe wrote:
Well I don't think there's a way to directly ask for "the external
monitor",
but look at NSScreen first.
Remember, on Mac it is easy to move the menu bar t
Hello again,
After making headway on my first cocoa app, I have run into an issue.
I have created a NSStatusItem in my class called Application.m. When I
run, the icon appears in my menubar but then disappears and becomes
ineligable to click. I read something somewehere about thr garbage
Yeah, I threw in a release statement after and it didn't do anything
different. When I read your reply, I thought what Bill said, that
garbage collection was different from release/retain statements.
-Jake Schwartz
On Sep 25, 2009, at 7:33 PM, Bill Bumgarner wrote:
On Sep 25, 2009, at 4:3
Hello all,
So I have a code segment that turns an NSString that is a file path on
my computer into an NSURL, archives the NSURL into NSData, and then
puts that into a NSMutableDictionary to be saved in the
standardUserDefaults. I can archive and unarchive the NSData with no
problem, but i
Alright I'll have to do it after I get out of class. I didn't post it
right away in case this was a common mistake, simple use of a wrong
method. Thanks
-Jake
On Oct 1, 2009, at 3:38 PM, "I. Savant"
wrote:
On Oct 1, 2009, at 3:32 PM, Jacob Schwartz wrote:
So I
luteString]: unrecognized selector sent to instance 0x10013a7b0
Thank you again.
-Jake
On Oct 1, 2009, at 3:51 PM, I. Savant wrote:
On Oct 1, 2009, at 3:49 PM, Jacob Schwartz wrote:
I didn't post it right away in case this was a common mistake
That's the problem. If you think about
.
Thanks again for all the help
-Jake
On Oct 1, 2009, at 6:14 PM, Jens Alfke wrote:
On Oct 1, 2009, at 2:19 PM, Jacob Schwartz wrote:
NSMutableDictionary *defaultValues = [NSMutableDictionary
dictionary];
NSURL *url = [NSURL URLWithString:[NSString stringWithFormat:@"/
Use
Hey all,
After some searching through the API, which apparently I am not good at, I
figured asking was easier. Does anyone know of a notification that gets posted
when another screen is added/detected. I figured it would be in NSWorkspace but
I didn't see anything. Thanks.
-Jake Schwartz__
gt;
> - Original Message -
> From: "Jacob Schwartz"
> To:
> Sent: Tuesday, December 29, 2009 6:15 PM
> Subject: Notification when displays are detected?
>
>
> Hey all,
>
> After some searching through the API, which apparently I am not
>
No:
NSNotificationCenter *nc = [[NSWorkspace sharedWorkspace] notificationCenter];
And Paul, it does exist because the other notification I have set up get
recognized works and I c&ped the code.
Thanks for all the help guys.
-Jake
On Dec 29, 2009, at 2:05 PM, Dave Keck wrote:
> Does nc == [N
Dave, victory is yours. What is the difference between that center and my
center?
-Jake Schwartz
On Dec 29, 2009, at 2:05 PM, Dave Keck wrote:
> Does nc == [NSNotificationCenter defaultCenter]?
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Hey everyone,
To start off, Im sorry if this is the wrong mailing for cocoa touch and iPhone
MapKit related questions but I didn't know where else to go and you guys
haven't let me down in the past.
Onto my question. I have an iPhone app that has pins dispersed across an area.
When I click on
Cox wrote:
>
> On 20/01/2010, at 9:49 AM, Jacob Schwartz wrote:
>
>> Onto my question. I have an iPhone app that has pins dispersed across an
>> area. When I click on a pin, the callout pops up as normal, but it is
>> SOMETIMES hidden by the other pins. I cannot fi
useful on Microsoft Windows for
learning chinese:
http://www.mdbg.net/chindict/chindict.php?page=chinese_dictionary_windows
Best regards,
Jacob
--
Jacob Rhoden http://jacobrhoden.com
___
Cocoa
are pages and posts saying there is no documentation!
Does anyone know where I might find information on how to detect the
accessability information under the mouse cursor?
(I continue to search the apple documentation in the mean time)
Thanks,
Jacob
> FROM : Mr. George Warner
> DATE :
e stringFromDate:now];
--
____
Jacob Rhoden http://jacobrhoden.com
___
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)l
searches have been unsuccessful. If someone could point me in the
right direction, that would be a great help. Thanks!
Regards,
Michael
What about creating this view in a separate nib, and loading it each
time you wish to insert it somewhere? Perhaps using +[NSBundle
loadNibNa
ed some light on this situation?
Thank you,
Jacob Lukas
___
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/Unsub
Hi all,
In a separate thread I call:
[self performSelectorOnMainThread: @selector(broadcastMessage:)
withObject: nil waitUntilDone: NO];
Now, is there a way for the main thread to inspect the queue of
pending messages, their targets and arguments?
(I would like my unit test to verify that
it. Is there a better way to do what I'm trying to do?
Thank you,
Jacob Lukas
On Apr 6, 2008, at 22:52, Jacob Lukas wrote:
I have a table of Core Data objects and a set of inspector views.
Depending on the Class(es) of the selection in the table view, the
set of inspector views chan
roxy as my view controller's
representedObject each time the selection changes. This works
beautifully.
If anyone wants the source for my proxy class, I'd be happy to provide
it (free for all use).
Thank you,
Jacob Lukas
On Apr 6, 2008, at 22:52, Jacob Lukas wrote:
I have
/km? How do I display it on screen in a
platform independent way? I cant find any examples in the developer
centre thingy.
Thanks
-jacob
---
http://jacobrhoden.com/
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
CLLocation* venueLocation = [[CLLocation alloc] initWithLatitude:
venue.latitude longitude:venue.longditude];
CLLocationDistance distance = [venueLocation
getDistanceFrom:currentLocation];
Is distance in metres/miles/km? How do I display it on screen in a
platform independent way?
On 19/12/
need to apply a mathematical algorithm using
information from each object to determine which one is greater than the
other.
Thanks!
Jacob
http://jacobrhoden.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please
Im still learning cocoa, so I have a question about if this is a good
idea or a crazy noob mistake. Given the following code can I alter it so
that postreader auto releases itself?
-(IBAction) fetchThreads:(id) sender {
[progress startAnimation:nil];
PostReader* reader = [[PostReader al
sage' function.
Regards,
Jacob
___
http://jacobrhoden.com/
___
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
I have read the memory management documentation over and over but still
cannot work out the problem with this code, can anyone see it? I have
spent hours on this!
+(NSMutableArray*)getStrings {
NSMutableDictionary* dict = [[NSMutableDictionary alloc] init];
[dict setValue: @"" forKey: [
Hi,
Anyone here ever done any Network kernel extensions? I am trying to
start by doing something simple as monitoring network traffic, but the
apple documentation isn't getting me very far?
Anyone know any useful websites or tutorials in this area?
Best regards,
Thanks, I hadn't thought to check some other lists, ill check out what
there is.
On 10/1/09 11:39 PM, Alastair Houghton wrote:
On 10 Jan 2009, at 07:01, Jacob Rhoden wrote:
Anyone here ever done any Network kernel extensions? I am trying to
start by doing something simple as monit
Depending on what sort of data you has, you could try allocating all of
your memory on startup, organised into related "zones". That way you are
not constantly allocating/deallocating anything. Just overwriting
values. This can provide an unbelievable speed inprovement, and low
memory overheads
k out http://developer.apple.com/mac/ (Which I
seem to have automatic access to because I signed up to the iphone dev site)
-jacob
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the mod
7 AM, Alexander Spohr wrote:
NSInputStream?
Am 02.02.2009 um 14:42 schrieb Jacob Rhoden:
I am wondering what the best way to read a text file, line by line,
when the file size is much larger than available memory.
I know there are helper functions like
stringWithContentsOfFile:encoding:error:, but
been of much extra help here.
Thanks!
Jacob
Jacob Rhoden http://jacobrhoden.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the
last line ending to fetch the next large block.
Sounds like a worthwhile blog entry (:
Best regards,
Jacob
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the
line ending is irrelevant, see a \n or a \r and we know we
have reached the end of a "entry" in the log.
Thanks,
Jacob
--
____
Jacob Rhoden http://jacobrhoden.com
___
Cocoa-dev mailing list (Co
)awakeFromNib {
[outline setAction:@selector(loadMemberList:)];
}
-(IBAction)loadMemberList:(id)sender {
if(ldap.connected) {
NSLog(@"Load members");
NSLog(@" site %@ ",[[outline selectedCell] name]);
}
}
Thanks,
Jacob
--
__
On 14/2/09 3:39 PM, Graham Cox wrote:
On 14 Feb 2009, at 12:22 pm, Jacob Rhoden wrote:
I am trying to do an action when an item in an NSOutlineView is
clicked. How do I work out which item was actually clicked on? Ive
tried all sorts of things and nothing seems to work. (Google or
Cocoa
share" the
same resources?
I guess I am looking for direction on how best to use it.
@interface WebsitesController : NSObject {
NSOperationQueue *operationQueue;
}
Thanks,
Jacob
____
Jacob Rhoden http://
egass' "Cocoa
Programming For Mac OS X" third edition book might help.
Jacob
___
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
On Oct 5, 2008, at 09:47, Joseph Ayers wrote:
I'm trying to extract the audio samples from an audio buffer
returned from the QuickTime Audio extraction API into a
NSMutableArray of NSNumbers.
The code I am using is:
AudioBufferList* abl;
NSMutableArray * ipbuf;
N
I am not sure how one would go about working this, Im writing my first
"test" os/x applications and I am thinking this is probably not right.
Am I doing the retain in the correct place? I tried reading the
documentation on NSTextField but it didnt give me a clue about if I
needed to "retain". (
ation,
ie it doesnt make sense to store it in the "Documents" folder.
Best regards,
Jacob
___
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
he simulator:
2009-03-04 22:09:05.095 Test[68041:20b] DATE: Monday 26 January 2009
3:47:33 pm + to 5432224
Im completely stuck on this one! Are are there any other easy ways to
parse dates? Any help appreciated.
Thanks,
Jacob
____
Jacob Rhoden
On 4/3/09 10:15 PM, Jacob Rhoden wrote:
Anyone experience this weird behaviour with date parsing? Given the
following code, it produces a different log output when running in the
simulator or on the iPhone!!!
NSString* test = @"Monday 26 January 2009 3:47:33 pm +";
NSDat
am used to Java's
date parsing being language agnostic)
Best regards,
Jacob
--
Jacob Rhoden http://jacobrhoden.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post a
/ is a really good reference point (its a bit
more terse, and uses language that beginners dont always understand).
(I sent this earlier but it seems to have gotten lost)
Best regards,
Jacob
On 4/3/09 4:40 PM, Biagio wrote:
Hello. My first post. I'm learning to program using Xcode 3.1
Menu insertItemWithTitle: deleteItem
action:@selector(removeSite:) keyEquivalent:@"" atIndex:1];
return theMenu;
}
- (NSMenu *)menuForEvent:(NSEvent *)theEvent {
return [self defaultMenu];
}
@end
Any help much appreciated!
Thanks,
Jacob
__
is skipped.
Hope this helps.
-Jacob
___
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/U
t, and
how to update them if the view is resized?
/Regards
Jacob Kolding
dac...@juvul.com
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
Not to mention that XIBs that have been compiled to NIBs can't be
opened in Interface Builder, meaning you can't edit the interfaces of
newer applications. It takes the fun out of it :(
On Jun 17, 2008, at 12:37 AM, [EMAIL PROTECTED] wrote:
On Jun 16, 2008, at 5:54 PM, William Squires wrote:
I'm creating an application that will have an arbitrary number of
basically identical windows (document-like) which each have tabs (or
something of the sort) in them that represent the actual "documents,"
per se. Would it be best to start out with a Document-Based
Application or just a regu
I'm working on a project (with another developer) that will target
OSes older than 10.5, and I'd like to use the Leopard-only NSWindow
method -setCollectionBehavior:. As far as I know, the best way to do
this is to check for the method using -respondsToSelector:. I need to
use the enum type
I'm making an NSStatusItem with a custom view. In drawRect:, it draws
things based on the value of the "highlighted" instance variable. When
mouseDown: is called, it pops up a menu using the status item's
popUpStatusItemMenu: method. Using the mouseUp: event does not work,
because it is not
For a bit of background, I've got a window, and I'll be swapping its
content view's subview between some other views. One (and more in the
future) of the other views has a subview with "wants layer" set so it
can use some CALayer stuff for fading and such. Now, when I switch
between views f
Dzhumerov wrote:
On 27 Jul 2008, at 07:36, Jacob Bandes-Storch wrote:
[snip]
For resizing, the logical method is -[NSWindow
setFrame:display:animate:]. This all works fine... until a
descendant subview has a layer. Then I get a pause, and the window
resizes without animating. If I remove the
I'm trying to create a Mail-style scroll view, with a view for
information (like the view for message headers) above a text view for
the content. I created two NSViews in Interface Builder, changed the
class of the bottom one to NSTextView, selected both, and clicked
Layout > Embed Objects
On Jul 27, 2008, at 10:49 PM, Andy Lee wrote:
On Jul 27, 2008, at 11:31 PM, Jacob Bandes-Storch wrote:
I'm trying to create a Mail-style scroll view, with a view for
information (like the view for message headers) above a text view
for the content. I created two NSViews in Interface Bu
On Jul 28, 2008, at 7:48 AM, Andy Lee <[EMAIL PROTECTED]> wrote:
On Jul 27, 2008, at 11:31 PM, Jacob Bandes-Storch wrote:
I'm trying to create a Mail-style scroll view, with a view for
information (like the view for message headers) above a text view
for the content. I created
I've got several large-size CSV files (a total of about 1.25 million
lines, and an average of maybe 10 or so columns) that I want to parse
into a 2D array. I found some parsing code that uses NSScanner, and it
works fine with small files, but it's very resource-intensive and slow
with large
I'm trying to use my application icon (icns) in a custom view to be
draw in the background of a window, like Installer.app does. I can do
all this just fine, but when I draw the image using -
drawInRect:fromRect:operation:fraction:, it comes out at 128x128
instead of the full 512x512. -size
I want to implement a custom URL scheme (such that myscheme:whatever
will open my app and somehow pass the URL as a parameter). I've been
looking around for information on how to do that, and I'm getting
mixed messages.
The Info.plist documentation is very clear, and I've got the keys all
It doesn't seem to make sense to use the script suite stuff to receive
the URL event.. shouldn't it be used for scripting only? Or am I
mistaken?
On Aug 9, 2008, at 3:03 PM, Uli Kusterer wrote:
I see some implementations use -[NSAppleEventManager
setEventHandler:andSelector:forEventClass:an
I want to display a modal sheet, but my code isn't currently at the
point where I can split it up. Is there a way to run a modal sheet
synchronously, so the rest of the code after it starts isn't called
until it ends? Or do I have no choice but to restructure this?
__
tives to a sheet, I suppose I'll go for it.
On Aug 15, 2008, at 3:52 AM, Graham Cox <[EMAIL PROTECTED]> wrote:
On 15 Aug 2008, at 3:16 pm, Jacob Bandes-Storch wrote:
I want to display a modal sheet, but my code isn't currently at the
point where I can split it up. Is there
On a similar-ish note, I'm having trouble using libxml. I'm using a
slightly modified version of the appropriate sample code. I need to
make sure that the library is in my project. Since I couldn't find the
library in a convenient place (where are you supposed to get those
anyway?), I just
So are we or are we not getting a specialized (password-protected,
probably) discussion area for the iPhone SDK?
On Mar 10, 2008, at 6:30 PM, [EMAIL PROTECTED] wrote:
That sounds surprisingly plausible.
I imagine a big speech bubble above the Apple campus that says, "Well,
I'm glad we got al
I'm adding a HUD panel to my application. Looking around, I don't see
a way to get the proper style of controls easily. The Human Interface
Guidelines say that HUD controls should be "white with gray accents
and use white or gray text." And yet I don't see a way to get these
controls (gray
Hi all,
I'd like to have an app/daemon/something detect when the computer
becomes active after a period of inactivity, much like iChat does when
it says "Welcome back! Would you like to change your status from ...".
Does anyone have any insight as to the best way to do that?
Thanks in adv
values and for some it
does not. For example, it does not occur when I use 100 and 100, but
it does occur when I use 47 and 47.
Am I doing something wrong or is this a bug?
If I am doing something wrong, how can I do it right?
If it is a bug, how can I work around it?
Tha
there is a simpler way to
achieve my goal?
Any help appreciated!
Jacob Kolding
[EMAIL PROTECTED]
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderato
It's more than one pixel.
First time i noticed it was with a string of about 140 chars which gut
truncated about 10 chars.
Jacob Kolding
[EMAIL PROTECTED]
On Jul 25, 2008, at 11:19 AM, Manfred Schwind wrote:
he problem is that on very large strings sizeWithAttributes comes
up shor
IIRC from my debugging sessions sizeWithAttributes already does that?
Jacob Kolding
[EMAIL PROTECTED]
On Jul 25, 2008, at 1:47 AM, Aki Inoue wrote:
Try using -boundingRectWithSize:options:attributes instead with
NSStringDrawingUsesDeviceMetics.
Aki
On 2008/07/24, at 14:23, Jacob Ole Juul
I been searching for quite a while and reading the source code for
DockScript by still no luck.
Can anyone tell me how to make an Cocoa app launch when a file is drag
'n droped on it's icon?
Any pointer greatly appreciated!
Jacob Kolding
[EMAIL
CFBundleTypeOSTypes
CFBundleTypeRole
Editor
in Info.plist
Thanks!
Jacob Kolding
[EMAIL PROTECTED]
On Jul 26, 2008
left side of the window?
Second, I have a NSTableView with a single column in my window.
The column doesn't automatically resize to fit the width of the table?
Can anyone tell me how to solve these issues?
Jacob Kolding
[EMAIL PROTECTED]
___
.
Another thing when I maximize and then resize the window a tiny bit
the objects all fall into their correct place..?
Jacob Kolding
[EMAIL PROTECTED]
On Jul 27, 2008, at 10:11 AM, Nathan Kinsinger wrote:
On Jul 26, 2008, at 9:02 AM, Jacob Ole Juul Kolding wrote:
Hello List
I've implem
Hello List
I'm been reading the documentation quit a bit but haven't found the
answer.
My problem is that I don't really understand how containers work in
Cocoa,
I know NSView, but how do I add an object to it programmatically, say
a NSImage?
Any pointer greatly appr
81 matches
Mail list logo