tagged [objective-c]

UIScrollView scroll to bottom programmatically

UIScrollView scroll to bottom programmatically How can I make a `UIScrollView` scroll to the bottom within my code? Or in a more generic way, to any point of a subview?

6 Aug at 11:50

Set the maximum character length of a UITextField

Set the maximum character length of a UITextField How can I set the maximum amount of characters in a `UITextField` on the iPhone SDK when I load up a `UIView`?

How to print something to the console in Xcode?

How to print something to the console in Xcode? How do you print something to the console of `Xcode`, and is it possible to view the `Xcode` console from the app itself? Thanks!

11 Mar at 02:19

In Objective-C, how do I test the object type?

In Objective-C, how do I test the object type? I need to test whether the object is of type `NSString` or `UIImageView`. How can I accomplish this? Is there some type of "isoftype" method?

10 Sep at 22:18

USB Programming with Objective-C

USB Programming with Objective-C Can anyone tell me how to program USB devices with Objective-C as an iPhone application? I want to access USB device contents through iPhone

Deleting a tableview cell with swipe action on the cell

Deleting a tableview cell with swipe action on the cell Is it possible to delete a cell with swipe action on it ? Or are there any other methods for doing so ? Need Suggestions . Thanks

28 Dec at 09:52

What does the question mark and the colon (?: ternary operator) mean in objective-c?

What does the question mark and the colon (?: ternary operator) mean in objective-c? What does this line of code mean? The `?` and `:` confuse me.

Converting NSString to NSDate (and back again)

Converting NSString to NSDate (and back again) How would I convert an `NSString` like "" (meaning 1st February 2010) into an `NSDate`? And how could I turn the `NSDate` back into a string?

16 Mar at 13:11

Placeholder in UITextView

Placeholder in UITextView My application uses an `UITextView`. Now I want the `UITextView` to have a placeholder similar to the one you can set for an `UITextField`. How to do this?

Get safe area inset top and bottom heights

Get safe area inset top and bottom heights What would be the most proper way to get both top and bottom height for the unsafe areas? [](https://i.stack.imgur.com/hQXf7.png)

iphone,where do i declare a global method that can called in all the classes

iphone,where do i declare a global method that can called in all the classes How can i write a global method that can be called anywhere in my iPhone App Can any one Help Please....

20 Nov at 04:43

How to hide the keyboard when I press return key in a UITextField?

How to hide the keyboard when I press return key in a UITextField? Clicking in a textfield makes the keyboard appear. How do I hide it when the user presses the return key?

Generate JSON string from NSDictionary in iOS

Generate JSON string from NSDictionary in iOS I have a `dictionary` I need to generate a `JSON string` by using `dictionary`. Is it possible to convert it? Can you guys please help on this?

11 Dec at 12:58

How to create border in UIButton?

How to create border in UIButton? I use custom button in my app named "addButton" and I want to border it with white color how can i get the white color border around my custom button?

24 Nov at 15:7

Transition between a standard view and UITabBarController view?

Transition between a standard view and UITabBarController view? What is the cleanest way to set up a structure where you have an initial standard, full screen UIView, which transitions to a Tab Bar vi...

How can I reverse a NSArray in Objective-C?

How can I reverse a NSArray in Objective-C? I need to reverse my `NSArray`. As an example: `[1,2,3,4,5]` must become: `[5,4,3,2,1]` What is the best way to achieve this?

30 Jun at 18:16

Simple maths in Objective-C producing unexpected results

Simple maths in Objective-C producing unexpected results I'm doing the following in Objective-C and expecting 180 as the output but I'm getting 150. Can anyone explain what I'm doing wrong? `(360 / 10...

4 Apr at 14:50

How big of a jump will it be to go from C# to Objective C

How big of a jump will it be to go from C# to Objective C How hard will it be to transfer from my existing expertise in C# to building apps for the iPad/iPhone in Objective C?

14 Apr at 21:31

How do I set bold and italic on UILabel of iPhone/iPad?

How do I set bold and italic on UILabel of iPhone/iPad? How do I set bold and italic on `UILabel` of iPhone/iPad? I searched the forum but nothing helped me. Could anyone help me?

16 Aug at 13:53

iPhone framework three20

iPhone framework three20 What's the best way to customize the Table Items to include two images. I'd like to set one as a background with another layered above it along with text. Any help is much app...

13 Mar at 20:1

ITSAppUsesNonExemptEncryption export compliance while internal testing?

ITSAppUsesNonExemptEncryption export compliance while internal testing? I got this message while selecting build for internal testing.it says about setting in info.plist what does it mean? is it neces...

2 Mar at 05:42

UIView Hide/Show with animation

UIView Hide/Show with animation My simple goal is to fade animate hiding and showing functions. Simple enough. However, is it possible to have it fade out rather than just disappearing? It looks rathe...

7 Apr at 10:29

How do I do base64 encoding on iOS?

How do I do base64 encoding on iOS? I'd like to do `base64` encoding and decoding, but I could not find any support from the iPhone `SDK`. How can I do `base64` encoding and decoding with or without a...

4 Jan at 10:23

Objective C tree data stucture with Core Data support?

Objective C tree data stucture with Core Data support? I am looking for some reference work or tutorial of a persistent objective-c tree? I am trying to build a family tree (genealogy records) app on ...

5 Jul at 10:21

Add animated Gif image in Iphone UIImageView

Add animated Gif image in Iphone UIImageView I need to load an animated Gif image from a URL in UIImageview. When I used the normal code, the image didn't load. Is there any other way to load animated...

3 Jul at 16:52