On 21/07/2009, at 4:07 PM, Alexander Bokovikov wrote:
- rename the Object Controller instance, i.e. click on the "Object"
name label below the blue cube, causing its inline editor
appearance, and type something. I used "AppController" name.
- DO NOT change "NSObject" class name at the top
Am 21.07.2009 um 00:38 schrieb Tim Schmidt:
Is there any way to work around this
Yes: find your memory bug.
EXC_BAD_ACCESS almost always is a memory bug in your code.
atze
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do
On 21.07.2009, at 4:07, Kelly Keenan wrote:
Have you figured out what is going on here? If not, can you please
file a bug and send me the bug number? If possible, it would be
really handy to have a very simple project with this same problem.
OK, I've found a time to recall what and how I
On Jul 20, 2009, at 22:16, Daniel Child wrote:
I seem to have fallen into the pitfall you described below. I can
get the table view to display values in a combo box from a data
source, which takes those values from an array in the model. I also
have autocomplete working.
But I can't seem
I seem to have fallen into the pitfall you described below. I can get
the table view to display values in a combo box from a data source,
which takes those values from an array in the model. I also have
autocomplete working.
But I can't seem to get the values I choose to "stick" (remain
d
Thanks for the suggestion! Just from glancing over the example, this
seems like it will yield a lot of good help.
Thanks again,
Dave
On Jul 20, 2009, at 10:19 PM, Jim Correia wrote:
On Jul 20, 2009, at 11:49 PM, Dave DeLong wrote:
The problem I'm facing is that in order to display the RTF
On Jul 20, 2009, at 21:28, Michael A. Crawford wrote:
I've tried the following but I get no output (the view is blank).
- (void)awakeFromNib
{
ndViewController = [[NDViewController alloc]
initWithNibName:@"NDView" bundle:nil];
#if 1
[window.contentView addSubview:ndViewController.vi
On Jul 20, 2009, at 9:28 PM, "Michael A. Crawford" > wrote:
The NIB file is loaded in that I was able set a breakpoint on -
[awakeFromNib] for the NDView class. Yet, I don't see any output.
If I remove the controller and use IB to add the NDView to the
window as a custom-view. I can see t
I've tried the following but I get no output (the view is blank).
- (void)awakeFromNib
{
ndViewController = [[NDViewController alloc]
initWithNibName:@"NDView" bundle:nil];
#if 1
[window.contentView addSubview:ndViewController.view];
#else
[window setContentView:ndViewControll
On Jul 20, 2009, at 11:49 PM, Dave DeLong wrote:
The problem I'm facing is that in order to display the RTF data
properly, I need an NSTextView, but NSTextView has its own enclosing
scroll view that's conflicting with my overall scrollview.
NSTextView doesn't intrinsically have its own scro
On 21/07/2009, at 12:25 PM, Courtney Arnold wrote:
I am expecting that I am going to have to drop down to lower levels.
I want to be able to manually parse an image of a UPC barcode. I
assume that the best way to do so would be to potentially examine
each single pixel.
As others have po
On Jul 19, 2009, at 12:39 AM, Oleg Krupnov wrote:
I want to display one view on top on the other view, so according to
the documentation, I nest the topmost view inside the background view.
It works just fine except that the mouse move messages are sent to
both the subview and the superview, w
Hi Jim -
On Jul 20, 2009, at 11:01pm, Jim Correia wrote:
It would be nice if NSSpellChecker offered a delegate relationship,
something like "willMarkMispelledWordInRange:" ... where I could
choose to have it keep quiet instead.
or the delegate variant:
- (NSInteger)textView:(NSTextView *)t
Hey everyone,
I've got an interesting problem that I thought I could find the answer
to, but have come up short so far.
I'm building a master-detail interface, similar to Mail.app. I'm
struggling with the detail view (displaying the currently selected
item). In Mail, there are areas for
On Jul 20, 2009, at 7:25 PM, Courtney Arnold wrote:
I want to be able to manually parse an image of a UPC barcode.
That's not parsing, that's image recognition. There's a rather
extensive academic literature on the subject.
-jcr
___
Cocoa-dev
On 21/07/2009, at 12:25 PM, Courtney Arnold wrote:
I am expecting that I am going to have to drop down to lower levels.
I want to be able to manually parse an image of a UPC barcode. I
assume that the best way to do so would be to potentially examine
each single pixel.
any information th
[yourButton setHighlighted: YES]?
(from UIControl)
Brian
On Jul 20, 2009, at 4:14 PM, Chunk 1978 wrote:
is there a method within the iPhone SDK that will set off the
highlight of a button without actually touching the button? i have a
lock button that locks a movable object on screen. if t
On Jul 20, 2009, at 9:48 PM, Daniel Jalkut wrote:
I'm trying to figure out how to prevent spell checking in my
NSTextView from being applied to certain ranges within the text
document.
[...]
It would be nice if NSSpellChecker offered a delegate relationship,
something like "willMarkMispe
Hi Courtney,
Two resources that you might consider are the Quartz-dev mailing list and
Programming with Quartz by David Gelphman.
HTH,
Joel
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderat
is there a method within the iPhone SDK that will set off the
highlight of a button without actually touching the button? i have a
lock button that locks a movable object on screen. if the lock button
is pressed and the object is locked, i would like the button to
highlight to signify that the ob
Hi all,I have a strange problem with my app.
I have an entity named Item and a one to one relationship with another
Download entity.
When I want to download an item... I create the entity download with some
property related to size and status of the download. I use a download
controller to show th
Hi,
I'm having a problem with moving files using
moveItemAtPath:toPath:error from NSFileManager. The operation moves a
file as it should, but associated delegate method is not called
(fileManager:shouldMoveItemAtPath:toPath). If I switch from moving to
copying (that is when I use copyItem
Here's some code:
NSString *m_scanString = @"This is a test.";
CFDictionaryRef emptyDic = (CFDictionaryRef)[NSDictionary dictionary];
CFAttributedStringRef attString =
CFAttributedStringCreate(kCFAllocatorDefault,
(CFStringRef)m_scanString, emptyDic);
CFMutableAttributedStringRef linkifiedStr
Hello,
I am trying to get information from a website with post method but I cannot
get the right content. This is the website. I should get the bus schedule
which is displayed after you enter number in the field on the first page.HTML
Code:
http://wbus.talktrack.com/
. Here is the code of the w
Dave,
I've worked with UIPasteboard, which I'm assuming is similar.
dataForType: will contain string data if it's a type such as UTF8
text. My own "PasteboardItem" class had just "data" (NSData) and
"type" (NSString) properties, and it's worked fine for everything.
Once you have the type
Hey folks,
I'm working on a little project: http://recon-mac.googlecode.com , a
frontend for Nmap. My Core Data model looks like this:
http://recon-mac.googlecode.com/files/recon_datamodel.png
I'd like to use a NSTableview to display a list of unique ports in a
selected session. As you c
Daniel Jalkut wrote:
For context, the situation I'm in is my application, MarsEdit,
allows users to edit HTML source code in a regular NSTextView. In a
nutshell, I want to spell-check the users plain-text "content" but
avoid triggering spell-check false positives inside the HTML markup.
I
I am expecting that I am going to have to drop down to lower levels. I
want to be able to manually parse an image of a UPC barcode. I assume
that the best way to do so would be to potentially examine each single
pixel.
any information that you provide, I would appreciate it.
On Jul 20, 200
On 21/07/2009, at 11:50 AM, Courtney Arnold wrote:
I need to programmatically parse/read through the contents of an
NSImage. I am unable to find a tutorial or documentation that would
explain how to do so. I would like to get some input on where I may
be able to search for this information
On Jul 20, 2009, at 9:50 PM, Courtney Arnold wrote:
I need to programmatically parse/read through the contents of an
NSImage. I am unable to find a tutorial or documentation that would
explain how to do so. I would like to get some input on where I may
be able to search for this information
On 21/07/2009, at 11:28 AM, Chase Meadors wrote:
I'm using an NSBrowser with old-fashioned delegate methods. How can
I be notified when the selection changes, and then get the correct
object value for that row and column? Both NSBrowser delegate
methods – browser:selectCellWithString:inCol
I'm trying to figure out how to prevent spell checking in my
NSTextView from being applied to certain ranges within the text
document.
For context, the situation I'm in is my application, MarsEdit, allows
users to edit HTML source code in a regular NSTextView. In a
nutshell, I want to
Hello all,
I need to programmatically parse/read through the contents of an
NSImage. I am unable to find a tutorial or documentation that would
explain how to do so. I would like to get some input on where I may be
able to search for this information.
thank you,
__
Hi,
I'm using an NSBrowser with old-fashioned delegate methods. How can I
be notified when the selection changes, and then get the correct
object value for that row and column? Both NSBrowser delegate methods
– browser:selectCellWithString:inColumn: and –
browser:selectRow:inColumn: which
Hi all,
I am having a lot of problems with NSTableView crashing my
application, when reordering (dragging) columns.
The crashes either take down the whole app and all I get is the
following message:
: __CGPixelAccessDataInitialize: vm_copy failed: status 1.
or, it manages to break into th
Is it expected, normal, documented(?) that putting an image onto a
UIButton turns OFF (in practice) the "shows touch on highlight"
property?
For the life of me I cannot get this to work, neither in the simulator
nor on the device.
Ideas/suggestions?
randy
_
The only way to do this is through migration:
http://devworld.apple.com/documentation/Cocoa/Conceptual/CoreDataVersioning/index.html
On 20 Jul 2009, at 21:33, Squ Aire wrote:
Using plain SQLite one can use alter table to add/remove table
columns after the table has been created.
In the sa
On Jul 20, 2009, at 2:25 PM, David Duncan wrote:
zPosition != 0 does not necessarily mean that there is any
difference in the layer's frame. Unless there is a transform
somewhere that creates perspective, the zPosition has no effect on
the layer's frame (because the z component falls out o
Using plain SQLite one can use alter table to add/remove table columns after
the table has been created.
In the same (or not the same) way, is it somehow possible to dynamically add
attributes to an entity? This would, among other things, involve that when a
new attribute is added, all existin
On Jul 20, 2009, at 11:30 AM, Nick Zitzmann wrote:
This might be a stupid question, but I've searched around and found
no answers. I have a CoreAnimation layer with a zPosition > 0. If
its 3D transform is CATransform3DIdentity, how do I get its exact
frame as it appears on the screen?
zPo
Hello Michael,
Monday, July 20, 2009, 9:00:18 PM, you wrote:
> Looking for the meaning behind the value -43.
> -Michael
GetMacOSStatusCommentString() defined in CoreServices
--
Best regards,
Petermailto:darkmat...@blueyonder.co.uk
On Jul 20, 2009, at 3:04 PM, Benjamin Stiglitz wrote:
Looking for the meaning behind the value -43.
Try MacErrors.h in CarbonCore.
Or just type "macerror -43" at a command shell.
Cheers,
Ken
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
> Looking for the meaning behind the value -43.
Try MacErrors.h in CarbonCore.
-Ben
___
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(
Looking for the meaning behind the value -43.
-Michael
smime.p7s
Description: S/MIME cryptographic signature
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the mo
Take a look at an application I publish called "Script Timer". It
will do what you want. It has a wide variety of scheduling options:
specified time of the day, week, month, or year, on a repeating
interval, and when certain events occur such as the start or end of
idle of your computer, as wel
When you're generating/parsing a date format that's supposed to be
stable like this, you should control the locale/calendar used by the
formatter instead of letting the user settings control it.
For example, your data can be entirely off when the user's calendar is
not Gregorian.
Instead,
This might be a stupid question, but I've searched around and found no
answers. I have a CoreAnimation layer with a zPosition > 0. If its 3D
transform is CATransform3DIdentity, how do I get its exact frame as it
appears on the screen?
I already tried -bounds, and -visibleRect, and -convertR
On 20.07.2009, at 23:13, Ali Ozer wrote:
You probably want to call this when you open a doc, or revert, or do
"save as..." (if you have any of these commands in your app, of
course).
Das ist fantastisch... 8-( )
[[NSDocumentController sharedDocumentController]
noteNewRecentDocumentURL:
You can just go ahead and invoke -noteNewRecentDocumentURL: on
[NSDocumentController sharedDocumentController]. You don't have to
worry about explicitly creating or managing an NSDocumentController,
or do anything else that requires NSDocument.
TextEdit in Tiger did this (before it was con
On 20.07.2009, at 21:47, Graham Cox wrote:
... and use a menu delegate to update the menu from this.
This is just what is unclear for me, as I'm still learning Cocoa :)
Do you have in mind that I must:
1 - create an outlet, pointing to "Open Recent" menu item
2 - create an outlet, pointing
On 21/07/2009, at 1:36 AM, Alexander Bokovikov wrote:
Hi, All,
I'm writing a simple (in GUI) application, where NSDocument is not
used. I use NSOpenPanel to get a file name, then process file and
close it. There is no UI, related to file, where NSDocument could
help significantly. At lea
Hi, All,
I'm writing a simple (in GUI) application, where NSDocument is not
used. I use NSOpenPanel to get a file name, then process file and
close it. There is no UI, related to file, where NSDocument could help
significantly. At least I believe so.
My problem is that Recent menu is empt
On Jul 20, 2009, at 1:35 AM, WT wrote:
I'm trying to reuse (with some modifications)
UITableViewCellStyleSubtitle cells, which have two left-aligned
labels. I want to have both labels and add a right-aligned text
field. All three views must be as wide as roughly half the available
content
I should also have mentioned that you should be able to get the
functionality you need via CFHost.
Luke
Sent from my iPhone.
On Jul 20, 2009, at 6:33 AM, Luke Hiesterman wrote:
Please note that NSHost is NOT publicly supported API on iPhone.
Attempts to use it may result in unexpected beh
Once upon a time Steve Christensen wrote:
> From what you've said below, you probably should be creating a
> custom cell type based on UITableViewCellStyleSubtitle and add the
> third label to your class. At least in NSTableView (I haven't yet
> played with the iPhone), a cell class determines wha
On Jul 20, 2009, at 12:50 AM, James Lin wrote:
Hi all,
I found this code snipet that's supposed to return the iPhone's IP
address.
I am wondering if anyone can confirm the method for me.
As i am told that this method works in an actual iPhone and not on
the simulator.
But i won't have a
Please note that NSHost is NOT publicly supported API on iPhone.
Attempts to use it may result in unexpected behavior and broken
applications in future iPhone revisions. Also, using private classes
is a breach of the iPhone developer terms and conditions. Finally,
using a private class such
From what you've said below, you probably should be creating a
custom cell type based on UITableViewCellStyleSubtitle and add the
third label to your class. At least in NSTableView (I haven't yet
played with the iPhone), a cell class determines what is drawn at a
particular row/column locat
You'll need to draw the custom content yourself by using -[NSDockTile
setContentView:]
On 20 Jul 2009, at 10:33, Jay Reynolds Freeman wrote:
I have cause to display something like an application badge on
the docktile of my app, but the alarums-and-excursions feel of
the standard bright red ba
On 2009 Jul 20, at 02:06, rethish wrote:
I had tried using a plist file and launchd to do it, but it always
opens in
a new application.
Instead of launching your application directly, you need to have
launchd launch a little process of some kind which will do what you
want.
Is this
I have cause to display something like an application badge on
the docktile of my app, but the alarums-and-excursions feel of
the standard bright red badge with zigzag edges is a bit too
strident for what I have in mind. Can anyone point me at a
scrap of code that would give me the functionality
hi,
I want to schedule my application on a specified time.
When the application is not running , the application should open on the
specified time and process the scheduled task .
If the application is running , the scheduled task should be processed
within the application [without opening in a
On Jul 19, 2009, at 11:51 PM, Kyle Sluder wrote:
On Jul 19, 2009, at 11:36 PM, KK wrote:
Does the iPhone have NSURLConnection? If so, you can just point
that to
www.whatismyip.com or a similar site, and just parse the information.
This is ridiculous. Send an HTTP request to an unreliable
Hello,
I'm trying to reuse (with some modifications)
UITableViewCellStyleSubtitle cells, which have two left-aligned
labels. I want to have both labels and add a right-aligned text field.
All three views must be as wide as roughly half the available content
view width.
It should be a tr
On Jul 19, 2009, at 10:50 PM, James Lin wrote:
- (NSString*) getNetAddr {
char iphone_ip[255];
strcpy(iphone_ip,"127.0.0.1"); // if everything fails
NSHost *myhost =[NSHost currentHost];
//NSHost *myhost = [[NSHost alloc] init];
if (myhost)
{
NSLog(@"myhost
65 matches
Mail list logo