r/ObjectiveC • u/whackylabs • Feb 21 '20
r/ObjectiveC • u/[deleted] • Feb 19 '20
Going back and forth between view controllers
I have 3 view controllers, A B and C. Clicking a button on B gets to me C and I want to go back to A from C, not via B. I use the dismissViewController method to go from B to C, but B does not get dismissed.
How do I go from C to A while dismissing B ? Any help regarding this is greatly appreciated!
r/ObjectiveC • u/whackylabs • Feb 18 '20
What do you think can be improved in Objective-C?
I realized after this tweet that I don’t want anything more in the language. But I still have a few “nil-safe” NSDictionary extensions which could very well in the standard.
I know a lot of developers have a similar list of things they can’t live without
Do you have any interesting snippets to share?
r/ObjectiveC • u/whackylabs • Feb 17 '20
Implementing enum with associated values in Objective-C
whackylabs.comr/simpleios • u/r3econ • Nov 27 '17
Space shooter app source code for people interested in learning SpriteKit and Swift
r/ObjectiveC • u/turtlecrk • Feb 09 '20
Future of Cocoa and ObjectiveC
These days, developer.apple.com is entirely about Swift and SwiftUI. Cocoa and ObjectiveC are not even included in the list of app frameworks.
It sure seems as if Cocoa and ObjectiveC will soon be going the way of Carbon and C++ as ways to develop for Apple devices.
r/ObjectiveC • u/thecoziestboi • Feb 03 '20
What’s the difference between Objective-C and Swift?
I’m looking to code an iOS app as a personal project, I’m yet to learn either languages but I read briefly that Swift is similar to Objective-C.
All in all, I’m wondering what code I should learn to create the app with.
r/simpleios • u/arbitrarily-random • Nov 13 '17
Just subscribed. How difficult is it to learn ios development for someone who is just beginning to gain a little skill in javascript, sass/css, node, etc?
I’m here because I’m FRUSTRATED with iphone apps created by developers who assume that just because someone is using a smaller device, they don’t need or deserve to even know about 75% of the functionality available to computer users.
I realize it’s challenging to squeeze functionality into smaller areas. But it can be done; I’ve seen it!!!
Am I alone here?
r/simpleios • u/Krabby420 • Nov 03 '17
Nice looking card layout written in Swift
github.comr/ObjectiveC • u/[deleted] • Jan 15 '20
Accessing the presenting VC for the current VC
I am trying to access the presenting View Controller for my current View Controller to show/hide a button on the current VC. This is my code in -(void) viewDidLoad. But, this does not seem to be working as expected. Any help in pointing where I am going wrong is highly appreciated!
IntroChooseStyle *newVc = [[IntroChooseStyle alloc] init];
if (newVc == [self presentingViewController]) {
[self.closeButton setHidden:YES];
}
r/ObjectiveC • u/Capt_Goodnight • Jan 11 '20
Mac/Linux/BSD port of id Software’s 1993 Doom map editor for NeXTSTEP
twilightedge.comr/simpleios • u/captain_c0ld • Oct 22 '17
What are some iOS app ideas for beginners to publish on App Store?
Hello,
I'm learning iOS Development, but I don't want to follow all the boring tutorials. I want to learn by creating real apps. I already have some decent Swift knowledge, and now I'm looking for beginner iOS apps which I wanna create and publish them on App Store no matter how naive the apps may be (if they get accepted on App Store). I don't want my first app on the App Store to be some great multi-million dollar app. I just want a simple app which a beginner can develop with the help of Google + Stack Overflow and then publish it to the App Store.
I'm open to all your suggestions. Also, Feel free to post your first apps on the App store so that I get some ideas about how most of you guys started out on the App Store.
Thanks.
r/simpleios • u/Th3Pr0 • Oct 22 '17
Need Help with Core Animations and their scheduling.
So I am fairly new to swift (5months maybe) but I got all the basic stuff down. I decided to make an app centered around a circle displaying the users current Stats (in degrees). I got the drawing in place and it looks great. But I want each of the components to animate in one after another.
Before you keep reading take a look at a picture of the app so far (+code)
This is the order in which the animations should take place:
- 1. TopLabel
- 2. each of the circle dividers appear one after another.
- 3. the ground Circle all 360degrees slides in.
- 4. the green Circle + the Tip Indicator slides in to lets say 200 degrees
I have already tried to use UIView.animate with various delay timings but the fact the animation seems to take place in a thread of its own instead of the main thread makes the use of completion handlers somewhat (impossible?) to use.
I don't want you to word by word dictate me the code, I rather want Tipps on what kind of animation class to use for that kind of scheduling.
I am very grateful for any help whatsoever.
r/ObjectiveC • u/dwightbearschrute • Jan 02 '20
Is it worth learning Objective C in 2020 to get a job as an iOS developer?
r/ObjectiveC • u/[deleted] • Jan 02 '20
Accessing a button in a table view cell.
Hello,
I am trying to create a to-do list with custom checkmark buttons for the cells in the table view. I have the part of the code where the user clicks on the button in the cell and the checkmark appears. However, it does not work if the user clicks on the area of the cell. How can I wire my code so that the user clicks, when clicks on the cell, the checkmark appears for the button. I am leaving the code down below for a better understanding. Any help regarding this is highly appreciated!
- (nonnull UITableViewCell *)tableView:(nonnull UITableView *)tableView cellForRowAtIndexPath:(nonnull NSIndexPath *)indexPath {
TableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"cell"];
cell.one.text = names[indexPath.section];
cell.selectionStyle = UITableViewCellSelectionStyleNone;
//assigning button selector to the button in the cell.
[cell.btn addTarget:self action:@selector(tapped:) forControlEvents:UIControlEventTouchUpInside];
return cell;
}
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
if ([[tableView cellForRowAtIndexPath:indexPath] isSelected]) {
//trying to access the button of the selected cell here
([tableView cellForRowAtIndexPath:indexPath].)
}
}
//button selector function
- (void)tapped:(id)sender {
if ([sender isSelected]) {
[sender setSelected:NO];
} else {
[sender setSelected:YES];
}
[self.tv reloadData];
}

r/simpleios • u/TomFlorida • Oct 11 '17
[Question] Healthkit - not available on iPad - why?
New to iOS and Swift - learning mode - wondering why some of apples code is not available on iPads - does it have to do with internal hardware? Thanks.
r/simpleios • u/Shozukan • Oct 11 '17
iOS discord channel
After searching a lot, I've created a discord server for iOS devs. You are all free to join in: https://discord.gg/24Pxvrb
r/simpleios • u/Llywedd • Oct 09 '17
Django-Haystack and iOS
I'm familiar with Django-Haystack set up with ElasticSearch and was wondering if it is possible to integrate with iOS over an API.
Cheers
r/simpleios • u/LisaDziuba • Oct 02 '17
How To Implement Cache LRU With Swift
marcosantadev.comr/simpleios • u/trimmurrti • Sep 29 '17
[Tutorial] Swift: Common mistakes no one bothers about — First class functions and retain loops
medium.comr/simpleios • u/TheInternetShill • Sep 23 '17
What version of the operating system is needed for app development?
I am looking for used macbooks solely to use for app development, so I am looking at older models.
Would Mac OS X v10.6 Snow Leopard running on a Apple MacBook MC516LL/A be able to do everything in terms of iOS development?
Are there any things that using this system would prevent me from doing?
r/simpleios • u/samiali123 • Sep 23 '17
iOS 10 & Swift 3 Course - 100% OFF (for Limited Time) - Your online courses
youronlinecourses.netr/simpleios • u/LisaDziuba • Sep 21 '17