Skip to main content

Questions tagged [cocoa-touch]

Cocoa Touch is a UI framework for building software programs to run on the iOS operating system from Apple, Inc. It is based on the Mac OSX Cocoa API toolset.

3 votes
1 answer
919 views

I built a wrapper in Swift to practice CoreData. My question is more general, I hope this is acceptable. I wanted to know whether my implementation of this wrapper is correct or poorly implemented ...
Isaac's user avatar
  • 133
3 votes
1 answer
1k views

I am using a toolbar button to present a modal view controller (in which I let the user export data as a PDF file). The main section of my app is a ...
Chris's user avatar
  • 226
2 votes
1 answer
382 views

I have a UIViewController with a Socket Connection established once viewDidLoad. This web socket is a multi-directional ...
Ennabah's user avatar
  • 121
2 votes
1 answer
2k views

I did my code for "Bronze Challenge: Disallow Alphabetic characters" exercise in "iOS programming" book by Big Nerd Ranch (p.85). When I did the exercise I also changed code of func textField which ...
Slava's user avatar
  • 21
4 votes
1 answer
3k views

I have been making a little test app to try and learn Swift 3 / iOS better. I started a while ago with with Swift 2 but stopped, so getting back into it, but there is so much iOS to learn! It seems ...
Jonnny's user avatar
  • 285
1 vote
1 answer
85 views

An app I'm building professionally includes rudimentary text messaging. It allows users to send from the phone, and it polls for new messages (I know, yikes. Push notifications are a future task) with ...
Chris's user avatar
  • 113
2 votes
1 answer
3k views

I've been working on an iOS IOT client app which uses MQTT. After some reading I decided to go with CocoaMQTT. I have only been programming in swift/iOS for about 2 weeks now, so I thought I should ...
user3490458's user avatar
6 votes
1 answer
425 views

In my very specific scenario, I need to get an NSDate holding the next time the hour will be 7 (either AM or PM). On the case that this is the first time to do ...
Aviel Gross's user avatar
1 vote
2 answers
424 views

Being my first time archiving data to the file system, I would like to have my code reviewed. This simple test project works as expected, but I want to see if what I am doing is following best ...
KFP's user avatar
  • 207
3 votes
1 answer
216 views

I recently built a way to automagically dismiss firstResponders for an app I'm building. Is there a more efficient way to approach this? ...
Braydon Batungbacal's user avatar
8 votes
1 answer
443 views

I've been designing UIChessboardView in the likeness of UITableView using protocols and delegates. UIChessboardView.h ...
Literphor's user avatar
  • 183
6 votes
2 answers
3k views

I have a navigation controller set up with a user code and password and a log in button. When the user clicks on the Log In button or the return key on the keyboard on the password text box - the ...
user2961575's user avatar
5 votes
1 answer
3k views

Generally, UI code is painful and full of kludges (at least, mine was like that). Recently I have decided to put an end to it and try to learn how to write good and reusable UI code. So here is the ...
ivanmoskalev's user avatar
6 votes
1 answer
970 views

I have a card matching game with a model of: Card Deck PlayingCard ...
nir's user avatar
  • 161
4 votes
1 answer
729 views

I'm using both Core Data and NSFetchedResultsController. Is there anything I can improve on? ...
ProgramGuy's user avatar

15 30 50 per page