Hi Everyone,
I have a script that repeatedly builds a project on OS X. The
different builds are different build configurations, like Debug,
Release, etc. A user is having trouble with the project and I am
trying to get them to run the script and tee the results so he can
send them to me.
Tee(1) i
On Thu, Mar 8, 2012 at 4:12 PM, H. Miersch wrote:
> hi.
> is there a list of @-directives (like @class, @property and @synthesize)
> somewhere out there?
Apple's official document (they seem to be spread around the document)
*
https://developer.apple.com/library/mac/documentation/Cocoa/Conceptua
On Thu, Mar 8, 2012 at 10:46 AM, Per Bull Holmen wrote:
> Den 23:55 7. mars 2012 skrev Don Quixote de la Mancha
> følgende:
>
>> If you possibly can replace locking algorithms with what are commonly but
>> incorrectly called lock free algorithms. They use Atomic Arithmetic
>> Primitives provid
Hi All,
I'm getting the message "gdb-i386-apple-darwin needs to take control
of another process for debugging to continue.".
Previously, I was getting it for Developer Tools and performed the fix
at [1] (sudo dscl . append /Groups/_developer GroupMembership
).
Any ideas what group is used for gd
On Mon, Aug 15, 2011 at 7:34 PM, Jens Alfke wrote:
>
> On Aug 15, 2011, at 3:56 PM, Jeffrey Walton wrote:
>
> The DoJ could break up Apple's anti-trust lock on shardware/software.
> There's nothing like paying $1500 for a commodity x86 board and case
> with a $
> until a rich uncle dies and I
> can afford the multi-k$ outlay for a *@*@* Intel machine.
The DoJ could break up Apple's anti-trust lock on shardware/software.
There's nothing like paying $1500 for a commodity x86 board and case
with a $39 operating system and beta software installed.
Jeff
On M
On Sat, Aug 6, 2011 at 5:45 AM, Marcus Karlsson wrote:
>
>
> --On August 6, 2011 5:25:53 AM -0400 Jeffrey Walton
> wrote:
>
>> On Sat, Aug 6, 2011 at 5:20 AM, Marcus Karlsson wrote:
>>>
>>> --On August 5, 2011 11:32:09 AM -0400 Sean McBride
>>&g
On Sat, Aug 6, 2011 at 5:20 AM, Marcus Karlsson wrote:
>
> --On August 5, 2011 11:32:09 AM -0400 Sean McBride
> wrote:
>
>> On Sun, 31 Jul 2011 16:49:34 -0700, JongAm Park said:
>>
>>> Because gcc now supports OpenMP, we can use pragmas for OpenMP without
>>> doing any special steps except for se
On Mon, Aug 1, 2011 at 4:08 PM, Greg Parker wrote:
>
> On Aug 1, 2011, at 8:47 AM, Gordon Apple wrote:
>
>> It’s not that I object to anyone doing it, if that makes them more
>> comfortable, but a warning on ““&&” inside of “||”” is ridiculous. Everyone
>> knows that multiplication takes preceden
Hi ALl,
Is it possible to query a control (such as a background or button) for
its default color? Under interface builder, there appears to be a
default color recognized. Is this specific to IB?
I'm more interested in assigning the default color at runtime (if the
user previously changed it), but
On Wed, Jul 13, 2011 at 3:00 PM, Jeffrey Walton wrote:
> I've been testing refreshing my views in a split view. If the user
> brings the app to the foreground, I'm processing both the
> application's -applicationDidBecomeActive and the view contro
Hi All,
I've been testing refreshing my views in a split view. If the user
brings the app to the foreground, I'm processing both the
application's -applicationDidBecomeActive and the view controller's
-viewWillAppear. -applicationDidBecomeActive sends a message
(-refreshView) to all view controlle
Hi All,
My apologies if this is more appropriate for another group. Please
point me in the right direction.
I'm interested in testing cleanup and shutdown code (this is a little
different than 'save state in -didEnterBackground'). For example,
MyViewController -viewDidUnload and -dealloc. From th
On Fri, Jul 1, 2011 at 7:30 AM, Daniel Wambold wrote:
> Hello. I have an iPhone app (SDK 4.3) that uses symmetric key encryption (AES
> 256, through the CommonCrypto library). I have the parameters set to use
> pkcs7 padding, and an iv of all zeros (CBC mode). My question (somewhat off
> the li
On Thu, Jun 30, 2011 at 7:06 PM, Greg Guerin wrote:
> James Merkel wrote:
>
>> Everyone doesn't approach this stuff with the same background.
>> We find from Kernighan and Ritchie (K&R) second edition, section 8.1 that
>> a file descriptor is a small non-negative integer that refers to a file and
Hi All,
I have a table view and would like to float a button on top of the
table view. The button is a will function as a refresh, and have a PNG
image.
When I try and place a button on the table in Interface Builder, the
drag/drop is rejected. Can someone point me in the right direction?
Thanks
On Tue, Jun 7, 2011 at 8:03 PM, Jeffrey Walton wrote:
> On Tue, Jun 7, 2011 at 7:42 PM, James Merkel wrote:
>> I am sending a URL string to NSWorkspace's openURL method that has the
>> bracket characters ( ) in it. The URL can't be opened by NSWorkspace. If I
>&
On Tue, Jun 7, 2011 at 7:42 PM, James Merkel wrote:
> I am sending a URL string to NSWorkspace's openURL method that has the
> bracket characters ( ) in it. The URL can't be opened by NSWorkspace. If I
> take out the ( ) characters NSWorkspace then opens the URL, so I guess
> NSWorkspace conside
On Fri, Jun 3, 2011 at 2:48 PM, Evadne Wu wrote:
> Dropbox sync is good for a pile of files, but no more than that. Let’s
> rebound the requirements:
>
> * there’s a single user Core Data app
> * want an iPad version of the app
> * the two versions will sync up
>
> Given the requirements, and ad
On Thu, Jun 2, 2011 at 4:17 AM, Conrad Shultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 6/1/11 11:45 PM, Bing Li wrote:
>> Dear all,
>>
>> I have a question on delegate/notification techniques in Cocoa.
>
> Roland and Jens have already addressed your main issue (you can also
On Tue, May 31, 2011 at 3:49 PM, Conrad Shultz
wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 5/31/11 12:23 PM, Jeffrey Walton wrote:
>> Hi All,
>>
>> I have a view that accepts input using UIKeyInput. The VC's
>> viewWillAppear: calls
Hi All,
I have a view that accepts input using UIKeyInput. The VC's
viewWillAppear: calls [myHiddenView becomeFirstResponder] which shows
the alphanumeric keyboard. I get input as expected through insertText:
and deleteBackwards:.
How does one change the keyboard type to UIKeyboardTypeNumberPad?
On Sun, May 29, 2011 at 4:04 PM, julius wrote:
> Hi,
> I have just spent time investigating why
> an if statement involving an [array count] was apparently misbehaving.
>
> The construct was this:
> if(3 < ([zAry count] - 10))
> It delivers a (to me unexpected) result when [zAry count] < 10
On Thu, May 26, 2011 at 9:15 PM, Dave Keck wrote:
>> I'm using random(), but every time I run my app I get the same sequence,
>> despite having this code in my app delegate's -appDidFinishLaunching method.
>> Clearly I'm not seeding it right, though I can't see why - I get a different
>> value
On Tue, May 24, 2011 at 6:35 PM, glenn andreas wrote:
>
> On May 24, 2011, at 5:28 PM, Jeffrey Walton wrote:
>
>> Hi All,
>>
>> Is it possible to display a keyboard and take input from (via a
>> delegate) without using a text field?
>>
>> There
Hi All,
Is it possible to display a keyboard and take input from (via a
delegate) without using a text field?
There's not much reading from Apple's doc:
http://www.google.com/search?sourceid=chrome&ie=UTF-8&q=UIKeyboard+class+reference+site%3Aapple.com
Jeff
__
Hi All,
I have an application with UIFileSharingEnabled. If the device is
tethered, a user can use iTunes (or other programs) to drop new files
or delete existing files. I would like to detect the changes.
Is there a 'directory change' (or similar) notification? 'Notification
Programming Topics'
On Wed, May 18, 2011 at 2:16 PM, Ken Thomases wrote:
> On May 18, 2011, at 12:55 PM, Bing Li wrote:
>
>> NSXMLElement *root = [NSXMLNode elementWithName:"MessageRoot"];
>
> As per Cocoa's memory management conventions, you don't not own the object
> returned by -[NSXMLNode elementWithName:
ordPromptController *)viewController clearPassworAndPin];
}
}
>
> On Mon, Apr 25, 2011 at 9:59 PM, Jeffrey Walton wrote:
>> Hi All,
>>
>> According to the documentation in the headers:
>>
>> // UIViewController.h
>> // Called when the
Hi All,
According to the documentation in the headers:
// UIViewController.h
// Called when the view is dismissed, covered or otherwise hidden.
- (void)viewWillDisappear:(BOOL)animated;
And Apple's documentation [1]:
Notifies the view controller that its view is about to be dism
On Sat, Apr 16, 2011 at 2:19 PM, Eli Bach wrote:
>
> On Apr 16, 2011, at 11:35 AM, Jeffrey Walton wrote:
>
>> Format: ACV0 Media, 640x480, Millions, AAC (Protected), 2 channels, 44100 HZ
>
> I'm 90% sure that it's the "(Protected)" part that prevents it f
On Sat, Apr 16, 2011 at 12:39 PM, Matt Neuburg wrote:
>
> On Apr 16, 2011, at 9:00 AM, Jeffrey Walton wrote:
>
>>
>> For what its worth, Apple's sample [1] is broken - it can't even play
>> the movie it supplies with its sample.
>>
>> Jeff
>
On Sat, Apr 16, 2011 at 11:44 AM, Matt Neuburg wrote:
> On Thu, 14 Apr 2011 14:58:06 -0400, Jeffrey Walton said:
>>The problem appears to be with the size of the M4V
>
> I had trouble with this too, the first time I tried to use
> MPMoviePlayerController. Consult the spec
On Sat, Apr 16, 2011 at 12:39 PM, Matt Neuburg wrote:
>
> On Apr 16, 2011, at 9:00 AM, Jeffrey Walton wrote:
>
>>
>> For what its worth, Apple's sample [1] is broken - it can't even play
>> the movie it supplies with its sample.
>>
>> Jeff
>
On Sat, Apr 16, 2011 at 11:44 AM, Matt Neuburg wrote:
> On Thu, 14 Apr 2011 14:58:06 -0400, Jeffrey Walton said:
>>The problem appears to be with the size of the M4V
>
> I had trouble with this too, the first time I tried to use
> MPMoviePlayerController. Consult the spec
On Wed, Apr 13, 2011 at 12:15 PM, Jeffrey Walton wrote:
> Hi All,
>
> I'm trying to play a M4V acquired from iTunes [1]. The movie is local
> and was transferred into my sandbox using iTunes via file sharing.
>
> Working from a Hillegass example ('Playing Movie F
On Wed, Apr 13, 2011 at 3:32 PM, Kyle Sluder wrote:
> On Wed, Apr 13, 2011 at 11:39 AM, Jeffrey Walton wrote:
>> Below is the rabbit hole I went down trying to play a Movie. I would
>> give my left arm for a return code right about now. With a error code,
>&g
On Wed, Apr 13, 2011 at 3:12 PM, Kyle Sluder wrote:
> On Wed, Apr 13, 2011 at 11:39 AM, Jeffrey Walton wrote:
>> On Wed, Apr 13, 2011 at 1:26 PM, Kyle Sluder wrote:
>>> On Apr 13, 2011, at 9:15 AM, Jeffrey Walton wrote:
>>>
[ SNIP ]
>>>
>>
>> MPM
On Wed, Apr 13, 2011 at 1:26 PM, Kyle Sluder wrote:
> On Apr 13, 2011, at 9:15 AM, Jeffrey Walton wrote:
>
>>
>>
>> Unfortunately, PLAY is not documented [2]. In addition, I can't find a
>> delegate (as with other controllers) and there are no notifications
&
Hi All,
I'm trying to play a M4V acquired from iTunes [1]. The movie is local
and was transferred into my sandbox using iTunes via file sharing.
Working from a Hillegass example ('Playing Movie Files', p. 294), the
player appears to load/display but does not play.
Unfortunately, PLAY is not docu
On Mon, Apr 11, 2011 at 7:33 AM, Jeffrey Walton wrote:
> Hi All,
>
> How does one determine if loadRequest: has failed? I'm pretty sure the
> webview could not handle the document passed to it (the view is
> black), but I don't know how to test for the failure. The
> d
Hi All,
How does one determine if loadRequest: has failed? I'm pretty sure the
webview could not handle the document passed to it (the view is
black), but I don't know how to test for the failure. The
documentation for loadRequest [1] does not mention error conditions or
testing.
Jeff
[1]
http:
On Mon, Apr 11, 2011 at 5:03 AM, steven Hooley wrote:
>>> I know its not very popular, but I've disciplined myself to set all
>>> variables (including stack) to their low or unused state when finished
>>> with them. It helps locate reuse problems in Debug builds (and I
>>> really don't care a bit
ds (and I
really don't care a bit about the 3 cycles). The optimizer can remove
it later if it desires.
Jeff
>
> From: cocoa-dev-bounces+lrucker=vmware@lists.apple.com
> [cocoa-dev-bounces+lrucker=vmware@lists.apple.com] On Behalf Of Je
On Fri, Apr 8, 2011 at 8:27 AM, Matt Neuburg wrote:
> On Thu, 07 Apr 2011 07:15:20 -0400, Jeffrey Walton said:
>>Hi All,
>>
>>I have a UIViewController as follows. Its just an "About Box", with a
>>navigation bar and button (to cancel) and two labels.
>>
On Thu, Apr 7, 2011 at 5:55 PM, Quincey Morris
wrote:
> On Apr 7, 2011, at 13:44, Jeffrey Walton wrote:
>
>> How do experienced folks layout their interfaces? Is Interface Builder
>> used? I seem to recall Mark and LeMarche stating that Apple recommends
>> IB. But I s
is clicked, the "About Box" is shown. I'd like to rip it out
for efficiency, but I cannot (OpenSSL licensing requires a statement).
Jeff
> On 7 Apr 2011, at 12:15, Jeffrey Walton wrote:
>
>> Hi All,
>>
>> I have a UIViewController as follows. Its just an &quo
t is "NSZombieEnable = YES"
and "NSAutoreleaseFreedObjectCheckEnabled = YES".
How do experienced folks layout their interfaces? Is Interface Builder
used? I seem to recall Mark and LeMarche stating that Apple recommends
IB. But I seem to be having chronic problems with it (3.
Hi All,
I have a UIViewController as follows. Its just an "About Box", with a
navigation bar and button (to cancel) and two labels.
The controller was built with Interface Builder. The Navigation Bar
and two labels are IBOutlets. According to IB, they are properly
connected. I did not know what t
On Wed, Apr 6, 2011 at 5:09 AM, Quincey Morris
wrote:
> On Apr 6, 2011, at 01:53, Jeffrey Walton wrote:
>
>> Scroll View:
>> Scroll View Connection: file's owner
>> Scroll View Delegate: not connected (connected did not help)
>> Size: 320 x 431 (Tab Bar)
&g
On Wed, Apr 6, 2011 at 2:47 AM, Quincey Morris
wrote:
> On Apr 5, 2011, at 23:28, Quincey Morris wrote:
>
>> Almost certainly your problem is that you failed to set the autoresizing
>> springs correctly for the "document" view. In the simplest case, it should
>> be anchored on all 4 sides, and b
Hi All,
I'm working from "Scroll View Programming Guide for Cocoa" [1]. All
items are IBOutlets (even the ScrollView), and all outlets are
verified in ViewDidLoad via ASSERTs (no asserts fire). I believe I
have followed the instructions under Creating a Scroll View in
Interface Builder. Unfortunat
Hi All,
I need to accept a filename from the user. Given the user supplied
filename, I form a fully qualified name:
NSString* pathName = [NSHomeDirectory(),
stringByAppendingPathComponent:@"Documents"];
NSString* fullPathName = [pathName stringByAppendingPathComponent:filename];
How do I canoni
On Sat, Apr 2, 2011 at 9:53 PM, Quincey Morris
wrote:
> On Apr 2, 2011, at 18:01, Jeffrey Walton wrote:
>
>> I planned on saving some state when the applicationWillTerminate was
>> invoked. Are things working as expected? Should I abandon my plans to
>> save state during
On Mon, Apr 4, 2011 at 12:20 PM, Philip Ershler wrote:
> Hi,
> After beating my head against the wall trying to subclass UISwitch, so
> that I might change the "text" for the two states, I finally noticed that
> there is a statement in the docs that UISwitch cannot be subclassed. (Please
Hi All,
I'm using NSLog and breakpoints to trace application life cycle
messages on an iPhone. I'm receiving applicationDidBecomeActive,
applicationWillResignActive, applicationDidEnterBackground,
applicationWillEnterForeground, etc as expected.
If I perform the following, the application does no
Hi All,
According to [1], NSSecureTextFieldCell provides a text field whose
value is guarded from user examination.
Does anyone know if the object zeroizes its memory? If not, does
anyone have suggestions to get a ZeroizingSecureTextFieldCell?
Thanks in advance,
Jeff
[1]
http://developer.appl
On Sat, Mar 26, 2011 at 11:48 PM, Quincey Morris
wrote:
> On Mar 26, 2011, at 20:30, Jeffrey Walton wrote:
>
>> I'm not sure what its being sent to. below, I changed 'delegate' to
>> 'callbackDelegate' in case of a hidden name clash. Then I put in a few
On Sat, Mar 26, 2011 at 11:30 PM, Jeffrey Walton wrote:
> On Sat, Mar 26, 2011 at 10:35 PM, Sherm Pendley
> wrote:
>> On Sat, Mar 26, 2011 at 10:21 PM, Jeffrey Walton wrote:
>>>
>>> 2011-03-26 22:12:50.029 CryptoSandbox[123:707] -[UIView
>>> userSelect
On Sat, Mar 26, 2011 at 10:37 PM, Kyle Sluder wrote:
> On Sat, Mar 26, 2011 at 7:35 PM, Sherm Pendley
> wrote:
>> The delegate message is being sent to an instance of UIView - not to
>> your controller. That would indicate that the first argument you're
>> sending to -initWithDelegate:withContex
On Sat, Mar 26, 2011 at 10:35 PM, Sherm Pendley wrote:
> On Sat, Mar 26, 2011 at 10:21 PM, Jeffrey Walton wrote:
>>
>> 2011-03-26 22:12:50.029 CryptoSandbox[123:707] -[UIView
>> userSelectedFile:fileSystemObject:suppliedContext:]: unrecognized
>> selector sent t
7; by default.
Jeff
>
> On Mar 26, 2011, at 8:23 PM, Jeffrey Walton wrote:
>
>> On Sat, Mar 26, 2011 at 11:01 PM, Jeffrey Walton wrote:
>>> On Sat, Mar 26, 2011 at 10:37 PM, Kyle Sluder wrote:
>>>> On Sat, Mar 26, 2011 at 7:35 PM, Sherm Pendley
>>&
On Sat, Mar 26, 2011 at 9:56 PM, Kyle Sluder wrote:
> On Sat, Mar 26, 2011 at 6:39 PM, Jeffrey Walton wrote:
>> // FilePicker.m - try both
>> BOOL responds = [delegate respondsToSelector:@selector(userSelectedFile:)];
>> BOOL responds = [delegate
>> r
Hi All,
I have a protocol and declarations as follows. respondsToSeletor
returns NO. If I ignore respondsToSeletor (and send the message), I
get an expeption.
// FilePicker.m - try both
BOOL responds = [delegate respondsToSelector:@selector(userSelectedFile:)];
BOOL responds = [delegate
respondsT
On Sat, Mar 26, 2011 at 1:46 AM, Quincey Morris
wrote:
> On Mar 25, 2011, at 22:38, Jeffrey Walton wrote:
>
>> I'm interested in retrieving attributes of a file (extension, size,
>> and modified). NSFileManager will fetch a NSDirectoryEnumerator. From
>> NSDir
Hi All,
I'm interested in retrieving attributes of a file (extension, size,
and modified). NSFileManager will fetch a NSDirectoryEnumerator. From
NSDirectoryEnumerator, I can get a dictionary of attributes.
Where does one find a list of keys for the dictionary? I did not see
it listed in Apple's
On Mon, Mar 21, 2011 at 9:26 PM, Rick Mann wrote:
> Where is this document to be found? I've looked all over the iOS developer
> portal (and iTunesConnect), and can't find it.
>
Visit developer.apple.com. Log into the Member Center. Near the upper
left, click the link on your Organization. Once y
On Sun, Mar 13, 2011 at 3:15 PM, Dave Keck wrote:
>> I have used kqueue and kevents for event triggering. However i am not sure
>> if it is possible to send events to a kqueue? Googling didnt helped. I was
>> thinking as its "kernel" que and kernel notifies. Does it mean that users
>> can not sen
On Fri, Mar 11, 2011 at 2:36 AM, Quincey Morris
wrote:
> On Mar 9, 2011, at 16:33, Jeffrey Walton wrote:
>
> The
> code executes properly on the first invocation, but crashes on the
> second invocation. The cause of the crash is walker = [fileManager
> enumeratorAtPath:director
x27;ll have
to look for the issue in other places. I'm not threading at this
point, which leads me to beliew I've got a problem with my view stack.
Thanks for taking the time.
Jeff
On Fri, Mar 11, 2011 at 4:27 AM, Andreas Grosam wrote:
>
> On Mar 10, 2011, at 1:33 AM, Jeffrey Wal
Hi All,
I've got a method that refreshes a list of files in a directory. The
code executes properly on the first invocation, but crashes on the
second invocation. The cause of the crash is walker = [fileManager
enumeratorAtPath:directory].
Any ideas on the cause? I experience the crash with both
71 matches
Mail list logo