On 14 Jul 2011, at 01:23, William Squires wrote:
> Sorry about the post - if there's an appropriate Apple list for info on
> Cocoaheads clubs is/are, please direct me there. I'm interested to see if
> there's one here in San Antonio, TX, USA.
Google is your friend. Search for "cocoaheads" (sans
Hi Paul,
just yesterday I came across the following, which is very simple but might
still be useful to your team:
http://www.raywenderlich.com/3997/introduction-to-augmented-reality-on-the-iphone
Hope that helps.
WT
On 11 Jul 2011, at 23:03, Paul Scott wrote:
> Anyone that has done an
Duh...
I set the button alphas to 0 before animating them back. I can't believe I
looked at those lines of code so many times and didn't realize what the problem
was. Simply removing those 3 lines makes the code work as intended.
Sorry about the noise.
WT
- (void) showNotesView: (
if the alphas
get cleared immediately, even though the entire thing appears inside an
animation block.
This is really simple stuff, and I can't see what may be wrong with it. Any
help is appreciated.
Thanks!
WT
___
Cocoa-dev mailing list (Cocoa-dev
On Apr 18, 2011, at 5:05 AM, Joanna Carter wrote:
> Yes; after the first few projects, based on the default Core Data project
> template, I started to realise that this (separating out the Core Data stack)
> was an excellent case for a singleton/static class.
>
> Can someone tell me if it is ju
d out if I don't explore the issue, will I? :)
> 3. This thread really isn't about singletons at all. Looking back at your
> original post, it's really about thread-safe creation of shared objects:
That's certainly a big component of my original question, yes, but I also
On Apr 17, 2011, at 4:55 PM, Joanna Carter wrote:
> Hi WT
>
>> what happens if you need/want to subclass that class? Then you have to
>> search for and change all the places in your code base that refer to it.
>
> Hmmm, I have a problem with the idea of subclass
On Apr 17, 2011, at 4:28 PM, Scott Ribe wrote:
> On Apr 17, 2011, at 12:43 PM, WT wrote:
>
>> That's not what I keep reading/hearing. Apple's made a big push for GCD in
>> WWDC 2010, even on iOS devices.
>
> Yeah, for actually performing tasks on background th
olution such as
what you're looking for, I think you can go to the Repositories panel of the
Organizer window (hit cmd-shift-2 to get to the Organizer window) and delete
XCode's knowledge of your repository. I haven't tried, so I don't know if that
actually works.
WT
___
On Apr 17, 2011, at 3:52 PM, Joanna Carter wrote:
> Hi guys
>
>> That's only because, unlike java, obj-c doesn't have a way built into the
>> language to enforce a class to be abstract. I can see valid reasons to
>> subclass a singleton if that singleton is to be used as an abstract class
>> a
On Apr 17, 2011, at 12:57 PM, Scott Ribe wrote:
> On Apr 16, 2011, at 9:04 PM, WT wrote:
>
>> Among other things, I wanted to replace my usage of @synchronized
>> singletons...
>
> Why? As a learning experience, experimenting with GCD, what you're doing is
> s
On Apr 17, 2011, at 12:03 PM, Kyle Sluder wrote:
> On Apr 16, 2011, at 10:20 PM, WT wrote:
>
>>
>> On Apr 17, 2011, at 12:31 AM, Kyle Sluder wrote:
>>
>>> Do you really need a singleton, or just a default instance?
>>
>> A singleton.
>
> O
> it's possible the base class could be an abstract class, perhaps providing
> nothing except the ability for concrete subclasses to make singleton
> instances of themselves
Yes, that's precisely the use I have in mind, because it's the most common in
my projects.
WT
e dictionary before
> returning it. Of course, this would preclude any of the subclasses doing
> [self release] and returning a new object, but that's probably an adequate
> compromise.
That's an interesting suggestion and it's something I'll consider it. Thanks
for of
Hi Ken,
On Apr 17, 2011, at 3:00 AM, Ken Thomases wrote:
> On Apr 17, 2011, at 12:20 AM, WT wrote:
>
>> On Apr 17, 2011, at 12:31 AM, Kyle Sluder wrote:
>>
>>>> self class] alloc] init] autorelease];
>>>
>>> You are in a class method.
Hi Kyle, thanks for replying.
On Apr 17, 2011, at 12:31 AM, Kyle Sluder wrote:
> Do you really need a singleton, or just a default instance?
A singleton.
>> static MySingleton* stSharedInstance = nil;
>>
>> static dispatch_once_t stSharedInstanceInvoked;
>> static dispatch_once_t stAllo
le's
docs. Where exactly escapes me right now.
Thanks again.
WT
___
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)list
ion for you all is then whether this is indeed correct, or whether I'm
missing something that my testing may not have revealed.
Thanks in advance.
WT
===
// MySingleton.h:
#import
@interface MySingleton: NSObject
{
NSUInteger someInteger_;
}
@property (readwrite, nonatom
Thanks to everyone who responded. Two things are clear: there is no
one-size-fits-all answer here, and I need to do a more detailed analysis of the
needs in my project.
WT___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
On Apr 14, 2011, at 2:09 PM, David Duncan wrote:
> On Apr 14, 2011, at 10:02 AM, WT wrote:
>
>> I looked at dispatch_once() at one point, but I'm still confused by how it
>> works.
>
> dispatch_once uses a predicate (just a flag) to determine if it should run
>
mes, it will report the wrong foo value.
>
> Can you please provide a compilable test case?
I don't have an actual sample case where it has happened. Admittedly, this was
just a thought experiment.
Thanks again for your help.
WT
___
Cocoa-dev
Hi David,
thanks for pitching in.
On Apr 14, 2011, at 1:40 PM, David Duncan wrote:
>> I tested this out before replying as I wasn't 100% certain. It may be that
>> we have misunderstood each other somehow, but the following code (in a clean
>> new project) was what I used to confirm to myself
On Apr 14, 2011, at 1:19 PM, Jonathan Taylor wrote:
> I tested this out before replying as I wasn't 100% certain. It may be that we
> have misunderstood each other somehow, but the following code (in a clean new
> project) was what I used to confirm to myself that two concurrently-executing
> t
Hi Jonathan,
thanks for replying.
On Apr 14, 2011, at 11:12 AM, Jonathan Taylor wrote:
> I am afraid I am not completely sure what you mean by your first problem,
That's ok. As I said, it's easy to fix. I don't want to get sidetracked here by
going through it in detail. If you'd like to discus
Hi all,
I've started to use GCD in my projects and I found myself using a certain
pattern that I now realize isn't actually thread safe. The goal is to write a
thread-safe lazy accessor without using locks, @synchronized, or an atomic
property. At first I thought that
- (SomeObjType) foo
{
On Apr 7, 2011, at 3:23 PM, Chase Latta wrote:
> Also, I don't actually know if you can register to receive notifications when
> the user changes their language preference
You can: NSCurrentLocaleDidChangeNotification
WT
===
autoupdatingCurrentLocale
Returns the current logical loc
On Apr 4, 2011, at 1: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
> no
On Apr 1, 2011, at 12:47 PM, Chris Markle wrote:
> WT,
>
> Thanks for the code!
Hello again, Chris. You're most welcome!
> So of the approaches:
>
>>> 1. delegates
>>> 2. blocks
>>> 3. KVO
>>> 4. Notifications
>
> you went with de
On Apr 1, 2011, at 1:29 AM, Rikza Azriyan wrote:
> Anyone could help me,,
> I want to handle touch drag event programatically, for example in ibooks
> reader, we use fingertips for navigating to next/prev page by sliding the
> screen to the left/right direction.
> I want to handle this event wi
n which case
you'd use the row's index path as the identifying token. You can then fire as
many Downloader instances as there are visible rows and update each row as its
downloader is done.
Hope this helps.
WT
// Downloader.h
// Copyright 2010 Wagner Truppel. All rights reserved.
//
- (BOOL)applicationShouldHandleReopen:(NSApplication *)sender
> hasVisibleWindows:(BOOL)flag
> {
> NSLog(@"Calling [applicationShouldHandleReopen]...");
> return NO;
> }
>
> Thanks,
>
> Carlos.
Are you sure the window delegate is being set co
On Mar 30, 2011, at 9:01 PM, Graham Cox wrote:
> Hi all,
>
> I have a situation where I present a sheet dialog. The sheet asks the user
> for some input values to perform a "polar duplicate" of a graphic object in
> the underlying document (number of copies, rotation increment, etc). One of
>
he correct frames or bounds, and the correct coordinate
systems.
WT
Important correction: you don't really want to actually clip any of the views,
but clip a copy of their frame rectangles. After all, you just want to compute
the results, not make them happen.
WT_
he correct frames or bounds, and the correct coordinate
systems.
WT
___
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)
On Mar 29, 2011, at 4:25 PM, Matt Neuburg wrote:
> On Tue, 29 Mar 2011 11:20:31 -0700, Lou Zell said:
>> I have a subclass of UIButton, call it MyButton, that I would like to
>> function as a vanilla UIButton but also pass touch events to the next
>> responder (I'm interested in eventually gettin
On Mar 25, 2011, at 5:55 PM, Sean McBride wrote:
> On Fri, 25 Mar 2011 17:46:04 -0300, WT said:
>
>> If you're working with XCode 3.x, you can write an Interface Builder
>> plugin for your custom view. I'm sure there are good tutorials online on
>> how to cr
On Mar 24, 2011, at 12:10 AM, Carlos Eduardo Mello wrote:
> Hi,
>
> I built a special control with a custom view and several parts, including
> standard controls and some subviews. The thing does special displaying and
> animation, and needs to be connected to other parts of the UI and to the
On Mar 24, 2011, at 8:18 PM, Eric Gorr wrote:
>> On Mar 24, 2011, at 7:11 PM, WT wrote:
>>
>> I just ran a very quick test and the following code snippet successfully
>> toggles between showing and hiding the master view:
>>
On Mar 24, 2011, at 6:27 PM, Eric Gorr wrote:
> I am trying to figure out how to hide the master view in a split view while
> in landscape mode. Searching, I found the suggestion to try:
>
> [[master view] setFrame:CGRectMake(0, 0, 0, 0)];
> [[detail view] setFrame:splitBounds];
>
> Howev
On Mar 23, 2011, at 8:46 PM, Siegfried wrote:
> On 23/03/2011, at 20:38, WT wrote:
>
>> On Mar 23, 2011, at 8:13 PM, Siegfried wrote:
>>
>>> Hello,
>>>
>>> I need to create an export / import system for my app, and just thought
>>>
On Mar 23, 2011, at 8:13 PM, Siegfried wrote:
> Hello,
>
> I need to create an export / import system for my app, and just thought that
> asking the list for some advices could help a lot.
>
> The CoreData database I have is fairly simple. No relationships, only 3
> entities with no more than
I seem to recall that one of the WWDC 2010 instructional videos - available for
free from Apple's developer site - mentions that the block version has
UIViewAnimationOptionAllowUserInteraction off by default.
That being said, have you filed a document enhancement request?
WT
On Mar 20,
Hello,
in searching the web and the archives for help on splitting a single CD model
into several files, I found that the most recent exchanges on this subject date
back to July 2009 and September 2008:
Core Data, migrate a model split into two files
http://www.cocoabuilder.com/archive/cocoa/24
On Mar 14, 2011, at 5:40 PM, Conrad Shultz wrote:
> No problem, happy to help, even if you independently found the solution.
>
> As for begin/endUpdates, what these do is synchronize animations that
> otherwise might be performed serially. If you are updating a single row
> there is no reason, A
On Mar 14, 2011, at 2:27 PM, Conrad Shultz wrote:
> WT wrote:
>> When the object displayed in a given UITableViewCell is in the
>> loading state, the cell's height is just a bit larger than a
>> UILabel's height. When the object is in its "loaded" sta
Duh... I should have searched the web before firing the question to the list.
It turns out there are many references to this exact task and its solution.
Here's one such: http://www.alexandre-gomes.com/?p=482
Basically, the idea is to call -reloadRowsAtIndexPaths: withRowAnimation: at
the appro
Hello,
in one of my projects, a UITableView instance displays a number of objects
whose information is gathered from the web. As it turns out each of these
objects can be in one of two states, with visual differences.
In the "loading" state, only a minimal amount of information about the object
Hi Leonardo,
the easiest and, probably, most efficient way is to insert your words into a
(mathematical) set, which guarantees uniqueness.
My suggestion then is that you read the documentation on NSSet. You insert all
your words into an instance of NSMutableSet and that's it.
WT
On M
>>> I have one project that outputs two binaries - one for the App Store (an
>>> app) and one for my own website version (a prefpane).
>>>
>>> All the classes are the same except for two:
>>>
>>> MyPrefPaneDelegate
>>>
>>> MyAppDelegate
>>>
>>> These are each in their respective apps.
>>>
>>>
You can define a common superclass for both MyAppDelegate and MyPrefDelegate -
MyCommonAppDelegate - and use that as the type of the IBOutlet. You can then
#define convenience delegates for each actual case, so you'd have something
like:
IBOutlet MyCommonAppDelegate* commonDelegate;
and then
On Feb 10, 2011, at 7:28 PM, Quincey Morris wrote:
> On Feb 10, 2011, at 12:59, WT wrote:
>
>> So, why doesn't it sort them correctly when it's accessing the "indexOrName"
>> stored value?
>
> You *cannot* have an attribute that's both a deri
oc-reading,
I've done all the code-walking and debugging, and I've narrowed the problem
down to a very specific issue, but I'm still not seeing the light.
The most recent test project can be found here:
http://www.restlessbrain.com/FRC_Test_2.zip
I'd be grateful if someone could look
Your statement that I need to get the values of "indexOrName" stored in the
store led me to write the odd-looking line of code below
cdCountry.indexOrName = cdCountry.indexOrName;
when the entities are created and it fixes the problem in the test project. I'm
now more convinced than ever that C
On Feb 10, 2011, at 3:54 PM, Quincey Morris wrote:
> Perhaps you're assuming that Core Data will internally call the above getter
> to figure out what to put into the store. It doesn't work that way. Most
> likely your store contains nil values for the "indexOrName" attribute. (I'm
> assuming y
f times
>
> why not trying to use an Hash Table in order to use weak reference with
> NSHashTable ??instead of each time ask core data to update all the entire
> store
>
> best regards
>
>
>
>
> Le 10 févr. 2011 à 16:19, WT a écrit :
>
>> H
en why doesn't
it as I've implemented it? It appears to me that NSFetchedResultsController
ignores a sort descriptor based on a transformable attribute.
The test project can be found here:
http://www.restlessbrain.com/FRC_Test.zip
I'd greatly appreciate any help. I've a
Hello list,
I'm experiencing a strange behavior on the part of NSFetchedResultsController
and I can't seem to find why, although I suspect it's something utterly simple
that I'm just not seeing.
Here's the setup. I have a list of some 20 keys the user can choose from to
sort some experimental
On Jan 31, 2011, at 11:16 PM, David Rowland wrote:
> Is there something that defeats the delivery of rotate events to a view
> controller?
This may or may not be the case with your app, but a UITabBarController vetoes
device orientation change events to its managed view controllers unless every
On Jan 25, 2011, at 8:45 PM, Dave Carrigan wrote:
> I don't have your original message any more, but my understanding is that you
> have rolled your own tab bar controller.
Yes, though not all of its functionality.
> When the docs say that a UINavigationController can be a tab in a tab bar
> i
On Jan 25, 2011, at 8:37 PM, Conrad Shultz wrote:
> I totally agree. If I understand the OP's design, as a user I would
> find the UITabBar switching out from under me very disturbing and
> confusing. How would I get back to the previous view?
The navigation bar has a back button. The navigatio
On Jan 25, 2011, at 8:30 PM, Matt Neuburg wrote:
> Here are the ways you can use a tabbed interface, pasted in from the docs:
>
> • Install it directly in your application’s main window.
> • Install it as one of the two root views in a split view interface.
> (iPad only)
> • Pr
On Jan 25, 2011, at 6:41 PM, Matt Neuburg wrote:
> You should not be using view controllers merely as dumpster divers to load
> nib files and extract their contents in a semi-automatic way. As I said in my
> previous note, if you want to store those views in nibs, fine, but then the
> way to ex
I forgot to mention that it's precisely why there may be unforeseen problems
that I am doing this on a test harness, to see how it comes about before I
implement this design in the full app.
That's clearly a valid approach. Even if it doesn't work and I have to change
the design, I learn someth
blems later when you try to
> handle rotation, or showing/hiding the status bar, etc.
>
> I've been in the same position as you, trying to write a subclass of
> UIViewController that acted as a container for other UIViewControllers, and
> had all of the problems you've list
o with faking a tab bar controller.
Thank you for your reply, Matt. Although incorrect, your argument prompted me
to try something (which I thought I had done before) and the problem is now
solved.
For future reference, here's a link to the test project containing the fix:
http://www
o one is looking and the docs haven't been
particularly helpful in this regard. I'm sure I'm not alone in this, either.
If you feel up to playing with the test app, its project can be downloaded from
here: http://www.restlessbrain.com/NavTest.zip
Thank you in advance for any help
On Jan 6, 2011, at 11:38 PM, BareFeetWare wrote:
> Is there no dedicated app suitable for producing PNG images with grey level
> transparency/alpha, at the various scales needed for iOS apps (as app icons
> in-app icons)? Does everyone just resort to GIMP and Photoshop, which seems
> overkill a
On Dec 31, 2010, at 12:24 PM, Ken Thomases wrote:
> On Dec 31, 2010, at 7:22 AM, WT wrote:
>
>> The following is straight out of my code, and computes the next Wed or Sat
>> from a given date.
>
> Computing days by calculating the number of seconds in a day will fail
Hey Tom,
as it happens, I just did this a few weeks ago for my current project. The
following is straight out of my code, and computes the next Wed or Sat from a
given date.
Enjoy!
WT
- (NSDate*) nextWedOrSatFromDate: (NSDate*) date;
{
NSCalendar* cal = [[NSCalendar alloc
presented differently then you might want
to consider offering some suggestions directly to those who can do something
about it, by filling out the forms available through those links.
Have a good holiday.
WT
On Dec 24, 2010, at 2:06 PM, FF wrote:
> Thanks for reply Mr. Duncan, but it doesn
On Dec 12, 2010, at 9:12 PM, Kyle Sluder wrote:
> On Sun, Dec 12, 2010 at 2:41 PM, WT wrote:
>> Hello,
>>
>> according to the iOS 4.2 NSDateFormatter class documentation, the -init
>> method is available in iOS 2.0 through iOS 3.2, but it does not offer an
>>
On Dec 12, 2010, at 9:01 PM, Kyle Sluder wrote:
> On Sun, Dec 12, 2010 at 2:58 PM, Siegfried
> wrote:
>> On 12/12/2010, at 20:41, WT wrote:
>>
>>> Hello,
>>>
>>> according to the iOS 4.2 NSDateFormatter class documentation, the -init
>&
On Dec 12, 2010, at 8:58 PM, Siegfried wrote:
> On 12/12/2010, at 20:41, WT wrote:
>
>> Hello,
>>
>> according to the iOS 4.2 NSDateFormatter class documentation, the -init
>> method is available in iOS 2.0 through iOS 3.2,
>
> Sorry, but the init method? J
Hello,
according to the iOS 4.2 NSDateFormatter class documentation, the -init method
is available in iOS 2.0 through iOS 3.2, but it does not offer an alternative
method to initialize a newly allocated date formatter (or, if it does, I missed
it on repeated readings of the docs). How then?
I
On Dec 11, 2010, at 10:31 PM, Scott Ribe wrote:
> On Dec 11, 2010, at 4:52 PM, WT wrote:
>
>> My understanding is that setting a style is useful when you want to output a
>> string from a given number or date, not when you want to read in a number or
>> date from an i
On Dec 11, 2010, at 10:25 PM, Stephen J. Butler wrote:
> On Sat, Dec 11, 2010 at 5:58 PM, WT wrote:
>> [wrt NSNumberFormatter] However, setUsesGroupingSeparator:YES still has no
>> effect for me.
>>
>> May I send you (off-list) the test project?
>
> For th
On Dec 11, 2010, at 9:42 PM, Stephen J. Butler wrote:
> On Sat, Dec 11, 2010 at 5:37 PM, WT wrote:
>> thanks for replying. I tried it and it gives the exact same results as
>> before, that is, the presence of the group separator causes the number
>> formatter to retur
On Dec 11, 2010, at 9:38 PM, Stephen J. Butler wrote:
> On Sat, Dec 11, 2010 at 5:14 PM, WT wrote:
>> All results are correct, except for the last two. "123.456,78" should result
>> in 123456.78 and 23/04/2010 should result in the appropriate NSDate object
>>
On Dec 11, 2010, at 9:28 PM, Stephen J. Butler wrote:
> On Sat, Dec 11, 2010 at 5:14 PM, WT wrote:
>> All results are correct, except for the last two. "123.456,78" should result
>> in 123456.78 and 23/04/2010 should result in the appropriate NSDate object
>>
Following a suggestion from another member of the list, I'm now using
NSNumberFormatter and NSDateFormatter (rather than NSScanner) to read some
numbers and dates from strings retrieved from a web service. The service has
its data formatted according to the pt_BR locale, which uses "." for group
On Dec 11, 2010, at 6:03 AM, Ron Fleckner wrote:
> Hi,
>
> sorry if I'm way off the mark here, but wouldn't the best thing to use be
> NSScanner *scanner = [NSScanner localizedScannerWithString:[sender
> stringValue]];? Then you don't have to worry about the specifics of number
> formatting i
ormatter is the way to go then.
Thanks again.
WT
Begin forwarded message:
> From: Greg Parker
> Date: December 11, 2010 1:25:57 AM GMT-02:00
> To: WT
> Cc: cocoa-dev Dev
> Subject: Re: NSScanner troubles
>
> On Dec 10, 2010, at 7:06 PM, WT wrote:
>> I wrote so
207] result: 1234.56
2010-12-11 00:57:54.569 ScannerTest[82954:207] string to scan: '1.234,56'
2010-12-11 00:57:54.569 ScannerTest[82954:207] result: 1.00
2010-12-11 00:57:54.570 ScannerTest[82954:207] string to scan: '12.345,67'
2010-12-11 00:57:54.576 ScannerTest[8295
I have a situation where there are two sections in a table view. The first
section should have its rows sorted according to a certain index stored in the
managed object, while the second section should have its rows sorted
alphabetically by the name of its managed objects.
How can I create a *s
Hello,
I'm trying to find out how to set the height of a UIWebView instance, given its
content, so that the user doesn't need to scroll the UIWebView itself to see
that content. Of course, the content might not fit in the vertical space
available but the UIWebView instance is part of a tablevie
ed to scroll vertically.
The solution I indicated works fine, but I don't think it's very elegant.
Personally, I think swiping to change sections is a bad idea, but that's not my
call to make.
On Jun 6, 2010, at 4:30 PM, David Duncan wrote:
> On Jun 6, 2010, at 1:41 AM, W
On Jun 6, 2010, at 2:09 AM, glenn andreas wrote:
> On Saturday, June 05, 2010, at 05:51PM, "WT" wrote:
>> I need to hijack the set of touch events sent to a UITableView instance
>> prior to allowing the table to process those events.
>>
>> I have a custom
I need to hijack the set of touch events sent to a UITableView instance prior
to allowing the table to process those events.
I have a custom UIView, of which the table view is a subview, and I override
-hitTest:withEvent: there (in the custom view) to return self, thereby
preventing the table f
details.
WT
On May 20, 2010, at 1:42 AM, Nick Rawlins wrote:
> Hi,
>
> Does anyone have any suggestions or examples on adding more than 2 lines to
> a UITableView row on the iPhone?
>
>
> I am using textLabel and detailTextLabel at present but wish to also add a
> 3rd an
The subject pretty much says it all. I need to access the Cancel button of a
search bar, so I can change its title. I couldn't find a way to set an outlet
to it in IB, and the docs don't show it as a property of the search bar. Any
ideas?
Thanks in advance.
WT___
On May 13, 2010, at 12:39 AM, Ricky Sharp wrote:
> Splash screens should be avoided at all costs in iPhone OS apps. Remember
> that you want the app to launch as quickly as possible and let the user
> immediately begin doing tasks. Splash screens are typically only useful when
> a desktop app
The client I'm writing an app for wants a splash screen with some information
that cannot go in the launch image (because it's dynamically generated),
meaning that the first view controller to ever be instantiated will have in its
view an image view along with other views (labels to hold the gen
Hello all,
I'm trying to compile the XML Performance sample code for the iPhone, but I
have so far been unsuccessful. I followed the instructions on the readme file,
namely, to set the HEADER_SEARCH_PATHS build setting to
$SDKROOT/usr/include/libxml2. I also tried both recursive and non-recursi
> If you want to use the existing buttonWithStyle: method, all you need
> to do is implement initWithFrame:, since that's the default
> initializer
Is the fact that -initWithFrame: is the designated initializer documented
anywhere? The docs for UIButton don't mention it. If this is documented and
elf. Once the swiping and
reordering (as in the Autoscroll sample code) have been dealt with, this
"proxy" UIView instance can decide if/when to forward a tap gesture to the
button. So, yes, composition seems to be the way to go here.
> On Wed, Apr 7, 2010 at 2:26 PM, WT wrote:
&
s, but I'd prefer to have actual UIButton instances.
Am I missing something trivial here? If UIButton was designed in such a way to
prevent subclassing, what would you suggest as the best alternative?
Thanks in advance.
WT.___
Cocoa-dev mailing l
On Apr 5, 2010, at 6:04 PM, Frederick C. Lee wrote:
> Greetings:
>I wish to preserve the state of an iPhone/iTouch application; which means
> that I would like the application to continue deep down within a stock of
> View Controllers at a particular view when I return to the application.
>
On Mar 22, 2010, at 12:39 AM, Kyle Sluder wrote:
> On Sun, Mar 21, 2010 at 11:36 AM, WT wrote:
>> You can always slide the search field into the window, below the navigation
>> bar, while pushing (or, perhaps, vertically resizing) the table view. If you
>> set the auto-r
nificant improvement.
>
> Again, my thanks ... and yes, it is great to have alternatives.
>
> jack
>
> On Mar 21, 2010, at 2:42 PM, WT wrote:
>
>> And thank you for the NSURLConnection suggestion. It's always good to have
>> alternatives. :)
>>
>
ll look into this and THANK YOU for the insight.
>
>
> On Mar 21, 2010, at 2:22 PM, WT wrote:
>
>> It was serial? Did you, by any chance, set the maximum number of running
>> operations to 1? I don't recall for sure now, but that may be the default,
>> actuall
1 - 100 of 294 matches
Mail list logo