It is good to know there is still solid support for Objective-C UI, thank
you for the information John. It has felt like the support is not there the
last few years, with much of the documentation "archived" and the new
documentation focused on Swift. Presently, it is hard to justify native
develop
ignored it.
On Wed, 2 Oct 2019, 02:16 Richard Charles, wrote:
>
> > On Sep 30, 2019, at 5:57 PM, Sam Ryan wrote:
> >
> > I tried a completely new approach - Electron. I have found Electron to
> be surprisingly quick to prototype, easy to bridge to c++, and is cross
> p
No apology necessary, I'm pained by the same problems as you mentioned!
On Tue, 1 Oct 2019 at 14:00, Jens Alfke wrote:
>
>
> On Sep 30, 2019, at 4:57 PM, Sam Ryan wrote:
>
> I tried a completely new approach - Electron. I have found Electron to be
> surprisingly quic
I have recently looked at utilising Swift to update an old Carbon based
application. I stopped pursuing this path Swiftly, in part because of lack
of good support for sockets and generally problematic use of CG* code.
I tried a completely new approach - Electron. I have found Electron to be
surpri
To get the size of the dispatch data you can call
dispatch_data_get_size(dispatch_data_t) on it which would let you create an
NSData object.
https://developer.apple.com/documentation/dispatch/1452977-dispatch_data_get_size?language=objc
-Ryan
On Tue, Oct 30, 2018 at 7:26 PM Carl Hoefs
wrote
This doesn't work?
in the .m file at file scope
BOOL condition = NO;
in the .c file at file scope
extern BOOL condition;
On Tue, Sep 20, 2016 at 8:14 AM, Alex Zavatone wrote:
> I've been beating my head against the wall on this one.
>
> I'm trying to evaluate a condition and declare or conditio
Under ARC there should be no appreciable difference. People who prefer
+new will generally point out it's a keyword or operator in other languages
so its meaning is not ambiguous.
With manual reference counting, the difference is that +array is
autorelease where as with +new your code is responsi
To do it as one fetch you can set your predicate (or a sub predicate)
as: [NSPredicate predicateWithFormat:@"%K in %@", primaryKey, keys] where
primaryKey is the name of your ID property, and keys is an array of ID
values which are "interesting" (as defined by the rest of your code).
On Sat, Aug 6
To answer your second question consider BOOL b = (BOOL)someObj; if someObj
happens to equal something like 0x12345600 the value of b will be NO
because casting from a pointer to a char will return the least significant
byte.
For your first question I don't know exactly but it doesn't look safe;
Would NSClickGestureRecognizer work? I've done this on iOS with the
equivalent UITapGestureRecognizer.
On Sun, Apr 17, 2016 at 5:45 PM, Graham Cox wrote:
> Hi al,
>
> Here’s something I thought would be trivial, turns out to be non-obvious.
>
> I have a text label that’s not normally editable t
ok becuase "we're not accessing any Core Data
properties at this point, we're accessing a ObjectID".
Is this really ok?
Kind Regards,
Ryan
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
Have you tried `UIGraphicsBeginImageContextWithOptions(item.bounds.size, NO,
0.0)` ? I've never had problems with the implicit scale provided by the
last parameter being `0.0`
On Wed, Jan 20, 2016 at 11:17 AM, Eric E. Dolecki
wrote:
> I am creating images from what I'll call chart cells - so th
yea, you can run class_getSuperclass([NSObject class]) to confirm
On Wed, Jun 24, 2015 at 10:50 AM, Dave wrote:
> Hi,
>
> Quick question, does the “super” of NSObject == nil?
>
> Cheers
> Dave
>
>
> ___
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple
It may be advantage to log whether the model file exists and if it does
exist if the permissions are correct.
On Mon, May 11, 2015 at 1:06 PM, Alex Kac wrote:
> So I've only seen this on OS X crashlytics, but one of my engineers
> says he's seen some logs on iOS as well. So I'm not calling it an
You could create an UIAlertSheet show it and all that, then call
recursiveDescription on the sheet which will tell you the description of
all the views it has. You should be able to assemble a similar looking
view with that info.
On Mon, Apr 20, 2015 at 11:51 AM, Dave wrote:
> Display a View wi
oundStyle is set to NSBackgroundStyleDark.
Anybody know what exactly is being done by setting the background style, and
how I can apply the same affect everywhere in my application?
Thanks,
Ryan
rmcg...@mac.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.
g
the original NSScroller drawing.
Does anyone know how I can acheive custom drawing of the NSScroller in the
layer backed view?
Thanks for any ideas you may have.
Regards,
Ryan Joseph
thealchemistguild.com
___
Cocoa-dev mailing
he only kink was that because this was being done within a button cell's
> tracking, I had to post a fake mouse UP after the menu was closed to ensure
> that the cell ended tracking. For a view that may not be necessary unless
> you're doing something special on mouse up.
>
t help the problem.
Thanks for any ideas you may have.
Regards,
Ryan Joseph
thealchemistguild.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the mod
e.
Key-value observing notifications are not sent when one of the above conditions
occur, but has the same set of presentation options as the previously active
application.
Regards,
Ryan Joseph
thealchemistguild.com
___
Cocoa-de
);
> APPKIT_EXTERN NSString * const NSWindowDidExitFullScreenNotification
> NS_AVAILABLE_MAC(10_7);
Regards,
Ryan Joseph
thealchemistguild.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests o
windows) that
needs to be hidden when any app goes into full screen, otherwise my window will
cover the full screen app.
Thanks for any ideas.
Regards,
Ryan Joseph
thealchemistguild.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com
Instead of the the links you would use to the left of the actual documentation,
you now use the breadcrumb links towards the top of the documentation. It took
me a while to get accustomed to it, but in the end you have more room for your
documentation text.
> Am I missing something or does the
IIRC the NSTextView needs to be both editable and selectable.
> It also needs to be the key window when the find panel is actually displayed.
Regards,
Ryan Joseph
thealchemistguild.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
responding.
The font panel works just fine so what else does the find panel expect to work?
Maybe I broke something but I have no idea where to look and like I said I
couldn't even find any documentation on the find panel.
Thanks for any ideas!
Regards,
Ryan Joseph
thealc
head, an uncaught exception does not produce a crash report
> although it's a crash for all purposes to a user.
Regards,
Ryan Joseph
thealchemistguild.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post a
go on when diagnosing
remote problems. Without installing GDB on his Mac (something I can't ask a
user to do) I don't know how else to get more information.
Any ideas or suggestions? Thanks!
Regards,
Ryan Joseph
thealc
, Kyle Sluder wrote:
> The retainCount being 4 is just a red herring.
Regards,
Ryan Joseph
thealchemistguild.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the l
epeat after me: STOP THINKING ABOUT RETAIN COUNTS.
>
> If you follow the memory management rules, things will work.
Regards,
Ryan Joseph
thealchemistguild.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do no
le. I'm betting it doesn't.
Regards,
Ryan Joseph
thealchemistguild.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
up and purged from memory.
>
> Sorry if I am getting you wrong and point out the obvious ...
Regards,
Ryan Joseph
thealchemistguild.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or modera
/release the window. Another possibility is that
> the view is retained by some other object that’s being leaked … sometimes you
> have to look at all the leaks to find the one that triggers all the others.
> (Use Instruments or the ‘leaks’ command to look for all leaked objects.)
must be missing
something... Thanks!
The code (in Pascal):
view := NSTextView.alloc.initWithFrame(NSMakeRect(0, 0, 0, 0));
// retainCount = 5
view.release;
// retainCount = 4, dealloc never called
Regards,
Ryan Joseph
thealchemistguil
Keys()
SCDynamicStoreSetDispatchQueue OR
SCDynamicStoreCopyRunLoopSource()/CFRunLoopAddRunLoopSource()
and in your callback function that was passed to SCDynamicStoreCreate, call
SCDynamicStoreCopyLocation() to retrieve the current location. I'm sure there's
code out there that more fully i
Hi,
What is the best way to get a string for a block of highlighted text in PDF
Kit, given a PDFAnnotationMarkup object? I've tried several approaches, but
none of them deals with overlaps in the quadrilateralPoints, gets the text
bounds correct, and adds spaces between lines of text. For examp
On Aug 17, 2010, at 2:52 AM, Steve Christensen wrote:
>> Ryan Joseph (r...@thealchemistguild.org) on 2010-08-16 20:48 said:
>>
>>> What is Apples policy on using their icons in commercial application
>>> icons? I wanted to use some of the common app icons that
Thanks for you any suggestions you have.
Regards,
Ryan Joseph
thealchemistguild.org
___
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
This is perfect, thanks!
On Jul 26, 2010, at 6:47 PM, Dave Keck wrote:
> You're probably interested in CGRegisterScreenRefreshCallback().
Regards,
Ryan Joseph
thealchemistguild.org
___
Cocoa-dev mailing list (C
mage.
Are there any notifications I could get that would tell me if screen pixels
changed that were within a certain rect on screen? Thanks.
Regards,
Ryan Joseph
thealchemistguild.org
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
On Jul 18, 2010, at 7:42 AM, Rafael Cerioli wrote:
> Le 18 juil. 2010 à 03:03, Ryan McGann a écrit :
>> Unfortunately, I can't find the sources at the moment as it was a while ago,
>> but there was an interesting discussion about this topic on the
>> macnetworkprog ma
(Sorry, re-sending with the appropriate subject. Stupid copy & paste failed, my
bad).
>> On Jul 16, 2010, at 3:46 PM, Rafael Cerioli wrote:
>>
>>> Hi everybody,
>>>
>>> What would be the most efficient way to download data without blocking the
>>> UI (I'm targeting old iPhone/iPod devices) ?
>> On Jul 16, 2010, at 3:46 PM, Rafael Cerioli wrote:
>>
>>> Hi everybody,
>>>
>>> What would be the most efficient way to download data without blocking the
>>> UI (I'm targeting old iPhone/iPod devices) ?
>>>
>>> - using a NSURLConnection seams nice, but as it calls its delegate
>>> (-conne
On Jul 15, 2010, at 4:25 PM, Kyle Sluder wrote:
> On Wed, Jul 14, 2010 at 9:39 AM, Ryan Joseph
> wrote:
>> 1) The retainCount from the newly created NSTextView returns 4 and goes up
>> to 7 after I call HICocoaViewCreate on the NSTextView instance. I tried
>>
iew? I did some tests using other Cocoa views like NSScrollView but
they returned 1 as the retainCount and sure enough calling release would
deallocate the view. Any ideas? Thanks.
Regards,
Ryan Joseph
thealchemistguild.org
___
Cocoa-d
Brad,
I am experiencing the same thing you are reporting with iTunes Connect...
Ryan
On Jun 18, 2010, at 10:28 PM, Brad Garton wrote:
> Is there something weird going on? My problem is with "iTunes Connect" -- I
> sign in and get to the main page, but whenever I click
I'm able to get logged in.
Ryan
On Jun 18, 2010, at 10:10 PM, Rick Mann wrote:
> I'm unable to log in. Anyone else?
>
> --
> Rick
>
> ___
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> Please
On Apr 9, 2010, at 15:17, Nick Zitzmann wrote:
>
> On Apr 9, 2010, at 3:42 PM, Laurent Daudelin wrote:
>
>> However, the selection is the standard highlight, not the outline I see in
>> any other table views in other Apple applications.
>
> I think the "drop highlighting" thing a few Apple app
r. My only other thought would be to try and
adjust roundingIncrement, but I'm not sure what value I'd be looking
to use. The NSNumberFormatter docs, Data Formatting Guide and Google
don't seem to be providing any other hints. Any advice?
Thanks,
Ryan
_
On 3/3/10 at 7:14 PM, sweetpproducti...@gmail.com (Russell Gray) wrote:
And I was thinking of taking the approach, of feeding a javascript function to
Safari:
function hide_elements(id)
{
document.getElementById(id).style.display="none";
}
where id would be fed to the script from the adblock
to an example on working through these (or similar) problems?
In case anyone is curious, I've pasted my current implementation of
textField:ShouldChangeCharactersInRange:replacementString: below.
Thanks,
Ryan
- (BOOL)textField:(UITextField *)textField
shouldChangeCharactersInRa
On 2010-02-03, at 6:55, Philip Vallone wrote:
> Hi List,
>
> This is probably a very elementary question. I have a NSMutableString that I
> Synthesize. When I assigned a value to it:
>
> currentSection = @"Some value";
You should probably use self.currentSection instead of just currentSection
These might also be helpful:
http://www.cocoadev.com/index.pl?DebuggingTechniques (in particular see the
"Breaking on Exceptions" section where they talk about objc_exception_throw)
http://chanson.livejournal.com/171198.html
Then, when you crash, bring up the Debugger (Cmd-Shift-Y). Sometimes you
On 2009-11-10, at 10:51 AM, Alastair Houghton wrote:
> On 10 Nov 2009, at 15:21, Ryan Homer wrote:
>
>> Let's say I have a Unicode character such as U+21002 (CJK Unicode ext. B)
>> and a certain font, say STHeiti. I would like to programatically determine
>> if
Let's say I have a Unicode character such as U+21002 (CJK Unicode ext. B) and a
certain font, say STHeiti. I would like to programatically determine if the
font contains a glyph for the character. How can I do this?
I know that NSString(AppKitAdditions) has sizeWithAttribute: but that doesn't
t
[SOLVED]
On 2009-11-06, at 12:42 PM, Clark Cox wrote:
On Fri, Nov 6, 2009 at 5:22 AM, Ryan Homer
wrote:
On 2009-11-05, at 1:42 PM, Clark Cox wrote:
Yes. I am importing characters from a text file and need to process
them in
a certain way. A word may have an alternate form which is
machine you choose ; )
Hope this helps,
-Ryan.
___
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/
On Jun 16, 2009, at 8:34 AM, Kyle Sluder wrote:
On Mon, Jun 15, 2009 at 6:18 PM, Ryan Joseph> wrote:
I'm not sure I follow you. How do I know the user wants to undo and
that it
was in response to my change of the NSTextStorage? It seems like
one way or
another I need to keep a
On Jun 15, 2009, at 10:16 PM, I. Savant wrote:
Thanks. What a challenge just for some basic undo support, there
really should be something simpler than this.
There is, and it's already been suggested.
If you want higher-level functionality, use the higher-level
facilities of the text sy
Thanks. What a challenge just for some basic undo support, there
really should be something simpler than this.
On Jun 15, 2009, at 1:08 PM, Kyle Sluder wrote:
If you want undo manager support, you need to either perform the undo
machinations yourself, or target your modifications at an entity
Simple question, how is it possible to have changes made
programatically to NSTextStorage be added to the undo manager? I tried
enclosing the changes in begin/endEditing calls but this did not work.
Thanks in advance.
Regards,
Josef
___
On Jun 13, 2009, at 12:26 PM, Greg Parker wrote:
Can anyone who uses this utility tell me how to set the this
environment variable? I'm thinking it's possible this must be set
via GDB, otherwise I'm not sure where it could get a stack trace
from. Thank you for helping.
Environment variab
On Jun 13, 2009, at 12:11 PM, Joar Wingfors wrote:
On 12 jun 2009, at 22.04, Ryan Joseph wrote:
Thank you, but I'm not using Xcode and need an actual unix
solution. Knowing the command which was generated from that would
be useful (maybe it's output into a console someplace?). T
ad of loading MallocDebug.
On Jun 13, 2009, at 12:04 PM, Chris Suter wrote:
Hi Ryan,
On Fri, Jun 12, 2009 at 9:29 PM, Ryan Joseph> wrote:
I wasn't sure where to post this but Cocoa programmers should know
as well
as any one else I thought.
I have just learned about the "leaks
Thank you, but I'm not using Xcode and need an actual unix solution.
Knowing the command which was generated from that would be useful
(maybe it's output into a console someplace?). Thanks again.
On Jun 13, 2009, at 11:59 AM, Dave Keck wrote:
In Xcode: in the left column, under the "Executa
I wasn't sure where to post this but Cocoa programmers should know as
well as any one else I thought.
I have just learned about the "leaks" unix utility for detecting
memory leaks but I'm not unix savvy enough to understand a point
mentioned in the man page. Which is:
"If the MallocStackL
How can I be notified when a user selects an item from the menu in
popup menu mode? All I can get is the double click action. The example
I'm looking "ObjectPath" seems to not have this functionality either.
Thanks.
Regards,
Josef
___
Co
On May 14, 2009, at 12:48 PM, Graham Cox wrote:
On 14/05/2009, at 3:37 PM, Ryan Joseph wrote:
Great, thanks! That leads me to consider the real problem, do I
need to create an undo manager manually if I create the NSTextView
without initWithFrame:? I bet that's the problem... T
On May 14, 2009, at 12:29 PM, Graham Cox wrote:
On 14/05/2009, at 3:25 PM, Ryan Joseph wrote:
I have a NSTextView I have assembled programatically and placed it
into a HICocoaView being used in a Carbon window. All the commands
work except undo (called setAllowsUndo already) so I would
I have a NSTextView I have assembled programatically and placed it
into a HICocoaView being used in a Carbon window. All the commands
work except undo (called setAllowsUndo already) so I would like to
call undo programatically to test in order to determine if Carbon is
messing this up or it
It was under my nose the whole time! Thanks, that TEC sniffer thing
wasted an hour of my life.
On May 13, 2009, at 9:02 AM, Dave Geering wrote:
On Wed, May 13, 2009 at 11:53 AM, Ryan Joseph
wrote:
First question, why is the most obvious and best solution deprecated?
NSString
I'm dealing with my first attempt to cope with text encodings, ugh...
This is an issue confronting everyone reading text files so there
should be a SIMPLE solution to the problem, which is, how do I know
what encoding the file is I'm opening?
First question, why is the most obvious and best
Are there any special steps for adding undo support for NSTextView if
it's embedded in a HICocoaView? All the other edit commands are
working but undo just gives me a beep. I created the NSTextView
programatically also so maybe I simply forget to include something,
although I'm not sure wha
est,
>Steven Riggs
>
>
>
> On Apr 28, 2009, at 10:02 PM, Ryan Briones wrote:
>
> Hey, thanks! I actually ran across your code last night when I was first
> doing this. I ran your code and it worked fine. I created a test project to
> "copy" your code, and mine fai
b
>
> I hope it helps...
>
> Steven Riggs
>
>
>
> On Apr 28, 2009, at 11:04 AM, Ryan Briones wrote:
>
> I'm a relative newb when it comes to cocoa programming, but I've been
>> trying
>> to finish of a project and put it out there so I can get som
On Tue, Apr 28, 2009 at 2:31 PM, Jerry Krinock wrote:
>
> On 2009 Apr 28, at 08:04, Ryan Briones wrote:
>
> My problem is that I have a table view that's bound
>> to an array controller backed by user defaults in IB.
>>
>
> I don't know what "backe
an't figure out what. Any
help is appreciated. Thanks.
--
Ryan Carmelo Briones
___
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
Sorry, I didn't post code because it was in Pascal, but it's easy
enough to read (remember the old Inside Macintosh books?). I could re-
write in Objective-C if anyone needed...
setMaxSize: and setWidthTracksTextView: are the culprits here and
simply reversing them doesn't work because I don
After reading through the archives I learned how to turn off word
wrapping in NSTextView by calling a few methods in both NSText and
NSTextContainer but calling them in reverse order (reverting the
effect) did not restore word wrapping properly.
In particular I think the problem is setConta
I'm wanting NSSpellChecker to ignore certain ranges of text in a
NSTextView based on color. I implemented shouldSetSpellingState:range:
which was successful in not underlining words that are in the colored
ranges but in the spelling panel or with the "check spelling" command
it still select
On Apr 9, 2009, at 10:22 PM, Marcel Weiher wrote:
On Apr 9, 2009, at 7:51 , Ryan Joseph wrote:
On Apr 9, 2009, at 9:42 PM, Marcel Weiher wrote:
On Apr 9, 2009, at 1:06 , Ryan Joseph wrote:
[NSTextView in HICocoaView performance problems]
[requests for more information]
I have used
On Apr 9, 2009, at 9:42 PM, Marcel Weiher wrote:
On Apr 9, 2009, at 1:06 , Ryan Joseph wrote:
I was really excited when Apple released HICocoaView so in
particular I could use NSTextView in my Carbon apps. However, this
thing has some pretty serious performance issue when resizing and
I was really excited when Apple released HICocoaView so in particular
I could use NSTextView in my Carbon apps. However, this thing has some
pretty serious performance issue when resizing and when adding/
removing lines (return or deleting while type). Resizing is painfully
slow and choppy b
hat I will keep in mind. Thanks.
On Apr 5, 2009, at 4:22 PM, Uli Kusterer wrote:
On 03.04.2009, at 09:22, Ryan Joseph wrote:
The Pascal compiler I'm using would need some extra runtime support
(like telling me if a pointer is an object) to accomplish what you
are talking about, but ye
On Apr 5, 2009, at 11:30 AM, Michael Ash wrote:
On Sat, Apr 4, 2009 at 10:20 PM, Jo Meder wrote:
Hi,
I'm in the planning stages of porting the Mac back end of my cross
platform
UI framework from Carbon to Cocoa, because I need 64 bit GUI
support. It
looks like it should be relatively str
Are you aware of threading or run loops? There is no problem here, you
must share the processor with OS X. Read about those concepts and come
back later with questions. ;)
On Apr 5, 2009, at 8:08 AM, Pierce Freeman wrote:
Hi everyone:
I am getting the beachball of death when I try to run a
I'm working on a Pascal bridge to Cocoa and as part of the system I
have a PHP script which converts files to Objective-C headers, which
InterfaceBuilder can use. However first I must manually "Read class
files" and Reload in InterfaceBuilder. Xcode does this so there must
be a way, but can
On Apr 3, 2009, at 12:47 PM, Bill Bumgarner wrote:
On Apr 2, 2009, at 8:40 PM, Ryan Joseph wrote:
// We must use the "Handle" which is the Objective-C object because
dragTypes is a NSArray wrapper and passing a Pascal object to
Objective-C runtime WILL cause errors
pes(dragTypes.Handle);
I just didn't want users to type .Handle and let that choice be made a
runtime behind the scenes. Was that worth everyones time? ;)
On Apr 3, 2009, at 10:26 AM, Chris Hanson wrote:
On Apr 2, 2009, at 7:38 PM, Ryan Joseph wrote:
I think I need explain what exa
On Apr 3, 2009, at 10:11 AM, Michael Ash wrote:
The wrapper is simply a Pascal object that encapsulates a Cocoa
object. The
underlying object is exactly the same as it appears in Cocoa,
except it's
accessed via Objective-C runtime functions. The fact it's a
"wrapper" is
really not importan
Oh, if they're connected on THAT level then there really is no way. So
NSArray is a wrapper for CFArray? ;) If the Runtime Wrangler says it
can't be done, it probably can't be done. Thanks for clearing this up.
On Apr 3, 2009, at 9:59 AM, Greg Parker wrote:
On Apr 2, 2009, a
On Apr 3, 2009, at 9:59 AM, Mark Ritchie wrote:
On 2-Apr-09, at 10:38 PM, Ryan Joseph wrote:
I think I need explain what exactly I need this for. I'm making a
Pascal bridge to Cocoa and it would be convenient if I could pass a
CF type or a Pascal wrapper indiscriminately and deci
On Apr 3, 2009, at 9:17 AM, Ali Ozer wrote:
One point of the discussion is that there is no need to do this, and
things you think you might want to do the test for are probably
invalid.
But, if you wanted to test, you could see if the instance you have
isKindOfClass:[NSCFArray class]. H
I'm trying to determine at runtime if a type is CoreFoundation or
Cocoa, for example NSArray/CFArray. I must use Carbon API however to
determine this before I attempt to use Cocoa methods for introspection.
My first test was to use CFGetTypeID and CFCopyTypeIDDescription but
they both retur
That explains it, Thank you Mike.
On Mar 25, 2009, at 9:26 PM, Michael Ash wrote:
On Tue, Mar 24, 2009 at 10:43 PM, Ryan Joseph
wrote:
I have a window in a NIB file which I have assigned a class in the
"Class
Identity" field and corresponding NSWindow subclass in code.
Accordi
I'm working on a Cocoa bridge for Pascal and looking for a solution to
manage the wrapper objects that are directly related to all their
Objective-C counterparts, and therefore must be released in pairs. I
understand that -dealloc is the designated location to release
instances owned by the
I have a window in a NIB file which I have assigned a class in the
"Class Identity" field and corresponding NSWindow subclass in code.
According to the reference (which is copied below) I think I should be
receiving a initWithCoder: message (there are only 3 options) but I
never get it. Cus
poster who said
that Core Data is not an intro-level technology. You'll be able to
play around with it soon, but don't use it in your first app!
Hope this helps. Good luck!
-Ryan.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Plea
Also, forgot to mention: calling either objc_collect_if_needed() or
[[NSGarbageCollector defaultCollector] collectExhaustively] after
releasing the run loop source and message port doesn't force an
immediate deallocation. Not sure why.
On Nov 30, 2008, at 9:15 PM, Ryan Brown wrote:
CFCollection_non_gc_storage_error to debug".
CFMessagePort stores all local ports in a global dictionary, which is
probably the source of this.
Is there another way to deal with this? Does this warrant filling a
radar?
Best,
Ryan
___
Cocoa-dev m
he login/logout notifications will only
be posted after your application has already quit.
Please describe what you mean by "daemon" and how your application is
being launched.
Ryan
[EMAIL PROTECTED]
___
Cocoa-dev mailing list (Cocoa-dev@li
1 - 100 of 132 matches
Mail list logo