programmitically creating nstextfield

2010-04-14 Thread mark
Would someone please tell me why this text field will not show. It is driving me spastic. The window and text field are valid. And there are no errors. The window shows but the text field does not. relativeToWindow is valid. NSRect w=[relativeToWindow frame]; NSRect r={{NSMaxX(w)-96, NSMaxY(w)-

Re: programmitically creating nstextfield

2010-04-15 Thread mark
On Wed, Apr 14, 2010 at 9:24 PM, mark wrote: window=[[NSWindow alloc] initWithContentRect:r styleMask:0 Use the NSBorderlessWindowMask symbolic constant instead of passing 0. backing:NSBackingStoreRetained defer:NO]; As the documentation says, do not use NSBackingStoreRetained

Re: How do you set the text in an NSTextView?

2010-05-08 Thread Mark
On 8 May 2010, at 07:02:59, G S wrote: Interface Builder shows that this control is an NSScrollView. Repeatedly clicking on it does not drill down any further; NSScrollView is the end of the line. The class is never shown as NSTextView. Check out what happens if you Control-drag from t

Re: How do you set the text in an NSTextView?

2010-05-10 Thread Mark
On 10 May 2010, at 00:50:41, G S wrote: You need to Control-drag to a region in the NSTextView that conceptually represents a first line of text (somewhere near the top) if it's empty, or to the visible text if it's not, to select the textView instead of the scrollView. Yep, that's it!

'Customize Toolbar...' menu item disabled

2011-10-15 Thread mark
em) are disabed. The toolbar shows up in the window and all the toolbar items work as expected. How do I get the menu items enabled? What am I missing? Mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

Re: 'Customize Toolbar...' menu item disabled

2011-10-16 Thread mark
On Oct 15, 2011, at 3:47 PM, mark wrote: I have a nib based toolbar in a window. I have set the customise toolbar flag to YES (in IB and programmatically). I have set the View menu items 'Customise Toolbar...' and 'Hide/Show Toolbar' to the first responder

Debugger() and iOS

2011-07-13 Thread mark
Is the Debugger() function supported in iOS? (This is for testing purposes only.) I get a 'Symbol not found' error from the linker. What framework do I have to include? If not, is there an equivalent? Mark TIA ___ Cocoa-dev mailing list

NSBrowser and double click

2010-07-24 Thread mark
A problem which is driving me spastic: I have an NSBrowser that allowes multiple selection. When I double click one of the selected items, all other selected items deselect. I have set the doubleaction and action methods and correct target. These are called AFTER the deselection. I have tried t

Re: NSBrowser and double click

2010-07-26 Thread mark
On 25/07/2010, at 9:00 AM, mark wrote: A problem which is driving me spastic: I have an NSBrowser that allowes multiple selection. When I double click one of the selected items, all other selected items deselect. I have set the doubleaction and action methods and correct target. These are

Re: Recursive file remove

2010-08-14 Thread mark
As noted, your choices are either NSFileManager methods of BSD/POSIX functions. I would tend to start with the latter because, at the end of the week, NSFileManager might not have the configurability you need to handle the nitty-gritty like system "dot" or "dot dot" files, (not) following symb

Re: Okay I have those pieces… now where's the glue?

2008-05-27 Thread Mark
the sample code installed with XCode? mark On 27.05.2008, at 22:04, Satsumac wrote: Hi… just another beginner speaking… I'm coming from the rather procedural programming world of Applescript and web programming with PHP (OOP with CodeIgniter, though). Coming from OOP PHP I found

Re: Enabling add button

2008-12-19 Thread Mark
I did something like this once. I'm not sure if this is a good way to tackle the problem or not but here's what you need: - A BOOL ivar exposed as a property on one of your controllers: BOOL isTableViewSelected; @property(assign) BOOL isTableViewSelected; @synthesize isTableViewSelected;

Re: NSBrowser, NSTreeController and Core Data

2008-10-14 Thread Mark .
et that > object for the parent relationship. (The inverse will get set > automatically.) > The to-many relationship is a NSSet, so if you ever need to add or > remove subcategories from an object directly, you would use NSSet > accessors. You won't use [setValue:forKey:] for that. G

What does 'DO' mean?

2008-12-08 Thread mark
What does 'DO' stand for? Mark ___ 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

Communicating with Privileged Helper Tool

2015-12-23 Thread Mark Allan
dn't turn up anything I hadn't already tried, and the search on CocoaBuilder.com isn't working. Am I missing something? Is there a way to do what I'm looking for, or am I just barking up the wrong tree entirely? Thanks Mark ___ C

Re: Communicating with Privileged Helper Tool

2015-12-23 Thread Mark Allan
nchd, however if I add the MachService name to the plist, won't that mean the connection is going the wrong way? I want the GUI to listen for connections from the helper tool. Thanks again Mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.app

Re: Very basic need, very difficult to achieve.

2016-05-04 Thread Mark Allan
___ 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/Update your Subscription: https://lists.apple.co

Re: Prioritize my own app's disk access

2016-07-05 Thread Mark Allan
st to see if it also works to increase priority. Mark > On 5 Jul 2016, at 1:36 pm, Jonathan Taylor > wrote: > > This is a long shot, but I thought I would ask in case an API exists to do > what I want. One of the roles of my code is to record video to disk as it is > receive

Communication with privileged helper crashes my main application

2016-07-18 Thread Mark Allan
going wrong. Has anyone else experienced this? If so, do you have any suggestions please? Many thanks Mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the mod

Re: Running apps compiled for newer OS X versions on older versions (rant)

2016-09-05 Thread Mark Allan
get to that of the project's main target. If you're careful, there's no reason why you can't create and compile something on 10.11 and have it run happily on 10.6 (or even further back if you're feeling adventurous!) Mark ___ Co

Re: Getting at NSTextFinder from text view

2015-04-14 Thread Mark Wright
I’m afraid I may not be too helpful here because in my case I’m not using an NSTextView, rather mine is a custom view that displays text in various ‘cells’ so I had to implement the full textFinderClient protocol and build a corpus of searchable text for it to query against. > On 14 Apr 2015, a

Re: Understanding the "declaration of instance variables in the interface is deprecated" warning.

2015-06-03 Thread Mark Wright
That’s a ‘Class Extension’. Furthermore, it’s under the title "Class Extensions Extend the Internal Implementation”. It also mentions that it goes in the @implementation block… > On 03 Jun 2015, at 15:11, Alex Zavatone wrote: > > Apple's Programming with Objective-C reference document © 2

Re: Understanding the "declaration of instance variables in the interface is deprecated" warning.

2015-06-03 Thread Mark Wright
ossible to use a class extension to add custom instance >>> variables. These are declared inside braces in the class extension >>> interface." >>> >>> So, I don't know how you see that it goes in the @implementation block >>> since

Re: Understanding the "declaration of instance variables in the interface is deprecated" warning.

2015-06-03 Thread Mark Wright
of moving ivars out of the class @interface and (if still needed) into the @implementation or class extension. There’s a clang warning that can be enabled to help you if desired: -Wobjc-interface-ivars > > Le 3 juin 2015 à 17:15, Mark Wright a écrit : > >> Sorry, yes, I misr

Re: Understanding the "declaration of instance variables in the interface is deprecated" warning.

2015-06-03 Thread Mark Wright
> On 03 Jun 2015, at 17:08, Alex Zavatone wrote: > > > One point I haven't looked at is, "if @properties are declared within the > @implementation or the class extension, are they private? And if so, > shouldn't they be preceded with an underscore and in that case, what does > that make the

Re: Understanding the "declaration of instance variables in the interface is deprecated" warning.

2015-06-03 Thread Mark Wright
> On 03 Jun 2015, at 18:59, Uli Kusterer wrote: > > On 03 Jun 2015, at 19:09, Alex Zavatone wrote: >> On Jun 3, 2015, at 12:59 PM, Uli Kusterer wrote: >> >>> So you're not supposed to use the underscore convention even for your >>> private ivars, as Apple could add secret stuff to NSObject or

Re: Understanding the "declaration of instance variables in the interface is deprecated" warning.

2015-06-03 Thread Mark Wright
> On 03 Jun 2015, at 19:54, Alex Zavatone wrote: > > > On Jun 3, 2015, at 2:30 PM, Mark Wright wrote: > >> The only potential problem is ivars that don’t have the leading underscore. > > My project has 377 of them. All named the same as the property, if there is

Re: contextual menu plugin example in cocoa

2009-09-01 Thread Mark Munz
them together. The more folks that push for it, the better some of these issues can be addressed without waiting another 7-8 years. -- Mark Munz unmarked software http://www.unmarked.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Ple

Crash in CFRunLoopWakeUp

2009-09-03 Thread Mark Allan
one with it? Many thanks for any help or suggestions you can give me. Mark Version: 2.0 (200) Code Type: PPC (Native) Parent Process: launchd [65] Date/Time: 2009-08-27 11:32:25.003 -0700 OS Version: Mac OS X 10.5.8 (9L30) Report Version: 6 Anonymous UUID: Excepti

Re: Crash in CFRunLoopWakeUp

2009-09-05 Thread Mark Allan
On 4 Sep 2009, at 12:04 am, Greg Parker wrote: On Sep 3, 2009, at 3:41 PM, Mark Allan wrote: I've been battling with this intermittent crash for about two weeks now and can't figure it out for the life of me. I've got try/catch blocks around nearly all my code, and defini

Re: change in launch services binding behavior?

2009-09-05 Thread Mark Munz
e never offered a good alternate solution to the problem. They just pulled a basic behavior out from under the user. -- Mark Munz unmarked software http://www.unmarked.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin

authorization services

2009-09-14 Thread Mark Thomas
s root. Thanks for any clarifications, as I would like to be sure this is correct way to wait for process to finish when I call authorizationExecuteWithPrivileges, and not this how it works today. Thanks Mark. ___ Cocoa-dev mailing list (Cocoa

Re: Mac Mini or iMac for Cocoa Development?

2009-09-14 Thread Mark Allan
On 14 Sep 2009, at 1:59 pm, Jonathan Hendry wrote: On Sep 13, 2009, at 19:28 PM, Paul Bruneau wrote: The iMac is so much prettier plus can drive a second display. Refurb store = $999 or even sometimes $849 ones show up. The Mini can drive additional displays if you connect them through USB

Re: enabling/ disabling a uitextfield

2009-09-15 Thread Mark Bateman
Hi, anyone know how I can enable ./ disable a UItext field outside of IB. I can do this as part of the XIB but I want to disable interaction on a particular condition. Also is there a keyboard property i can set to enable the caps lock key (not the auto capitalization) __

TAB bar and nav bar together

2009-09-15 Thread Mark Bateman
Hi, I have an app that uses a TAB bar controller to launch "n" view controllers through my main window.XIB. I wanted each of them to have a nav bar with custom buttons and so I added a nav bar controller to the XIB for each one. so the hierarchy in IB is Tab bar controller -> tab bar -

Drawing a graph & testing ranges

2009-09-15 Thread Mark Bateman
Hi, I have a completed app that calculates graph points x and y coordinates. I want to present these on a graph that has an acceptable "envelope" of coordinates. I'm guessing that i need to learn how to use quartz to draw lines pixel by pixel to represent this on a UIview. is there any

Re: authorization services

2009-09-15 Thread Mark Thomas
the above 'tool has finished' to be the last in console log, however I see timestamps after the 'wait' has returned. Am I missing something here ? Thanks Mark. On 14 Sep 2009, at 20:57, Mark Thomas wrote: Hi ALL, I was wondering if anybody could tell me if it'

Re: authorization services

2009-09-15 Thread Mark Thomas
e tool is passed in via the 'cmd' argument, so it's the direct tool which being launches not something else ? Thanks Mark. > Or use the 'ps' command to examine the process and process-group relationships. > > You should also read the man page for wait(2) a

Suppressing Crash Reporter dialogs for a task

2009-09-22 Thread Mark Woods
I have an application that launches an NSTask and checks to see if it returned successfully. The task checks the validity of certain files and in some cases, the task could definitely crash if the data is corrupt - that is the whole purpose of launching a separate task. This is not a proble

Re: Suppressing Crash Reporter dialogs for a task

2009-09-22 Thread Mark Woods
Easier said than done. It's QuickTime that's crashing. I'm calling canInitWithFile first and checking for errors with movieWithFile:error: but in certain instances it will still crash. On Sep 22, 2009, at 5:53 PM, Kyle Sluder wrote: On Tue, Sep 22, 2009 at 9:47 AM, Mark Wood

Re: Suppressing Crash Reporter dialogs for a task

2009-09-23 Thread Mark Woods
Thanks Ken. The link you gave me was very helpful and the crash dialog no longer appears using the code provided. I've verified that it works on 10.5 and 10.6. Thanks to everyone who posted. Mark. On Sep 23, 2009, at 5:57 AM, Ken Thomases wrote: On Sep 22, 2009, at 2:27 PM, Ala

NSApplication's behavior

2009-09-30 Thread Mark Hurley
ng? Is there another way through interface builder, where one NIB refers to the other, etc? Thank you, Mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators

Re: [iPhone] Application running for the very first time...

2009-10-01 Thread Mark Woollard
No they aren't - NSUserDefaults is the approach I use for this kind of thing Sent from my iPhone On 1 Oct 2009, at 09:32, Todd Heberlein wrote: I am wondering if there is a simple way to find out when my application is running for the VERY FIRST TIME on an iPhone? So that I can set an int

Re: NSPasteboard -> NSTextView

2009-10-03 Thread Mark Munz
gt; 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/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/unmarked%40gmail.com > > This email sent to un

UITabBar & UIActionSheet

2009-10-07 Thread Mark Bateman
another icon first. I also tried to use setneedsdisplay using the delegate method - (void) tabBar:(UITabBar *)tabBar didSelectItem:(UITabBarItem *)item but this method never runs. Any help would be appreciated Mark. ___ Cocoa-dev mailing list (Cocoa

Subclassing a view class from an external framework

2009-10-13 Thread Mark Gallegly
I have an NSView subclass defined in a framework called FrameworkView. The FrameworkView class has a property like so: @property (nonatomic, retain) IBOutlet NSView* someView; This framework has the necessary code in it to work as an Interface Builder plugin, and everything seems to work fine in

Subclassing a view class from an external framework

2009-10-13 Thread Mark Gallegly
I have an NSView subclass defined in a framework called FrameworkView. The FrameworkView class has a property like so: @property (nonatomic, retain) IBOutlet NSView* someView; This framework has the necessary code in it to work as an Interface Builder plugin, and everything seems to work fine in

Re: Subclassing a view class from an external framework

2009-10-15 Thread Mark Gallegly
oblem went away. At least on my xcode 3.2.1 machine. On a machine running xcode 3.1 the warnings still show up, but I have not bothered to open each xib and choose to 'reload all class files' yet.. Mark On 10/15/09 4:24 PM, "Kevin Cathey" wrote: >> Although Interface Bu

Re: unsleep the display programatically?

2009-10-18 Thread Mark Ritchie
On 18-Oct-2009, at 5:11 PM, jon wrote: can you unsleep the display programatically? i haven't found a method yet for doing it? Hrm... In what situation would you want to do such a thing? And what if the user has set security to require a password after being in sleep? M. _

Re: unsleep the display programatically?

2009-10-19 Thread Mark Ritchie
On 18-Oct-2009, at 6:36 PM, David LeBer wrote: On 2009-10-18, at 9:30 PM, jon wrote: Hi David, that would not work, because the display does need to sleep, it would be working a long time, and at nightbut needs to let people know that it is done. i have an alarm go off, but

Re: Neophyte Question: Connecting to nib objects

2009-10-19 Thread Mark Ritchie
On 19-Oct-2009, at 8:51 AM, Phil Hystad wrote: Given that I have an object defined in the nib (aka xib), for example, an object that responds to a given view, what is the correct way for my running application (if it is in some other state, not responding to an action) to obtain a pointer to

[MEET] (Sydney/Australia) CocoaHeads/NSCoder Sydney - November 5th - Mac/iPhone hack night

2009-10-29 Thread Mark Aufflick
leaming pile of laptops will surely guide you, else call me on my mobile: 0438 700 647. The Australian CocoaHeads mailing list is at http://groups.google.com/group/cocoaheadsau -- Mark Aufflick contact info at http://mark.aufflick.com/about/contact ___

Re: why use pow(x, 2)?

2009-11-02 Thread Mark Gallegly
Hasn't this gone off topic? Shouldn't this be discussed on the pow(x,x) Vs. x * x forum? On 11/2/09 2:10 PM, "Luke the Hiesterman" wrote: > I can't speak for others, but I never meant to actually argue that pow > (x, 2) is clearer than x * x. My argument was that each author should > use whiche

[MEET] (Sydney/Australia) CHANGE OF VENUE - CocoaHeads/NSCoder Sydney - November 5th - Mac/iPhone hack night

2009-11-02 Thread Mark Aufflick
hnear=Reservoir+St+&ll=-33.881267,151.210131&spn=0.001338,0.00284&z=19&layer=c&cbll=-33.88108,151.210144&panoid=zF0zPjRtt1075goKl2Aq1A&cbp=12,301.66,,0,-7.26> See you there! Mark. On Fri, Oct 30, 2009 at 12:38 PM, Mark Aufflick wrote: > First Thursday of the mon

Re: [MEET] (Sydney/Australia) CHANGE OF VENUE - CocoaHeads/NSCoder Sydney - November 5th - Mac/iPhone hack night

2009-11-02 Thread Mark Aufflick
Typo - It's this Thursday Nov 5th, not Friday. On Tue, Nov 3, 2009 at 1:49 PM, Mark Aufflick wrote: > Hi All, > > The kind people at Snepo are letting us use their offices for our hack > night this Friday, including Wifi and a fridge (fridge contents not included > I&#x

Re: NSString of selected text in NSTextView

2009-11-07 Thread Mark Gallegly
Here is one: -(NSString*) getSelectedTextInTextView:(NSTextView*)theTextView { NSRange range = [theTextView selectedRange]; NSData* rtfData = [theTextView RTFFromRange: range]; NSAttributedString* aStr = [[NSAttributedString alloc] initWithRTFData:rtfData documentAttributes: NU

Re: NSArrayController question [Solved]

2009-11-10 Thread Mark Smith
That's actually what I thought the answer should be when I saw your original question, but really didn't know how to articulate it as I'm new to cocoa programming myself. Get some sleep. :-) Best Regards, Mark Smith Sent from my iPhone On Nov 10, 2009, at 11:26 PM, O

Re: Cocoa Sounds

2009-11-10 Thread Mark Gallegly
That's a good idea. Someone should of suggested that before. On Nov 10, 2009 11:36 PM, "mlist0...@gmail.com" wrote: What I've done in the past is to simply play a silent sound before I actually need to play a sound for real. This "primes the pump". _murat On Nov 9, 2009, at 11:40 AM, lbland wr

Re: Cocoa Sounds

2009-11-11 Thread Mark Gallegly
That's a shame, sounds of silence always seem to work for Simon & Garfunkel. On Nov 10, 2009 11:56 PM, "Chunk 1978" wrote: i have a launch sound of silence already implemented in my code, but it doesn't always work for some reason. On Wed, Nov 11, 2009 at 2:39

Using HTML form in cocoa app

2009-11-13 Thread Mark Reddick
ata after the user fills it in (as the form is not being submitted). I tried using DOM to get to the data but it only seems to access the form without the user data. So, if anyone has a solution for this or ideas I can try, please let me know.

Re: Creation date of Feb 14th 1946 - Why?

2009-11-16 Thread Mark Woollard
It was the day ENIAC, the first general purpose electronic computer was revealed to the world. I guess you can't have a digital file created before that ;-) Mark On 16 Nov 2009, at 17:16, Matt Gough wrote: > Can someone let me know if there is something magical about a file ha

Help with Background Tasks

2009-11-18 Thread Mark Bateman
Hi, I am developing an App with a table that will hold URL content. I want to download that in the background and then have it update the table as it arrives. I tried using [self performSelectorInBackground:@selector(MakeURLRequest:) withObject:UrlRequest]; but I can't get it to return an

Re: Help with Background Tasks

2009-11-19 Thread Mark Bateman
18, 2009, at 2:35 PM, Jens Alfke wrote: > > On Nov 18, 2009, at 11:21 AM, Mark Bateman wrote: > >> I am developing an App with a table that will hold URL content. I want to >> download that in the background and then have it update the table as it >> arrives.

Custom Tableview cell and grouped tables

2009-11-19 Thread Mark Bateman
Hi, I have created a custom tableview cell and it works great, but when I choose the grouped view in the tableview nothing happens, what have I missed. ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moder

Re: Custom Tableview cell and grouped tables

2009-11-19 Thread Mark Bateman
z Anderson wrote: > On 19 Nov 2009, at 12:45 PM, Mark Bateman wrote: > >> I have created a custom tableview cell and it works great, but when I choose >> the grouped view in the tableview nothing happens, what have I missed. > > You've told us next to nothing, so you real

Re: Custom Tableview cell and grouped tables

2009-11-19 Thread Mark Bateman
the table's style is initWithFrame:style: > > Luke > > On Nov 19, 2009, at 11:17 AM, Mark Bateman wrote: > >> 1. this is iphone >> 2. after i change the UItableview style to the "grouped style" the table >> continues to show as before a regular table w

Re: NSTableView retain count problem

2009-11-21 Thread Mark Munz
m doing wrong here, or know how I can better track this > down? > ___ > > Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) > > Please do not post admin requests or moderator comments to the list. > Contact the moderators

My try/catch block isn't catching exceptions on 10.6

2009-11-26 Thread Mark Allan
), but enough people have it that I know it's not an isolated incident. The fact that it's crashing at CFBasicHashFindBucket implies some issue with the calls to objectForKey or setObject:ForKey, but does anyone know what could be causing it to crash so badly that my exception ha

Re: Please help, i'm newbe in cocoa + oracle programming.

2010-03-25 Thread Mark Woollard
Are you compiling your Objective-C code as ObjC++ or straight ObjC? Name your source files with .mm extension to indicate ObjC++. Also read the following: http://developer.apple.com/Mac/library/documentation/Cocoa/Conceptual/ObjectiveC/Articles/ocCPlusPlus.html Mark On 15 Mar 2010, at 07:08

Re: Using a SOAP Web Service from iPhone

2010-04-09 Thread Mark Wade
This email sent to markw...@optonline.net Mark Wade markw...@optonline.net ___ 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-admi

Warning with an initializer method of AMWorkflow

2010-04-18 Thread Mark Munz
how else to create this object to work with AMWorkflowController. Thanks. -- Mark Munz unmarked software http://www.unmarked.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. C

Re: Warning with an initializer method of AMWorkflow

2010-04-19 Thread Mark Munz
eURL error:&createError]; Thanks for the memory jog. Mark On Sun, Apr 18, 2010 at 1:01 PM, Ken Thomases wrote: > On Apr 18, 2010, at 2:56 PM, Mark Munz wrote: > >> If I try to create an AMWorkflow using the initContentsWithURL:error: >> method, I get a warning. > >>

Re: Automator Actions and CFBundleExecutable key

2010-04-21 Thread Mark Munz
actual product to be built, but it appears to do the job. Hope that helps. Mark On Sun, Apr 11, 2010 at 12:31 PM, Scott Ribe wrote: >> There are no other warnings tossed out during either compilation >> Any thoughts? > > Compare the build transcripts for debug vs release f

Re: [iPhone] File coping application

2010-04-26 Thread Mark Ritchie
Hey! On 26/Apr/2010, at 9:04 AM, Arun wrote: > Is it possible to copy files form iPhone on to a Mac when iPhone is > connected to USB? That depends on what kind of files! ;-) (Images for example are easily copied.) What are you trying to do? M. ___

extent of the "scratch pad" nature of a Core Data managed object context

2010-05-09 Thread Mark Sanvitale
d objects? What about the pending, indirectly deleted objects? It is my belief that the scratch pad nature of the moc does not extend into the full reaches of pending deletions. Thanks in advance. Mark Sanvitale Real Networks___ Cocoa-dev mail

Re: Posix error 24

2010-05-15 Thread Mark Ritchie
On 15/May/2010, at 7:44 AM, Ken Thomases wrote: > Probably easier and more productive to use Instruments and the File Activity > instrument. Far easier, no code changes needed and you get the stack traces for each file action. Definitely the way to go! ;-) M. __

Re: Get controller from nib

2010-05-18 Thread Mark Ritchie
On 18/May/2010, at 4:28 PM, James Maxwell wrote: > What I'm not understanding is how to allow newly created MIDIInstrument > objects to read the available/enabled ports from Central_MIDI_Controller. I > know this is probably really simple, but how do I grab a reference to a > controller object l

Re: Get controller from nib

2010-05-18 Thread Mark Ritchie
Hey James! On 18/May/2010, at 5:00 PM, James Maxwell wrote: > From the MIDIInstrument init, I can run [[NSApp delegate] midiController] and > get the instance of Central_MIDI_Controller loaded in the nib. As I say, it > feels a bit hackish. Though it does work, and advice is still welcome. Sure

Re: Get controller from nib

2010-05-18 Thread Mark Ritchie
Hey James! On 18/May/2010, at 5:26 PM, James Maxwell wrote: > Anyway, I do like the sound of your design... So, does the instance loaded in > IB become a one-off, or does it somehow "alias" (for lack of a better word) > all future instances? I was under the impression that the instance in IB was

Re: Get controller from nib

2010-05-18 Thread Mark Ritchie
Hey James! On 18/May/2010, at 5:42 PM, James Maxwell wrote: > Okay, getting a bit deeper into this, I realize I'm still "in the woods", so > to speak. I'm going to have to hook up my NSTableView to set the *selected* > port and channel for the MIDIInstruments, which means it's pretty much going

Invalid exception being thrown: CIUnsharpMask is not kvc for the key inputIntensity - except that it is

2010-06-08 Thread Mark Aufflick
uot;]. I feel like I've tried everything including rebuilding a brand new xib from scratch with nothing but a single text field. A fresh idea would be welcomed! Cheers, Mark. -- Mark Aufflick http://mark.aufflick.com/about/contact ___ Cocoa-dev mail

