One important difference for instance is that if you write if (a()
b()), both a() and b() will always be executed, while if you write if
(a() b()), b() will be executed only if a() is true.
The C language doesn't make any guarantees about that. While this
optimisation is to be expected,
Full disclosure: I don't use iAd, so this is based on WWDC recollection and doc
lookup.
The Test Advertisement I believe only displays when you are testing during
development. Users will never see it.
Keep the banner view hidden until you receive a bannerViewDidLoadAd: message in
the ad
Cornad,
I guess, Test Advertisement displays even your region App store
does not support iAD. I have seen many application in my device
displays Test Advertisement, as iAD not supported in my region.
I agree with your approach,only if the delegate
method(bannerViewDidLoadAd:) is not getting
Drawing item titles into image and caching them for later use works nice.
But I have noticed unacceptable side effect. Normally, when menu is
displayed you can press any letter key, and menu will scroll to the first
item, which title starts with that letter. In my case , NSMenuItems does not
have
On 3 Aug 2011, at 19:20, Quincey Morris wrote:
On Aug 3, 2011, at 05:41, Daniel Vollmer wrote:
Now, what I'm trying to do is resize the tableview horizontally inside the
scrollview *without* changing the size of the window itself[1]. I can do
that easily enough by modifying its frame,
On Aug 3, 2011, at 8:38 PM, Kevin Bracey wrote:
Hi All,
A case of me not grasping C or/and ARC;-)
I'm trying to pass the NSMutableArray across the void to the didEndSelector
so I can access it if the user clicks ok.
/snippits
NSMutableArray *someInfo = [NSArray arrayWithObjects:@made
Hi All,
I want to create a CFString using function CFStringCreateWithBytes.
CFStringRef CFStringCreateWithBytes (
CFAllocatorRef alloc,
const UInt8 *bytes,
CFIndex numBytes,
CFStringEncoding encoding,
Boolean isExternalRepresentation
);
I suspect, the encoding parameter refers to
On 4 Aug 2011, at 6:49 AM, Andreas Grosam wrote:
I want to create a CFString using function CFStringCreateWithBytes.
CFStringRef CFStringCreateWithBytes (
CFAllocatorRef alloc,
const UInt8 *bytes,
CFIndex numBytes,
CFStringEncoding encoding,
Boolean isExternalRepresentation
);
I have a little script sitting locally on my Mac (webserver).
http://eric.domain.com/iOS_Log/logger.php:
?
$myFile = yabba.txt;
$fh = fopen($myFile,'a') or die(can't open file);
$query = $_GET[string];
$stringData = $query.\n;
fwrite($fh,$stringData);
fclose($fh);
?
I am simply trying to send
On 2011 Aug 01, at 08:14, Kevin Perry wrote:
Canceling an autosave when -autosavingIsImplicitlyCancellable returns NO will
cause problems with file coordination.
Thank you, Kevin. I believe you and Jens on this. Indeed, when I close a
document window, its document receives a
http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSString_Class/Reference/NSString.html%23//apple_ref/occ/instm/NSString/writeToURL:atomically:encoding:error:
I'd guess that you could create an NSURL object with the full GET string, then
write an empty
On Aug 4, 2011, at 8:54 AM, Jerry Krinock wrote:
I'm getting a crash if I begin some operations and then hit the 'close'
button on the window while the operations are in progress…
I take the four parameters I receive in
saveToURL:ofType:forSaveOperation:completionHandler: and put them
On Aug 4, 2011, at 7:52 AM, Eric E. Dolecki wrote:
I have a little script sitting locally on my Mac (webserver).
http://eric.domain.com/iOS_Log/logger.php:
?
$myFile = yabba.txt;
$fh = fopen($myFile,'a') or die(can't open file);
$query = $_GET[string];
$stringData = $query.\n;
On 2011 Aug 04, at 07:53, Ken Thomases wrote:
On Aug 4, 2011, at 8:54 AM, Jerry Krinock wrote:
I'm getting a crash if I begin some operations and then hit the 'close'
button on the window while the operations are in progress…
I take the four parameters I receive in
What Ken said.
Also, it might be more convenient to use NSBlockOperation or
-addOperationWithBlock so the function parameters (including the completion
handler) are all captured correctly for you automatically. It's a lot more
convenient than stashing things in an NSDictionary.
Finally, I
I have set the key equivalent for a menu item to A not cmd-A just plain A.
I have other key equivalents set to numbers 0 , 1 , 3.
If I hit 0, 1 or 3 the menu action method is called.
If I hit A the menu action is not called.
Where am I wrong?
-koko
Wow, if that's really the behavior then I'd say you should definitely file a
bug.
Not only should users never see debug/test junk, but it would be ridiculous for
you to have to hard code region support... without an API how would you handle
addition or removal of a region? You shouldn't have
My App has run on this users machine for quite some time now. I just did a new
build changing nothing related to NSURL.
Now when this user runs the app she gets this message:
Dyld Error Message:
Symbol not found: _OBJC_CLASS_$_NSURL
Referenced from: /Applications/Convert It
Le 4 août 2011 à 18:46, koko a écrit :
My App has run on this users machine for quite some time now. I just did a
new build changing nothing related to NSURL.
Now when this user runs the app she gets this message:
Dyld Error Message:
Symbol not found: _OBJC_CLASS_$_NSURL
Referenced
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
If you find that your application is displaying the test ad on a
non-development device after deploying to the App Store, then file a bug.
The App Store build of your application should not be seeing the test ad on
consumer devices. If you ran the App Store version of your application on a
On Sun, 31 Jul 2011 16:20:48 -0700, Rick Mann rm...@latencyzero.com said:
Xcode 3.2.6, iOS 4.3.
My app shows a heartbeat as a flashing red square. Once each second, I execute
the following code. If I use the block style, overall performance of the app
suffers greatly (the UI becomes
At the risk of offending contributors to this list, whose knowledge and
helpfulness I greatly respect, may I suggest that this thread has gone on long
enough and that competing opinions on this topic would be better aired on some
other list?
Boyd___
On Thu, Aug 4, 2011 at 9:17 AM, koko k...@highrolls.net wrote:
I have set the key equivalent for a menu item to A not cmd-A just plain A.
I have other key equivalents set to numbers 0 , 1 , 3.
If I hit 0, 1 or 3 the menu action method is called.
If I hit A the menu action is not called.
On Thu, 04 Aug 2011 00:07:40 +0800, Roland King r...@rols.org said:
Is there any way to find, given a UIView, what the closest presenting
UIViewController is?
Walk the responder chain until you come to a UIViewController?
UIResponder* r = self;
while (![r isKindOfClass:
On Aug 4, 2011, at 03:12, Daniel Vollmer wrote:
On 3 Aug 2011, at 19:20, Quincey Morris wrote:
By modifying the frame of what? You should be changing the scroll view
frame, but you make it sound like you're changing the table view frame.
The frame of the tableview. I want the scrollview
Thanks!
On Aug 4, 2011, at 11:02 , Matt Neuburg wrote:
On Sun, 31 Jul 2011 16:20:48 -0700, Rick Mann rm...@latencyzero.com said:
Xcode 3.2.6, iOS 4.3.
My app shows a heartbeat as a flashing red square. Once each second, I
execute the following code. If I use the block style, overall
On Wed, 03 Aug 2011 13:49:10 -0700, Jens Alfke j...@mooseyard.com said:
As far as I can tell, UITableViewController only works when the table is the
root of the nib
That's basically right. The docs are very clear on this: you must not use
UITableViewController unless the table view *is* the
Hi,
I've been looking for a way to draw on top of a QT movie whose display
dimensions the user can vary using the window's resize handle(?) while it is
running.
I have previously stepped through the individual frames but the result was
jerky.
I obtained a smoother result by first converting
Have you tried putting both the movie view, and a custom overlay inside of a
layer-backed view?
The more traditional route I think is to add a child window for the overlay,
keeping its size/placement in sync with the parent window
Sent from my iPad
On 4 Aug 2011, at 08:13 PM, julius
Thanks !
Now I remember reading about this somewhere ... NSURL moving from one framework
to another.
-koko
On Aug 4, 2011, at 10:59 AM, Jean-Daniel Dupas wrote:
Le 4 août 2011 à 18:46, koko a écrit :
My App has run on this users machine for quite some time now. I just did a
new
On 4 Aug 2011, at 20:25, Mike Abdullah wrote:
Have you tried putting both the movie view, and a custom overlay inside of a
layer-backed view?
The more traditional route I think is to add a child window for the overlay,
keeping its size/placement in sync with the parent window
Hi Mike
Is not cmd-A and A different? Why would cmd-A need to be removed?
-koko
On Aug 4, 2011, at 12:18 PM, Kyle Sluder wrote:
On Thu, Aug 4, 2011 at 9:17 AM, koko k...@highrolls.net wrote:
I have set the key equivalent for a menu item to A not cmd-A just plain A.
I have other key equivalents
On Thu, Aug 4, 2011 at 1:06 PM, koko k...@highrolls.net wrote:
Is not cmd-A and A different? Why would cmd-A need to be removed?
Oh, I misread.
Is this even supported? The key equivalent machinery might not
dispatch non-modified characters to menus…
--Kyle Sluder
I tried searching around and found one other person who had the same
problem[1], but no one followed up with a good solution for existing databases.
I have an entity with a many-to-many relationship to itself, called parents
and children. And when I take a database that was made by an
The reason I have tried is that in the same menu I use 0,1,3,6 without cmd
modifier and they work just fine.
FYI This is a a Zoom Menu
A = zoom all
S = zoom selected
0 = zoom to hoop
1 = zoom 1:1
3 = zoom 3:1
6 = zoom 6:1
On Aug 4, 2011, at 2:18 PM, Kyle Sluder wrote:
On Thu, Aug 4, 2011
I’m having some issues with concurrency with Core Data. I create an object
that has a to-many relationship with another object (which in turn has a
to-one reciprocal relationship with the first object), then dispatch_async
onto a private queue. In that queue, I use a separate managed object
On Aug 3, 2011, at 6:38 PM, Kevin Bracey wrote:
NSMutableArray *someInfo = [NSArray arrayWithObjects:@made , @it,
@across,. nil];
Did you really want to create an NSArray (non-mutable) and then pass it off as
an NSMutableArray? Since you mentioned ARC, I'm surprised the compiler didn't
A managed object context needs to be used and created from the same thread.
Create and use childContext in a single dispatchAsync block.
-Heath
On Aug 4, 2011 5:32 PM, Jeff Kelley slauncha...@gmail.com wrote:
I’m having some issues with concurrency with Core Data. I create an object
that has a
39 matches
Mail list logo