-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> https://lists.apple.com/mailman/options/cocoa-dev/howard%40antarestech.com
>
> This email sent to how...@antarestech.com
>
___
Cocoa-dev mailing list (Cocoa
southeast
through the knob's center, so that either vertical or horizontal
movements work to turn them.
-Howard
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
Oh, ok, thanks! Yes, that works, simply removing the (assign) or (retain)
(leaving it as the default, strong).
It's hard to follow examples I find on the internet since so many are out of
date or don't use ARC, and there's no easy way to tell them apart.
Thanks!
-Ho
I think I resolved it… my data object's members were all declared using
@property(assign). I changed those all to @property(retain), and it works now.
Thanks,
Howard
On Oct 15, 2014, at 1:42 PM, Howard Moon wrote:
> Hi,
>
> I'm working on my first ARC-
I keep that
member data object alive so that my delegate's actions can access it?
Thanks,
Howard
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the
27;t enter into my code (which makes sense, since my classes have all
been destroyed already). But if I leave the plug-in open until those
connections are cleaned up, then there is no problem. Not good, but not
sure if there's anything I can do at this point
On Aug 25, 2014, at 2:13 PM, Jens Alfke wrote:
>
>> On Aug 25, 2014, at 1:43 PM, Howard Moon wrote:
>>
>> The Apple docs show simply setting the connection and receivedData to nil,
>> instead of calling release on them.
>
> Do you have a strong [sic]
done by this instance or by another instance of the plug-in). It
should be simple enough to just follow the guidelines and Apple's example, but
I've spent a few days trying to get this stupid thing to work!
Thanks,
Howard
On Aug 25, 2014, at 9:54 AM, Jens Alfke wrote:
>
Ok, I fixed it. I was using the connection object as a member of my class, and
releasing that, when I should have been releasing the connection that is given
to me inside didFailWithError and connectionDidFinishLoading, not making it a
member at all.
Regards,
Howard
On Aug 25, 2014
ence count went to 0, and then *I*
released it, wouldn't it cause a crash that way, as well?
I'm really stumped as to where to look.
-Howard
On Aug 25, 2014, at 8:15 AM, Howard Moon wrote:
> Hi,
>
> I've got an NSURLConnection owned by an NSObject that implements
x27;m
following the rules, but I'm just unsure why there's that one extra entry in
the console, or what it has to do with the purging of the connection cache
entires and how that is leading to a crash.
Thanks,
Howard
___
Cocoa-dev
2 choices out of the box - Core Data and SQLite
Core data (once learnt) saves you a lot of time writing cookie cutter code.
As for storage - the iOS platform obviously has storage limitations by device
so if you’re going to target 8GB devices you’ve already got a limit but within
reason an app
on, even if I delete the text fields and the
formatter and drag&drop new ones, as long as they're inside the tab view, I get
this behavior when the formatter is dragged&dropped in the xib, but no problems
when the formatter is created in code. No time to track down why any more,
though…
!
Regards,
Howard
On May 7, 2014, at 1:47 PM, Howard Moon wrote:
> Hm, it may be that something else is at play here. I did make ONE change
> when porting… I put my text fields inside a tab view. I wonder if maybe
> there's a problem accessing the number formatter fro
gging
existing objects on its pages causes any problems like this? Is there a
connection I've overlooked that I need to make once the objects are inside that
tab view?
Thanks,
-Howard
On May 7, 2014, at 9:34 AM, Howard Moon wrote:
> Hi,
>
> is the 10.0+ style o
upported, why is it still available in Xcode 4,
and why does it compile and run, up to the point I set its value to 0?
Thanks,
-Howard
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderato
e calculations into simpler ones,
using the rules of trig (think sin2x, etc.).
Another approach is to represent sines and cosines as infinite series, and
combine those series in order to compute one (or two, or a few) series that you
can then either compute directly (using finite approximations t
On Aug 3, 2013, at 10:28 AM, Michael Crawford wrote:
> In what way am I symptomatic?
>
> Please Elucidate.
>
> Ever Faithful,
>
> Michael David Crawford P.E., Process Architect
In your own words…
www.healthyplace.com/thought-disorders/living-with-sch
Now we're straying off into grammar, but…
How about adding a word to indicate that you're talking about objects, as in
"std::map objects" or "multimap objects"?
(I'd rather be clear than save a few keystrokes any day.)
-Howard
On Jun 24, 2013, at 1:00
Correct on all counts. Especially the "cruel" part. :-)
(I actually had already realized the real reason calling release was wrong, but
hadn't removed that line of code yet.)
Thanks,
Howard
On Mar 8, 2012, at 12:47 PM, Mike Abdullah wrote:
> Time for me to be cruel a
nue along with other work in my plug-in, as if
> nothing had happened. (This is all executed from a button press in a sheet.)
>
D'oh! I forgot the ':' in that selector... should have been
respondsToSelector:@selector(setDirectory:). Silly computer, always doing what
I s
On Mar 8, 2012, at 10:10 AM, Howard Moon wrote:
>
> On Mar 8, 2012, at 9:17 AM, Mike Abdullah wrote:
>
>>
>> On 8 Mar 2012, at 14:54, Howard Moon wrote:
>>
>>> On Mar 8, 2012, at 6:21 AM, Mike Abdullah wrote:
>>>>>
>>>>> I&
On Mar 8, 2012, at 9:17 AM, Mike Abdullah wrote:
>
> On 8 Mar 2012, at 14:54, Howard Moon wrote:
>
>> On Mar 8, 2012, at 6:21 AM, Mike Abdullah wrote:
>>>>
>>>>I'm really not that familiar with Objective-C and Cocoa yet, but I'm
>>&g
out in the folder I specified).
>> Is there a case where it WON'T work? If not, then is there a way to prevent
>> the warning?
>
> That method was introduced in 10.6. Are you perhaps building against the 10.5
> SDK or even earlier?
>
Ah,
ow that setDirectoryURL: is an NSSavePanel message, but NSOpenPanel
derives from NSSavePanel, so why does it give me this warning? As I said, it
works fine (i.e., the open panel starts out in the folder I specified). Is
there a case where it WON'T work? If not, then is there a way to prevent th
Thanks, guys! A sheet looks like just what I need here. Now I just need to
figure out how to set that up in the context of vstgui. I'll ask over there if
I need help with that.
Thanks,
Howard
On Feb 29, 2012, at 7:15 PM, Graham Cox wrote:
>
> On 01/03/2012, at 10:05
preferences. And I I don't see
any way to make the orderingMode permanent, such as an "alwaysOnTop" flag or
something.
Thanks,
Howard
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
Thanks, Ken!
On Feb 29, 2012, at 1:39 PM, Ken Thomases wrote:
> On Feb 29, 2012, at 1:03 PM, Howard Moon wrote:
>
>> I've added a Panel to a nib for an audio plug-in I'm working on, and am
>> having trouble determining how the IB Inspector settings relate to
e "style mask" properties might be the culprit, but I
don't know what they do.
Can someone guide me here, or point me to the appropriate
documentation? (My book, Cocoa Programming for Mac OS X, Third Edition, is no
help here.)
Thanks,
Howard
__
but I go the opposite way, always wanting to be able to easily
read what I've written. After all, the symbols themselves will go away once
compiled, and the extra time and space for the characters is inconsequential
(these days) when compared to the need to easily identify what the heck you&
ar... and we got grief for
stopping that! :-)
-Howard
P.S., Fritz, sorry for the double send, and to your personal email at that! I
think I need another coffee! :-)
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
Oh well, thanks, guys!
-Howard
On Feb 23, 2012, at 12:11 PM, Seth Willits wrote:
> On Feb 23, 2012, at 8:49 AM, Howard Moon wrote:
>
>> I'm not sure how to proceed here. Is it possible to modify my .nib file in
>> some manner so that it works in Cocoa (and still work
o support both types?
Thanks,
Howard
___
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/Upda
uses the Cocoa
functionality from my "pure" Cocoa files.
Thanks,
Howard
On Jan 31, 2012, at 1:10 PM, Greg Parker wrote:
> On Jan 31, 2012, at 11:31 AM, Howard Moon wrote:
>> How do I call from a .cpp file into a .mm file?
>
> Write a C or C++ function in the
o do here?
All the examples I find so far show making the call from a .mm file in the
first place, but I can't do that because my code is also compiled for 32-bit
Carbon (and Windows). How do I call from a .cpp file into a .mm file?
Thanks,
Howard
_
I experienced the exact same symptoms as the OP when trying to open more than
just a handful of .png files at once (NONE of which were downloaded from the
internet, but created in Photoshop). Perhaps after some number of files is
exceeded, the behavior changes? It worked fine when I opened jus
Never mind I found it! I can create an NSBitmapImageRep using
initWithCGImage:, create my NSImage using initWithSize:, and then add the
representation to the image using addRepresentation:.
Thanks anyway!
Howard
On Oct 26, 2011, at 10:17 AM, Howard Moon wrote:
> Hi
d create NSCursor objects
from those.)
Thanks,
Howard
___
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
Hel
If the C strings are being read in from a file, you can use the
stringWithContentsOfFile:usedEncoding:error: or
initWithContentsOfFile:usedEncoding:error: methods which will
try to guess the encoding and return the string and the encoding
it used back to you. But even these methods are just guessi
Haven't yet ventured in to iAd territory and don't know any of the data
objects involved,
so could be off in left field here.
Since you will always get the -bannerViewDidLoadAd: delegate callback, even
for the test ad, would it be possible to look inside the ad data to see if
it is the
test ad
On Mon, Jul 25, 2011 at 19:43, Brooke Gravitt wrote:
>
> The Xcode banter has been interesting as well - count me as one of the
> folks who used ProjectBuilder/IB on NextStep and CodeWarrior & MPW on
> the MacOS side. I still generally edit code in Vim, though. My
> flamewars have involved those
On Mon, Jul 25, 2011 at 18:31, Brooke Gravitt wrote:
> On Mon, Jul 25, 2011 at 9:19 PM, Conrad Shultz
> wrote:
> > Take a look at UITextInputTraits to specify a numeric keyboard. (IIRC
> this can be done in IB too.)
> >
> > Take a look at UITextFieldDelegate's textFieldShouldEndEditing: method t
Yes
On Thu, Jul 21, 2011 at 10:59, Eric E. Dolecki wrote:
> I'm curious if there is a way to NSLog how long some code takes to execute
> (outside of using Instruments).
>
> In Flash one can use getTimer and see how much time passed inline. Is there
> a way to do this in Obj-C?
>
> Would one use
On Tue, Jun 7, 2011 at 18:20, Jens Alfke wrote:
>
> On Jun 7, 2011, at 6:17 PM, James Merkel wrote:
>
> > mapquestURLString = [NSString stringWithString:@"
> http://mapq.st/?maptype=hybrid&q=39.7452,-104.98916(Test point label)”];
>
> It’s not the parens that are illegal, it’s the spaces. Change
Look at NSString's decomposedStringWithCanonicalMapping and
decomposedStringWithCompatibilityMapping methods. They'll map
Unicode strings to normalized forms that you can then use and
compare.
- h
On Mon, May 23, 2011 at 21:22, Chris Idou wrote:
>
>
> If I take a string from an NSTextField wit
On Fri, May 20, 2011 at 11:51, Nick Zitzmann wrote:
> I read TFM and searched TFW, and could not find answers to two questions I
> have about NSDatePicker:
>
>
>
> 2. How do I select and unselect date picker elements programmatically?
>
setDatePickerElements:
Sets a bitmask that indicates
be ok. (Just don't ask me how to do that, since I don't
yet use Subversion).
- h
On Wed, May 18, 2011 at 14:45, R4EE wrote:
> Howard,
>
> That was my original approach but the .xcodeproj file wants to save as
> html. I then, wrongly, extracted the .pbxproj file and used it to
The .xcodeproj isn't really a folder, it just looks that way on the FTP
site.
On your Mac it is really a "package".
You want to download all the files from that site (the .xcodeproj, the .m
files,
the .h file, and the .pch file). Drop 'em in a folder and double click on
the
.xcodeproj file to ope
What you are trying to do is perfectly fine to create a free vs non-free
version of your app.
The sticking point is how are you defining ISFREE???
The #if takes an expression which is evaluated to see if it is true
(non-zero) or false (zero).
Did you define ISFREE to be a non-zero numeric value??
>From those symptons, it certainly sounds like there is a missing/crossed
connection in IB for those buttons or you are mising @property/@synthesize
lines for those buttons.
- h
On Mon, May 9, 2011 at 18:19, Martin Batholdy wrote:
> Hi,
>
> I have a preference window with four NSButtons that are
Someone over on StackOverflow mentioned he had written a custom class to
present a UIPickerView (or a UIDatePickerView) in a UIActionSheet that
slides up from the bottom of the page, and was making the code available on
Github. Don't have the URL handy right now, but should be easy enough to
find.
On Sun, Apr 3, 2011 at 21:19, Scott Anguish wrote:
>
> On Apr 3, 2011, at 9:15 PM, Howard Siegel wrote:
>
> > Would you say to get Cocoa Programming by Anguish, Buck, & Yacktman
> (circa
> > Sept 2002), or get Cocoa Programming Developer's Handbook by David
>
No fair You have a vested interest ;-) ;-) ;-) ;-)
- h
On Sun, Apr 3, 2011 at 20:49, Scott Anguish wrote:
> I’d second that.
>
> On Apr 1, 2011, at 5:31 PM, Scott Ellsworth wrote:
>
> > I am told that buck and yacktman's cocoa design patterns is a good source
> of
> > interview questions fo
Would you say to get Cocoa Programming by Anguish, Buck, & Yacktman (circa
Sept 2002), or get Cocoa Programming Developer's Handbook by David Chisnall
(circa Jan 2010), which according to Amazon is the "newer version" of the
book???
- h
On Fri, Apr 1, 2011 at 13:01, John Pannell wrote:
> Even th
Have you properly added the protocol declaration to your class interface
definition??
e.g. @interface YouClass : BaseClass {...}
- h
On Thu, Mar 31, 2011 at 16:09, JAMES ROGERS wrote:
> Everything works but I am getting the following:
>
> Warning: Class "WinKeyer2AppDelegate" does not imp
behaves as I thought it should. My base class
behavior works fine for those classes that don't want to change it, and the
classes that do want custom behavior get it. (Ok, only one class changes it so
far, but it works! :-))
Lesson for the day: NEVER ignore the warnings, ESPEC
gurable.
Partially. Also, I have existing code (for Mac and Windows, AU, VST and RTAS)
that generates the view hierarchy and parameters from XML. I'd like to leverage
that existing code base as much as possible, and mirror it in Objective-C(++)
in order to support 64-bit and remove the V
27;m reading my little eyeballs out, but
just can't find much info on programatically-created NSView hierarchies (my
Cocoa programming book is all NIB-based stuff).
Thanks,
Howard
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Pleas
That will only work if all of the NSURLs all either absolute or relative,
and are all either based on the same physical folder paths or are based on
the same set of aliases/links. If there are different paths based on
different aliases or links, then they won't match.
You might think about using
You never seem to be capturing the result of the recursive calls for return
to the caller.
You final if block should look like this:
if(([endNode depth] < ([self contextDepth] - 1)) && ([mutableSeq
count] > 1) && (found == YES))
{
[mutableSeq removeObjectAtIndex:0];
http://developer.apple.com/carbon/
http://en.wikipedia.org/wiki/Carbon_%28API%29
On Thu, Feb 25, 2010 at 15:40, Chunk 1978 wrote:
> is Apple's Carbon basically code written in C++, while Cocoa is
> written in Objective-C? should developers avoid using frameworks
> written in C++ (like some sou
, Jim Turner wrote:
> Awesome find, Howard. I've needed a password strength algorithm in the
> past and never could find one. Plus, the strength computed by the
> Password Assistant is questionable at best. Given a password of
> '' (20 lowercase
Have a look at the source code for KeePass Password Safe (
http://keepass.info/). It has a password generator and strength
computation. Version 1.x is written in C++ for MS Windows (using MFC).
Version 2.x is a rewrite in C# for .NET.
It has been ported as KeyPassX for Mac OS X and Linux.
- h
O
itions does work with several different formats protected by Adobe DRM,
including protected PDF, and Open eBooks (.epub or Adept) that are similarly
protected. I do not think that it works with BBeB (Marlin) eBooks, though.
Hence my question.
Howard.
Dr Howard Oakley
The Works columnist for MacU
version 1.6 and works
perfectly well here for such DRMed titles, under Leopard, in Windows form
under VMware, and on a suitably authorised Sony Reader...
Howard.
Dr Howard Oakley
The Works columnist for MacUser magazine (UK)
http://www.macuser.co.uk/
http://www.ehnoakley.com/
__
Which Apple framework would I use to interact with the wireless
settings? I need to be able to get a list of the current visible
networks, change networks, etc. from within my app.
Howard Shere
http://www.livejournal.com/users/realgreendragon/
Altair 8800a to Mac OS X so far
text not
appear at all. Obviously it does something with regards to focus (I
think).
Any suggestions?
Howard Shere
http://www.livejournal.com/users/realgreendragon/
Altair 8800a to Mac OS X so far...
___
Cocoa-dev mailing list (Cocoa-dev
written in user space or will i have to write a driver to do it? Is
there a better list to ask this question on?
Howard Shere
http://www.livejournal.com/users/realgreendragon/
Altair 8800a to Mac OS X so far...
___
Cocoa-dev mailing list (Cocoa-dev
68 matches
Mail list logo