Re: Invalid exception being thrown: CIUnsharpMask is not kvc for the key inputIntensity - except that it is

2010-06-09 Thread Mark Aufflick
ut that will have to wait for tomorrow. It is very vexing! Mark. On Wed, Jun 9, 2010 at 4:01 PM, Stephen J. Butler wrote: > On Wed, Jun 9, 2010 at 12:35 AM, Mark Aufflick > wrote: >>        *** Terminating app due to uncaught exception >> 'NSUnknownKeyException', rea

Re: Invalid exception being thrown: CIUnsharpMask is not kvc for the key inputIntensity - except that it is

2010-06-10 Thread Mark Aufflick
s point I'm thinking of starting a new project and importing my code in a bit at a time to find the culprit... On Thu, Jun 10, 2010 at 3:33 AM, Stephen J. Butler wrote: > On Wed, Jun 9, 2010 at 3:50 AM, Mark Aufflick wrote: >> So I did an experiment with your simple sample proje

Re: NSTableView: move rows through drag and drop?

2011-08-10 Thread Mark Munz
__ > > 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/Update your Subscription: > http://lists.apple.com/m

Re: rightMouseDown: never called in NSView subclass

2011-08-25 Thread Mark Munz
gt;> class of its view. >> >> > > ___ > > 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-adm

