Greetings:
This is just a cursory question from a neophyte.
Are there any desktop-equivalent libraries/frameworks that are
detrimental to iPhone development?
For example AppKit vs UIKit; or any particular libraries within the
Foundation framework?
Any opinions/discussion would further cl
Thanks for the editing.
Your help is deeply appreciated!
Ric.
On May 16, 2008, at 10:53 AM, stephen joseph butler wrote:
Your code is crashing because you have numerous pointer and memory
management issues.
On Thu, May 15, 2008 at 4:21 PM, <[EMAIL PROTECTED]> wrote:
- (IBAction)startSOAP:(id)
I need to send data through the mail from within my Cocoa program.
This is to be for general release; so it must be stable.
NSMailDelivery appear to be a candidate; unfortunately it's deprecated
in Leopard+.
So what does Apple intend us to use as the replacement?
I've scanned the discussion
I'm trying to replace #define directives with c datatype directives.Example:
(1) #define x 123
versus...
(2) const unsigned x = 123;
I place this at the top of the .h (or .m) file, outside of any class or
method as stand alone.
However, every time I try to use the (2) declaration (within a .h
I suspected such.Thanks to all.
I'm assuming 'const ' is better then the compiler directive
'#define', due to the use of the compiler
for more-efficient code. Hence the attempt.
Regards,
Ric.
On Mon, Sep 21, 2009 at 2:00 PM, Jens Alfke wrote:
>
> On Sep 21, 2009, at 1:24 PM, Kyle Sluder wro
fke wrote:
>
> On Sep 21, 2009, at 2:15 PM, Frederick C. Lee wrote:
>
> I'm assuming 'const ' is better then the compiler directive
>> '#define', due to the use of the compiler
>> for more-efficient code. Hence the attempt.
>>
>
>
.
Ric.
On Mon, Sep 21, 2009 at 2:40 PM, Greg Guerin wrote:
> Frederick C. Lee wrote:
>
> I'm assuming 'const ' is better then the compiler directive
>> '#define', due to the use of the compiler
>> for more-efficient code. Hence the attempt.
>
Greetings: I have a customized UIPickerView containing a list of names.
Let’s say I have an array of ten (10) names = {“Alfred”... “Zena”}.
The normal way of showing this list is a singular, static list of an array
from beginning to end.
I would have to return to the beginning vs automatically c
1) I've seen an alternative way of defining a method, with the
semicolon after the declaration, before the body:
- (NSArray *)sortedIncredients; <-- notice the semicolon
{
...
}
2) ... versus the standard declaration + body of the definition
(without the semicolon):
- (NSA
The Environment:
(1) iPhone SDK 3.2.1
The Setup:
(1) UITableViewCell is defined within its own XIB...
Interface Builder (XIB):
File's Owner: View Controller.
(2) UISegmentController's Action Method is defined within the
View Controller; along side
with: UITa
I figured it out.Yes. That's how it's done.
Thanks for reply!
Ric.
On Mon, Oct 19, 2009 at 1:17 AM, Alexander Spohr wrote:
> Frederick,
> just an idea - from UIView’s documentation:
>
> tag
> The receiver’s tag, an integer that you can use to identify view objects in
> your application.
> @pro
Greetings:
I'm working within the Cocoa/iPhone environment using SQLite as my
persistent storage means (albeit, MySQL would be adequate as well).
I want to create a digital library that stores images as BLOBs to be
incorporated into an SQLite table.
So I need a simple OS X application (eit
Is there a Cocoa/iPhone equivalent to Quartz's
CGImageCreateWithImageInRect(image, imageRect)?
I want to be able to display an off-view portion; or pan over a large
PNG image within
the available UIView.
Ric.
___
Cocoa-dev mailing list (Cocoa-dev
Greetings:
Here's my (common) problem: I want to be able to use Quartz to
draw an open path across an CGImage layout based on the GGImage
coordinates.
I use the UITouch object/click via Simulator to collect my screen
coordinates and hence, to plot a path for Quartz to draw:
CG
This is for the iPhone/iTouch environment.
I discovered: CGContextTranslateCTM().
I'll also check out subclassing the scrollview.
Ric.
On Jun 14, 2009, at 7:53 PM, David Duncan wrote:
On Jun 12, 2009, at 11:53 AM, Frederick C. Lee wrote:
Is there a Cocoa/iPhone equivalent to Qua
Environment: iPhone OS 3.0
Greetings:
I would like to place one or more reference icons (png) upon a
host image (png) {Like a street map with legends, landmarks, etc.}.
I'm working with Quartz so I'm using pre-loaded CGImages via
UIImage.CGImage, for both the map/layout and the icons.
I'm trying to dearcive sqlite3-3.6.16-osx-x86.bin.
But what I get is: sqlite3-3.6.16-osx-x86.bin.cpgz
Is there a remedy?
Ric.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
is not an archive.
Now what??
On Tue, Jul 14, 2009 at 4:13 PM, BJ Homer wrote:
> It's not an archive; that's the actual binary executable. Just rename it
> to something more reasonable.
> I dealt with this just last week.
>
> -BJ
>
> On Tue, Jul 14, 2009 at 5:0
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite>
---
Done.
Great!
Thanks!
On Tue, Jul 14, 2009 at 4:57 PM, Kyle Sluder wrote:
> On Tue, Jul 14, 2009 at 4:44 PM, Frederick C. Lee
> wrote:
> > Now what??
>
> Open up
Greetings:I need to adjust a UILabel's width per with of its text.
What I did was to get the text's length via [NSString length]. Of course,
the displayed UILabel width is too narrow to fully display the actual
string.
So I believe I need to compute the true width based on the number of
font-
ILabel *titleLabel = [[UILabel alloc] initWithFrame:centralTitleRect];
I'll try your method to see if I get the same effect.
Thanks.
Ric.
On Wed, Aug 5, 2009 at 3:54 PM, Randall Meadows wrote:
> On Aug 5, 2009, at 1:46 PM, Frederick C. Lee wrote:
>
> Greetings:I need to adjust a
Greetings:
The default selection color is blue. I want to use a different color
upon user selection. Here's my code:
(void)tableView:(UITableView *)theTableView
didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
UITableViewCell *cell = [theTableView cellForRowAtIndexPath:indexPath
Environment: iPhone (but Cocoa as well)... I was using the App Delegate
as the link amongst view controllers in sharing data. The 'App Delegate',
being persistent,
was my 'global data' clearing house.
But now I learned that this is frown upon. The preferred way is using
delegation to
23 matches
Mail list logo