In case he adds more and more cell
becomes very large in the app.
Thank you and Kind Regards,
Tharindu
On Mon, Jul 29, 2013 at 10:09 PM, Fritz Anderson
wrote:
> On 29 Jul 2013, at 5:35 AM, Tharindu Madushanka
> wrote:
>
> > I have a UITableView with first cell is not re-orderab
Hi,
I have a UITableView with first cell is not re-orderable and all other
cells are having re-order handle. Also I have a UIRefreshControl on table
view.
UITableView cells are at 600 px height. When I click on re-order handle of
any cell cell immediately starts moving downwards. It's very hard t
03:22:18, Tharindu Madushanka wrote:
>
> > Hi,
> >
> > Thanks. So it would be searched by iPhone it self.
> >
> > I found another confusing article on web.
> >
> http://www.objectpartners.com/2010/09/14/communicating-with-external-devices-from-the-iphone-a
ll that is done.
>
> --
> Rick
>
> On Feb 2, 2011, at 02:59:54, Tharindu Madushanka wrote:
>
> > Hi,
> >
> > Let's say if we build a Hardware Device that is MFI- complient by getting
> Apple approval for hardware. Would that mean our iPhone application can
&g
s the device show up in the External Accessory framework.
>
> --
> Rick
>
> On Feb 2, 2011, at 00:52:45, Tharindu Madushanka wrote:
>
> > Hi,
> >
> > Actually, I found this link.
> >
> > http://developer.apple.com/library/ios/#qa/qa2009/qa1657.html
Mann wrote:
> I don't think it is. The app can't really get at the BT radio hardware, and
> only sees things that have already been paired via the Settings app.
>
> --
> Rick
>
> On Feb 1, 2011, at 20:36:15, Tharindu Madushanka wrote:
>
> > Hi,
> >
>
Hi,
I would like to know whether its possible from iPhone SDK app to detect and
find the Name of a [MFI] Bluetooth device other than an iPhone or iPod
touch.
If its possible could someone kindly provide few guides to look into it.
Thanks and Kind Regards,
Tharindu
__
530, Tharindu Madushanka <
> tharindu...@gmail.com> said:
> >Hi,
> >
> >I would like to present my next view controller in a way that pushed in.
> But
> >my first view controller is not a navigation controller.
>
> It sounds like you're saying you want t
Hi,
Thanks.
But. This works with two views appearing as pushed. But I would like to have
animation for my next view controller.
But with two view controllers when other view controller shown, how could we
present that with similar animation.
// animate up view with fade
CATransition *animati
Hi,
I would like to present my next view controller in a way that pushed in. But
my first view controller is not a navigation controller.
How could I do this. Is it possible ?
Thanks and Kind Regards,
Tharindu
___
Cocoa-dev mailing list (Cocoa-dev@li
Hi,
Got it finally working with Blocks. But I am not sure whether this is the
right way.. Is there any better way to determine playing started or not ??
// add time observer
// obs (id) defined in class header
obs = [[player addPeriodicTimeObserverForInterval:CMTimeMake(1, 3)
Hi,
I use following code to play a remote url mp3. But I want to know when its
ready to play the music to show up some loading indicator until then.
AVPlayer *player = [[AVPlayer playerWithURL:[NSURL URLWithString:awdioURL]]
retain];
--
How do I update my view when I am using AVPlayer. There's
Hi,
It was just I need to add header. But above code
didn't work. But following encoded to SHA-1 correctly..
I would like to know whether it encodes right ? or Not ?
+(NSString *)stringToSha1:(NSString *)hashkey{
// Using UTF8Encoding
const char *s = [hashkey cStringUsingEncoding:NSU
Hi,
In order to get this I found following code, but I need to import some
frameworks into my code. Could somebody kindly point how can achieve SHA-1
Encrypted string in iPhone. I get few errors compiling since I do not have
necessary framework to use this.. :(
+(NSString *)stringToSha1:(NSString
Hi,
I would like to implement an iBooks like view where there's a grid of
images, and in that we can search for icons with section indexes like menu.
Could some body kindly provide some ideas on how I could achieve this.
Thanks and Kind Regards,
Tharindu
m wrote:
>
> On Fri, 19 Nov 2010 14:49:11 +0530, Tharindu Madushanka <
>> tharindu...@gmail.com> said:
>>
>>> Hi,
>>>
>>> I would like to make UIWebView content empty while other page is loading.
>>> I
>>> tried loadin
Hi,
I would like to make UIWebView content empty while other page is loading. I
tried loading [webview loadRequest:nil];
And also [webview loadHtmlString:@"" baseUrl:nil];
Just before my [webview loadRequest:request]; method call.
Still I am having previous html page shown a very little time un
Hi,
I have an issue my UITextView showing spell suggestions under the text. But
I want suggestions to be shown top of my typing text. Because when its
showing down suggestions are clipped to another view.
Could some one kindly suggest me a way to get rid of this problem.
Thank you and Kind Regar
people use without .f.
For example, CGRectMake(0,0,320,460) instead of
CGRectMake(0.0f,0.0f,320.0f,460.0f)
Is there any minor performance of using either approach. Could someone
kindly clarify on this.
Thanks and Kind Regards,
Tharindu Madushanka
Hi,
I would like to know whether its possible to change to a language other than
provided list of languages in iPhone Settings. By default using localized
.lproj folders & .strings files we could make applicaton localized into
selected language.
For example, Languages like Sinhala are not in thos
Hi,
Yes it's about a class. Thanks. :)
Tharindu.
___
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/Unsubscrib
*)filteredArrayUsingPredicate:(NSPredicate *)*predicate
Could I use this method for my purpose, could someone give me an example
usage of predicate or some other mean to do my task
*Thank you and Kind Regards,
Tharindu Madushanka
*
*
___
Cocoa-dev mailing list (Cocoa-dev
Hi,
ah. ok. Yep. I realized that in iOS4. Then it's an OS feature.. Thanks a
lot. I was confused with that :)
Tharindu
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
robably
> depends on your use case.
>
> On Aug 20, 2010, at 5:15 AM, Tharindu Madushanka wrote:
>
> > Is it possible to save a screen shot of last running application screen
> as
> > the app loading screen next time..
> >
> > I see may be Maps iPhone applicat
,
Tharindu Madushanka
tharindufit.wordpress.com
___
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
Hi,
Ah Ok. I got the point. Thanks :) So we should not look to exit the app
using code.
Tharindu.
___
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 coc
Hi,
But is it okay to quit app programatically after showing an alert to user
about application exit situation ?
After reading the link I get the idea that we could use this feature
sometimes.
And also could I use [[UIApplication sharedApplication]
terminateWithSuccess] ?
Tharindu.
Hi,
If I use following code to exit my application in some certain conditions,
depending on user inputs, will Apple reject the app ?
[[UIApplication sharedApplication] terminateWithSuccess];
If so are there any other means to successfully terminate the app
programatically ?
Thanks and Kind Rega
Hi,
I would like to clarify about this thing.
Is it possible to implement Voice Chat between two iPhones or iPods that are
not in the same network using GameKit framework ?
If possible, could I find some info about how it could be done any sample
code or articles on Implementing Voice Chat over
I use following code in UITextView Delegate method to resize the text view.
I want it to look like iPhone Messages.
Still this doesn't show the already typed text on top. I mean it doesn't
scroll to the correct typing position in text view. Could anyone kindly
correct this code ? To scroll the tex
Hi,
I want to add a text field that will scale down when user presses the Return
key. mean time the background view will scale up same as how Messages iPhone
application do it. I have currently only a single line text field, on which
when i type more the font size gets decreased.
Could someone gi
Hi,
Thanks a lot. [[NSProcessInfo processInfo] globallyUniqueString] seems to be
the easiest one.
cool.
Thank you very much,
Tharindu
>
> It might be simpler to just use [[NSProcessInfo processInfo]
> globallyUniqueString]
>
> -Jonathan
>
___
Cocoa-
Hi,
I want to generate a unique string every time i push a button. Can I create
some string like that using a time stamp NSDate object may be.
ex. e3df44646ngfd5454nrteter
Its really useful to know about a small code segment or way to create a
unique string in iPhone.
Thank you and Kind Regards
imated:YES];
Tharindu Madushanka
___
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 Su
Hi,
How can I scroll to a UITableView footer all the time, while adding cells to
table view content.
Is there some way similar to scrollToRowAtIndexPath: , to scroll directly
into my bottom footer view after adding new cells ?
Thank you and Kind Regards,
Tharindu Madushanak
download due to session expire.. I have tried automatic page refresh also
using pagereboot.com.. no success .. :(
Thank you and KInd Regards,
Tharindu Madushanka
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or
andshake(): 0
2010-02-01 20:10:51.088 PushMeBaby[2507:a0f] SSLWrite(): 0 144
Could anyone provide me some sample server code.. or guess why I am not
getting push notification messages in phone..
Thank you and Kind Regards,
Tharindu Madushanka
___
C
work on voice recognition - sphinx - Java. And
just like to know about possibility of implementing VOIP for iPhone.. or
some initial steps to look into this.
Thank you and Kind Regards,
Tharindu Madushanka
___
Cocoa-dev mailing list (Cocoa-dev
quot;2010-01-08T08:09:20Z"];
Thank you,
Tharindu
On Fri, Jan 8, 2010 at 1:58 PM, Tharindu Madushanka
wrote:
> Hi,
>
> I am having a time stamp string like 2010-01-08T08:09:20Z
>
> I would like to know how I could convert this to a represented NSDate
> object.. Is it possib
Hi,
I am having a time stamp string like 2010-01-08T08:09:20Z
I would like to know how I could convert this to a represented NSDate
object.. Is it possible to do this without separating the string into
several parts..
Thank you and Kind Regards,
tharindufit.wordpress.com
___
Thanks :)
Tharindu Madushanka
tharindufit.wordpress.com
___
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
Hi,
I am creating a thread with method detachNewThreadSelector:
How could I stop the thread while it is running ?
Thank you,
Tharindu Madushanka
tharindufit.wordpress.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post
Hi,
Is there a way to track if an iPhone application is re-installed locally
with the SDK.. without having a server ?
Kind Regards,
Tharindu Madushanka
tharindufit.wordpress.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
Hi
When defining constants can I keep all important constants in one file and
use it all over the application, rather defining same constant in several .m
files. This might be a basic question, but just could not figure out how to
do this.
Thank you
Tharindu Madushanka
Hi
I was trying to create a square thumbnail from a picked image from
UIImagePickerController. To create thumbnail I first crop the image a square
and then resizing it to get a thumbnail. Following link having my code
segment doing so
http://cl1p.net/ip/
But still it does not seem like nice squa
It seems like I did a mistake in Interface Builder setting my image as
button image, not as background. Because of that showsTouchWhenHighlighted
effect must not have worked. Now its adding some nice effect without any
hard work
Sorry :(
___
Cocoa-dev ma
Hi
I have a custom button with image as background. So when its is selected I
have to add some effect on top of it to indicate that its selected. So one
way of doing that could be to add another image for that perticular button
state.
I have tried with showsTouchWhenHighlighted property and
adjus
yep got the idea now, it seems setObject: is the one to use for all the
object types. But there are multiple retrieve methods to make work easier.
Thanks :)
On Sat, Nov 21, 2009 at 8:10 PM, Fritz Anderson wrote:
> On 21 Nov 2009, at 8:32 AM, Tharindu Madushanka wrote:
>
> > I saw
reuse identifiers. Then when you dequeue, you ask for an available cell of
> the apropeiate type.
>
> Luke
>
> Sent from my iPhone.
>
>
> On Nov 21, 2009, at 1:55 AM, Tharindu Madushanka
> wrote:
>
> Hi
>>
>> Removing reuse identifier solved the problem s
Hi,
I saw a method to retreive data as NSData using NSUserDefaults class, but it
seems like there is no method to save NSData. no method like setData:
forKey:
Is it possible to save somethings as for example image as NSData in
NSUserDefaults
Thank you,
Tharindu
__
Hi
Removing reuse identifier solved the problem so now I am creating a cell
like below. It worked.
UITableViewCellStyle style;
if(profile.name.length > 0) {
style = UITableViewCellStyleSubview;
} else {
style = UITableViewCellStyleDefault;
}
UITableViewCell *cell = [[[UITableViewCell all
Hi
I am trying to create a table with a single cell like in Contacts
Application top one. What I want is change the cell style time to time. But
changing the style does not work even I call [tableview reloadData] it seems
like cell style is not changing
I want to switch between Default cell style
Hi
Could we customize the UITableView section header title color
programatically other than default one in a grouped table view ?
Thank you
Tharindu
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
ah Thanks :) self.view.window.backgroundColor worked but I did not try
superview thing. Thank you
-Tharindu
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderato
This is the method I use to switch views. And my views are created with
Interface Builder
- (IBAction)switchViews {
self.view.backgroundColor = [UIColor blackColor];
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:1.25];
[UIView setAnimationCurve:
UIAnimationC
before animation I have set the background color but it did not work. Still
it was white even I set it to black. it seems like color is not coming from
self.view ??
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
Hi
I am using following method to flip between UIViews that have imageviews on
it as background. When I animate the views. I could see white background
color at animating time. Can I change this color. What I currently do is
like this.
[UIView beginAnimations:nil context:nil];
[UIView setAnimatio
Hi
I am trying to implement a screen in that it should have a table view, with
add photo button and to right a table view cell. Could I do this with a
single table view ? Can anyone point some way to do it. Like in contacts app
Thank you,
Tharindu
___
Actually I want a similar screen to a Profile page. it will be the same but
not exactly some fields like sex, interests should be there. But with the
same look like a contacts screen.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not
be a
table view cell. I am really glad to get some idea about it.
Thanks
Tharindu Madushanka
___
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
Hi
I am finding it difficult to find previous sampe codes in apple site. How
can I find sample code for Editable Detail View
Kind Regards,
Tharindu Madushanka
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
ght:>could
be used in my problem. But the documentation for this seems to be
little confusing for me could anyone just tell what is this leftCapWidth and
topCapHeight in simple terms.
Thanks
Tharindu Madushanka
On Mon, Nov 9, 2009 at 12:36 AM, Luke Hiesterman
images to do this ? I mean say for a small message
different background image and for a very long message another. Or what
could be the best size of a background balloon image to get ?
And I could have done something like what you proposed for this :(
Tharindu Madushanka
tharindufit.wordpress.com
image is scaled ?
Could anyone suggest some solution for this.
Thank you
Tharindu Madushanka
tharindufit.wordpress.com
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the
Hi
I have created a class with only class methods in it and a single static
instance variable allocated only one with a class method. Do I need to add a
-(void) dealloc: method to this class. Could someone kindly explain.
Thank you,
Tharindu Madushanka
tharindufit.wordpress.com
NSData dataWithBytes:(const void *)bufferPtr
length:(NSUInteger)movedBytes];
result = [[NSString alloc] initWithData:myData
encoding:NSASCIIStringEncoding];
return result;
}
Please kindly have a look at how should I correct this.
Thank you,
Tharindu Madushanka
_
Hi,
I am still learning iPhone application development and I want to convert a
J2ME trading client application to an iPhone SDK application. I have already
developed an iPhone application that did not have any encryption published
at Apple AppStore. I have good knowledge with J2ME so I could under
Hi,
I am trying to store values in a SQLite database and retrieve them, they are
currency values, so what is the alternative or solution I will have to look
for, I am confused with this. Please is there any work around ??
Regards,
-Tharindu
___
Cocoa-dev
Hi,
I have float values in my iPhone program, when I type in a textfield and
print it it shows a little different value than what I have typed, I used
printf to see the results. I can't understand why its happening. How can I
resolve this.
For example textfield.floatValue
actual value typed - 44.45
Hi,
I want to get the currency type of iPhone default selected language. If I
add an NSNumberFormatter and format a number I will get a string with the
currency type. But I cannot sub string this and get the currency type since
it might vary the character size.
When international is selected as Uni
th,
>
> Rob
>
>
>
>
> On Jan 21, 2009, at 12:59 PM, Tharindu Madushanka wrote:
>
> Hi
>> I have float variables that stores my currency values, I want to display
>> these values in a string with commas at each 3 digits, can I do it with
>> Objective
Hi
I have float variables that stores my currency values, I want to display
these values in a string with commas at each 3 digits, can I do it with
Objective C. I am new to the language. Please help me to solve this.
For example, float ft = 12333.8905;
NSString *strFloat = [NSString stringWithForma
Hi
Can I get the class type of the current view controller running in the
application, I have Tab Controller and Navigation Controller in my
application, at some time I need to get the current view controller using
code, can any body please tell me a method or code segment to do this.
isKindOfClass
Hai I am trying to develop chat application for iPhone, I like to add labels
with text like iChat on Mac, In iPhone can I do it using UILabels or
UITextFields. How can I have a look like that. Is it possible to do with
iPhone SDK, I am new to iPhone SDK and also never done Mac OS programming.
So pl
Hi
I am new to iPhone application development and please help me on this.
I need to add the contents in a text field to a UILabel. But I can't guess
how long the string in the text field be. There fore, can I make a UILabel
from the text ( I mean to fit the text to UILabel size). I have searched bu
75 matches
Mail list logo