Re: rightMouseDown: never called in NSView subclass

2011-08-26 Thread Mark Munz
events are not passed to it by > NSToolbarView without that little hack. I could, as you said, circumvent > NSToolbar completely, but when a view is placed outside of the toolbar, it > disappears when Lion goes into fullscreen mode. I don't know if this is a bug > or inten

Re: using AppKit additions in background threads

2011-09-06 Thread Mark Munz
://lists.apple.com/mailman/options/cocoa-dev/unmarked%40gmail.com > > This email sent to unmar...@gmail.com > -- Mark Munz unmarked software http://www.unmarked.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post a

Re: using AppKit additions in background threads

2011-09-06 Thread Mark Munz
, Sep 6, 2011 at 9:37 PM, Michael Thon wrote: > > On Sep 7, 2011, at 4:22 AM, Glenn L. Austin wrote: > >> I would ship the files pre-converted. >> > If I could do that I wouldn't have any of these problems in the first place.   > The app is converting users' d

Stepwise articles

2011-10-17 Thread Mark Taeery
Hi all, does anybody have a copy of the following article: http://www.stepwise.com/Articles/Technical/MemoryManagement.html archive.org appears not to have it. Thanks, Mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post

Re: Future for Mac applications

2011-10-31 Thread Mark Munz
en't required to use the sandbox, it quickly becomes a hindrance both in making your app available and supporting things like iCloud. -- Mark Munz unmarked software http://www.unmarked.com/ ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Re: Future for Mac applications

