On 2012-08-13, at 3:40 PM, Greg Parker wrote:
On Aug 11, 2012, at 6:16 PM, Jayson Adams jay...@circusponies.com wrote:
What I have been ranting and raving about is the fact that the 64-bit
porting guide currently states that you may not want to move to 64-bit.
That is the official advice
On Aug 12, 2012, at 1:53 PM, Seth Willits wrote:
I find it somewhat surprising that there are dozens of Mac and iOS feed
readers out there, but no major open source Cocoa alternative to PubSub.
FWIW, the feed reader Vienna is open source:
http://www.vienna-rss.org/
It's not really
Thanks for your answer.
I'm looking at cell-based table view right now,
It's seems like it's pretty not dynamically to make a custom view of the
cell view.
do you have any idea to custom it ?
So actually I looking for how to access the table cell view components
without change it to
In 10.8, what capabilities does a window need in order for it to have the
window title drop down menu? My windows don't seem to have this feature.
Does the window need to be document based?
Thanks,
Jim Merkel
___
Cocoa-dev mailing list
OK, I think I've isolated the issue... basically, __weak, @public, and
-fno-objc-arc don't like to play nice together. If you set a @public __weak
instance variable (may also apply to stack variables, I haven't tested that
yet) in a file compiled with -fno-objc-arc, and then access it in a file
Le 13 août 2012, à 23:47, Mike Abdullah cocoa...@mikeabdullah.net scripsit:
An idea I've vaguely wondered about would be turning the isa variable into a
tagged pointer. If you know nothing is accessing it directly (to do so was
deprecated with the modern runtime), then, say, the last 4 bits
On Tue, Aug 14, 2012 at 2:43 AM, Seth Willits sli...@araelium.com wrote:
- (BOOL)readSelectionFromPasteboard:(NSPasteboard *)pboard type:(NSString
*)type
{
if ([type isEqual:NSStringPboardType]) {
if ([[pboard stringForType:type] isEqual:@foo]) {
On 14 Aug 2012, at 03:16, Alfian Busyro alfian.bus...@kddi-web.com wrote:
Thanks for your answer.
I'm looking at cell-based table view right now,
It's seems like it's pretty not dynamically to make a custom view of the cell
view.
do you have any idea to custom it ?
So actually I looking
On 14 Aug 2012, at 01:30, Ross Carter rosscarter...@me.com wrote:
On Aug 12, 2012, at 5:34 AM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
In windowWillUseStandardFrame:defaultFrame: in a subclass of NSDocument
(which is also the delegate of it's window) I want to set the window to
I have an app which works fine under Lion, but with 10.8 (Xcode 4.4.1) it
crashes the Springboard in the Simulator (both iPhone and iPad).
It never gets to: application:didFinishLaunchingWithOptions:
Console log has several lines like:
14/08/2012 15:40:52.411 com.apple.launchd.peruser.502[129]:
On 13 Aug 2012, at 16:56, Kyle Sluder k...@ksluder.com wrote:
On Aug 13, 2012, at 8:42 AM, Ben ben_cocoa_dev_l...@yahoo.co.uk wrote:
I see in the documentation - and from a compiler error - that some classes
are not compatible with weak references.
What makes these classes incompatible?
On 13 Aug 2012, at 20:40, Greg Parker gpar...@apple.com wrote:
On Aug 11, 2012, at 6:16 PM, Jayson Adams jay...@circusponies.com wrote:
Poor reading skills are keeping this thread alive. No, I have not been
saying anything related to whatever work I may or may not have that's
related to
On 2012 Aug 13, Graham Cox graham@bigpond.com wrote:
Thanks! I was able to index my help by doing it in 10.7. (I tried 4.2, the
latest I could find, and it doesn't work).
No thanks! This means that my one-click shipping script is going to have to
call over to another Mac to build the
(Um... looks like the list server ate my previous attempt to send this... so if
you're getting this twice, sorry!)
OK, I think I've isolated the issue... basically, __weak, @public, and
-fno-objc-arc don't like to play nice together. If you set a @public __weak
instance variable (may also
Am 12.08.2012 um 20:53 schrieb Seth Willits sli...@araelium.com:
The problem I'm having right now is if I add a feed, remove that feed, then
add a new feed with the same URL, grabbing the entries throws assertions.
Hm. I don't seem to have this problem. I guess I'd need to make sure that
My app has been displaying a progress indicator superimposed over the dock icon
successfully until more recent MacOS versions. With the latter it appears as a
black bar instead of blue (currently testing on Mountain Lion but suspect Lion
has the same problem, Snow Leopard and previous ones are
Charlie Dickman wrote:
What I want to do is determine the ratio of inactive to free in
order to determine when to execute the purge command to free up the
inactive memory before the system gets into trouble.
It's unnecessary to purge or free Inactive memory.
Quoting from:
When I run Apple's CocoaConvert64 tool on a source file, it flags wherever I've
invoked sizeof() with
#warning 64BIT: Inspect use of sizeof
However when I read Apple's 64-Bit Transistion Guide, sizeof() is only
mentioned as being a great thing which should be used liberally. And that
makes
If I spin wheel of a UIPicker viewand need to pick up my finger to spin some
more the item under the selection indicator is chosen.
Now I have to go back the the UIPickerView to scroll to my desired selection.
How can I make it not 'auto-select' and only select with a tap ?
-koko
How can I enable full file protection (encryption) on iOS for SQLite databases?
The obvious, easy part is setting the NSFileProtectionComplete attribute on the
SQLite database file after it's first created. Presumably this attribute will
stick, because I don't think SQLite every recreates the
___
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:
You're right.
After I looked at Apple Documentation. I realized it.
And exactly like what your told, I have to getting use with NSCell old
fashion.
With Regards,
Alfian.
On 12/08/14 17:44, Mike Abdullah wrote:
On 14 Aug 2012, at 03:16, Alfian Busyro alfian.bus...@kddi-web.com wrote:
Thanks
When my app is running menu bar requests are honored in a timely fashion but
neither keyboard shortcuts nor mouse clicks not in the menu bar are.
Can anybody tell me why and what to do about it?
Charlie Dickman
3tothe...@comcast.net
___
Cocoa-dev
Hi All,
I'm looking for some suggestions in speeding up image display.
This bit of code is called when a table view selection changes.
It can take 2-4 seconds for the image to be displayed in a
related NSImageView.
- (void) showImageForIndex: (NSInteger) ix
{
NSImage *image = nil;
if (ix
I have an app that uses the callback speechSynthesizer:didFinishSpeaking:
from NSSpeechSynthesizerDelegate to synchronize things at the end of an
utterance. I am not sure what happens if I tell my NSSpeechSynthesizer
instance to start speaking while the Macintosh is in DarkWake, and also about
I have been getting the following messages in the console window while my
program is running...
Wed Aug 15 11:13:51 charlie-dickmans-mac-pro.local Mah-Jongg[4416] Error:
CGContextSetFillColorWithColor: invalid context 0x0
Wed Aug 15 11:13:51 charlie-dickmans-mac-pro.local Mah-Jongg[4416] Error:
I am using NSRegularExpression to search for certain words in a
string. To interrogate the results I use something like:
NSArray *matches = [regularExpression matchesInString: myString
options:0 range: NSMakeRange(0, [myString length])];
for (NSTextCheckingResult *match in matches)
{
After a number of successful submissions of my sandboxed app tot he App Store,
today Apple decided to reject my app because one of the 3rd party frameworks it
includes and links against is not sandboxed. I don't recall hearing about
sandboxing frameworks separately. I know they need to be
I just discovered IKImageView leaks a huge amount of memory (possibly
the entire image data) when quickly releasing an instance and then
creating a new one and do it again. There are also smaller memory
leaks in the implementation reported by the Instruments Leaks tool.
Based on my analysis, I
How can I enable full file protection (encryption) on iOS for SQLite databases?
The obvious, easy part is setting the NSFileProtectionComplete attribute on the
SQLite database file after it's first created. Presumably this attribute will
stick, because I don't think SQLite every recreates the
An update: I tried to use the performSelector:withDelay workaround in
my main app. It doesn't seem to work there for reasons I can't
explain. So I'm pretty stuck up a creek now. Any other ideas greatly
appreciated.
Thanks,
Eric
___
Cocoa-dev mailing
Ahh the Atari ST… Now those are fond memories indeed…
-Stevo Brock
Sunset Magicwerks, LLC
www.sunsetmagicwerks.com
818-609-0258
On Aug 14, 2012, at 12:09 AM, Vincent Habchi wrote:
Le 13 août 2012, à 23:47, Mike Abdullah cocoa...@mikeabdullah.net scripsit:
An idea I've vaguely
On Aug 13, 2012, at 11:38 PM, Britt Durbrow wrote:
OK, I think I've isolated the issue... basically, __weak, @public, and
-fno-objc-arc don't like to play nice together. If you set a @public __weak
instance variable (may also apply to stack variables, I haven't tested that
yet) in a file
On Tue, Aug 14, 2012, at 12:09 AM, Vincent Habchi wrote:
Using part of pointer to do something else than record an address is
perilous.
NSNumber does exactly that on 10.7 and higher. Tagged pointers are a
well-understood technique.
You just have to be careful not to dereference them directly.
On Aug 14, 2012, at 2:09 AM, Vincent Habchi vi...@macports.org wrote:
Le 13 août 2012, à 23:47, Mike Abdullah cocoa...@mikeabdullah.net scripsit:
An idea I've vaguely wondered about would be turning the isa variable into a
tagged pointer. If you know nothing is accessing it directly (to do
On Aug 14, 2012, at 3:21 AM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
I have an app which works fine under Lion, but with 10.8 (Xcode 4.4.1) it
crashes the Springboard in the Simulator (both iPhone and iPad).
It never gets to: application:didFinishLaunchingWithOptions:
SpringBoard is
On Aug 15, 2012, at 4:46 PM, John McCall rjmcc...@apple.com wrote:
On Aug 13, 2012, at 11:38 PM, Britt Durbrow wrote:
OK, I think I've isolated the issue... basically, __weak, @public, and
-fno-objc-arc don't like to play nice together. If you set a @public __weak
instance variable (may
When you say superimposed over the dock icon, do you mean you use [NSApp
dockTile], or actually put an NSPanel over the dock? I'm using dockTile to put
up a progress bar - it's a custom one that's gray white, but it works fine.
The sample app for dockTile is easily tweaked.
On Aug 14, 2012,
That exists already in Lion with NSNumber objects: some types of pointers to
NSNumbers actually use the low bits of the pointer to indicate the type and the
rest of the pointer to pack the value; resulting in not needing to actually
allocate an object off the heap (which is why direct isa
On 14/08/2012, at 9:49 PM, Jerry Krinock je...@ieee.org wrote:
What do mean by doesn't work?
I mean I get a whole bunch of errors of the type I mentioned at the start of
this thread and the index file is useless.
--Graham
___
Cocoa-dev mailing
So, here's a basic question about constraints: How do I make a sheet with
Cancel and OK buttons, such that the two buttons keep the same width? This
doesn't seem possible to do by simply dropping a couple buttons in IB. I'm sure
it can be done programmatically, although I'm not sure of the best
On Aug 14, 2012, at 12:12 PM, Jerry Krinock je...@ieee.org wrote:
When I run Apple's CocoaConvert64 tool on a source file, it flags wherever
I've invoked sizeof() with
#warning 64BIT: Inspect use of sizeof
However when I read Apple's 64-Bit Transistion Guide, sizeof() is only
mentioned
On Wed, Aug 15, 2012 at 10:20 AM, Charlie Dickman 3tothe...@comcast.net wrote:
[[NSColor whiteColor] set];
[die1 drawInRect: iDieDrawRect
fromRect: imageRect1
operation: NSCompositeSourceOver
I am working on an app which will, among other things, write out an X3D file,
in XML format. (Background: X3D is a language for describing three-dimensional
scenes*; one way to put an X3D scene in a file is to use XML.) Some of the X3D
fields, which map to attributes of XML nodes, are of the
The matches should be returned in order.
Douglas Davidson
On Aug 15, 2012, at 8:33 AM, Koen van der Drift koenvanderdr...@gmail.com
wrote:
I am using NSRegularExpression to search for certain words in a
string. To interrogate the results I use something like:
NSArray *matches =
After googling, I found that in -[NSDocument windowControllerDidLoadNib], I had
to begin my sheet by calling performSelector on the main thread (actually I
scheduled a block operation). This is kinda gross, but seems to work.
Unfortunately, the result is that the main window animates opening
Here's the whole method... it is being called from within a view's drawRect
method...
- (void) showDiceAtX: (float) x Y: (float) y {
NSRect imageRect1, imageRect2;
NSImage *die1 = nil, *die2 = nil;
iDie = iRand(1, 6);
switch (iDie) {
case 1:
On 16 Aug 2012, at 07:43, Greg Parker gpar...@apple.com wrote:
On Aug 14, 2012, at 3:21 AM, Gerriet M. Denkmann gerr...@mdenkmann.de wrote:
I have an app which works fine under Lion, but with 10.8 (Xcode 4.4.1) it
crashes the Springboard in the Simulator (both iPhone and iPad).
It never
On Aug 15, 2012, at 8:20 AM, Charlie Dickman 3tothe...@comcast.net wrote:
I have been getting the following messages in the console window while my
program is running...
Wed Aug 15 11:13:51 charlie-dickmans-mac-pro.local Mah-Jongg[4416] Error:
CGContextSetFillColorWithColor: invalid
On Wed, Aug 15, 2012 at 10:02 PM, Charlie Dickman 3tothe...@comcast.net wrote:
Here's the whole method... it is being called from within a view's drawRect
method...
Are you calling drawRect directly from your code? If so, don't do
that. You should be sending one of the setNeedsDisplay
On Aug 14, 2012, at 9:58 PM, Marco S Hyman m...@snafu.org wrote:
The images are typically 25 MB Canon 7D raw image files that have
been pre-alloc'ed and initWithContentsOfFile:
NSImage doesn't actually load the image pixels until it needs to. Merely
initializing an instance won't do it.
On Aug 14, 2012, at 11:30 PM, Jay Reynolds Freeman
jay_reynolds_free...@mac.com wrote:
I suspect that the disabling of audio for DarkWake is at the hardware level,
so that NSSpeechSynthesizer doesn't even know DarkWake is active, but I am
not sure. Does anyone know if DarkWake affects the
-- Jay Reynolds Freeman
-
jay_reynolds_free...@mac.com
http://JayReynoldsFreeman.com (personal web site)
On Aug 15, 2012, at 20:31, Jens Alfke j...@mooseyard.com wrote:
On Aug 14, 2012, at 11:30 PM, Jay Reynolds Freeman
jay_reynolds_free...@mac.com wrote:
I suspect
On Aug 15, 2012, at 4:16 PM, I wrote:
How can I enable full file protection (encryption) on iOS for SQLite
databases?
To answer my own question: buried down inside sqlite3.h I found the following
flags that appear to have been added by Apple. There's no documentation of
them, but I infer
Sorry for the previous blank message, messed up cut/paste on my iPad.
I thought that DarkWake was the name for the advanced form of Power Nap on
10.8; in any case that is what I meant. I *think* I understand that the system
can put apps of its choice into that mode (audio and console powered
I DO NOT call drawRect directly. I DO call [self setNeedsDisplay: YES] to keep
things going. All drawing is done from inside drawRect which has been invoked
through the use of [self setNeedsDisplay: YES],
On Aug 15, 2012, at 11:19 PM, Stephen J. Butler wrote:
On Wed, Aug 15, 2012 at 10:02
On Aug 15, 2012, at 8:24 PM, Jens Alfke j...@mooseyard.com wrote:
The images are typically 25 MB Canon 7D raw image files that have
been pre-alloc'ed and initWithContentsOfFile:
NSImage doesn't actually load the image pixels until it needs to. Merely
initializing an instance won't do it.
57 matches
Mail list logo