2011-10-31 Thread Mark Munz
API support from Apple to enable me to sandbox it without losing significant functionality. On Mon, Oct 31, 2011 at 8:40 PM, Mark Munz wrote: > On Mon, Oct 31, 2011 at 12:11 PM, Sean McBride > wrote: >> >> It's also worth remembering that the Mac App Store is not requir

Re: Sandboxing disallows AppleEvents?

2011-11-03 Thread Mark Munz
ionality has made Windoze such a security > hole forever, but there are so many Mac applications that depend on being > able to send AppleEvents, especially within a suite of applications (all from > the same vendor). > > Is there no facility for doing this? > > Thanks, >

Re: Any success with SMLoginItemSetEnabled?

2011-11-07 Thread Mark Munz
e the Mar 1 deadline comes. Mark -- Mark Munz unmarked software http://www.unmarked.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-admin

Re: Updating an app's help

2011-12-15 Thread Mark Munz
ost admin requests or moderator comments to the list. > Contact the moderators at cocoa-dev-admins(at)lists.apple.com > > Help/Unsubscribe/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/unmarked%40gmail.com > > This email sent to unmar...@gmail.com -- M

Re: Determine sandbox/entitlements at runtime?

2011-12-15 Thread Mark Munz
gt; 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/Update your Subscription: > http://lists.apple.com/mailman/options/cocoa-dev/unmarked%40gmail.com > > This email sent to unma

What makes OS X generate a hang report?

2012-01-11 Thread Mark Woods
Does anyone know the criteria OS X uses to determine an application has hung? The reason I ask is that I've seen lots of inconsistencies. For example, OS X will kill a process and show the log if it hangs for 5 seconds, other times less than 1 second (is this even counted as a hang?) and sometim

Re: What makes OS X generate a hang report?

2012-01-11 Thread Mark Woods
Thanks Jean. According to this article all QTMovie objects must be created on the main thread: http://developer.apple.com/library/mac/#technotes/tn2138/_index.html Mark. On Jan 11, 2012, at 1:48 PM, Jean Suisse wrote: > Hi ! > > Well, I am no expert, so I can't answer your ques

Re: My services in my own app

2012-01-15 Thread Mark Munz
back into your app to do whatever task you need it to do. Mark On Sun, Jan 15, 2012 at 9:09 AM, Georg Seifert wrote: > Hi, > > My app registers some services and they work just fine. Only if I invoke then > from within the same application, the app hangs. I tried with other apps an

Re: My services in my own app

2012-01-16 Thread Mark Munz
at hopefully someone will fix them, maybe by the time Mac OS XIII comes out (it took ~10 years for Apple to take a look at issues in Services dating back to 10.0). Mark On Mon, Jan 16, 2012 at 1:10 PM, Georg Seifert wrote: > Yes, I’m on Snow Leopard. > > I just had a another look at

Full-Height Toolbar Item

2012-01-26 Thread Mark Alldritt
tion. The NSToolbar and NSToolbarItem definitions don't appear to make this possible, but perhaps there is something I've overlooked. Thanks -Mark ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or

  1   2   3   4   >